Skip site navigation (1) Skip section navigation (2)

Re: optimizar consulta

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: Gabriel Ferro <gabrielrferro(at)yahoo(dot)com(dot)ar>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: optimizar consulta
Date: 2009-03-28 21:10:21
Message-ID: 3073cc9b0903281410j256b849raae87b715f5b9e4e@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
2009/3/28 Gabriel Ferro <gabrielrferro(at)yahoo(dot)com(dot)ar>:
>
> "                          Hash Cond: (personaloc.claveper = buscarexacta_persona.clave)"
> "                          ->  Seq Scan on personaloc  (cost=0.00..590170.10 rows=19716510 width=23) (actual time=0.020..76586.971 rows=19716510 loops=1)"

parece bastante obvio que aqui tienes un problema, hay un indice en
personaloc.claveper? sino, prueba a crear uno

-- 
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

In response to

Responses

pgsql-es-ayuda by date

Next:From: Gabriel FerroDate: 2009-03-28 22:07:02
Subject: Re: optimizar consulta
Previous:From: Gabriel FerroDate: 2009-03-28 20:24:32
Subject: Re: optimizar consulta

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group