From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Paolo Lopez <murphyperu(at)gmail(dot)com> |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Problema Order By en PosgreSQL 8.1 |
Date: | 2006-04-07 22:31:37 |
Message-ID: | 20060407223137.GA13566@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-es-ayuda |
Paolo Lopez escribió:
> > Envia el EXPLAIN ANALYZE, y verifica
>
> El EXPLAIN salé :
>
> Sort (cost=2.96..3.06 rows=40 width=8) (actual time=0.338..0.375
> rows=40 loops=1)
> Sort Key: iddia, numhora
> -> Seq Scan on tablita (cost=0.00..1.90 rows=40 width=8) (actual
> time=0.028..0.188 rows=40 loops=1)
> Filter: ((campoa = 1) AND (campob = 1) AND (campoc = 1) AND
> (campod = 1) AND (campoe = 1))
> Total runtime: 0.501 ms
Pero no pusiste el
SET enable_seqscan TO off;
que es importante para que vuelva a ejecutar usando el indice. Por
favor ponlo y haz la prueba nuevamente.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2006-04-07 22:32:31 | Re: Problema Order By en PosgreSQL 8.1 |
Previous Message | Genaro Gambino | 2006-04-07 22:30:37 | BUG #2382: Fail ODBC Connection |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2006-04-07 22:32:31 | Re: Problema Order By en PosgreSQL 8.1 |
Previous Message | Paolo Lopez | 2006-04-07 21:33:47 | Re: Problema Order By en PosgreSQL 8.1 |