From: | Doug McNaught <doug(at)wireboard(dot)com> |
---|---|
To: | Fran Fabrizio <ffabrizio(at)exchange(dot)webmd(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Re: Stranger than fiction - EXPLAIN results |
Date: | 2001-05-02 19:38:06 |
Message-ID: | m34rv3o82p.fsf@belphigor.mcnaught.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Fran Fabrizio <ffabrizio(at)exchange(dot)webmd(dot)net> writes:
> Seq Scan on status s (cost=0.00..9.04 rows=1 width=84)
>
> 010502.11:24:05.003 [3029] CommitTransactionCommand
>
> Which is incorrect because it should be using my index, shouldn't
> it? Here is how I created my index:
If a table is small (you have ~200 rows in it, right?) a sequential
scan will usually win even when there is an index. Enjoy your
improved query time and be happy. ;)
-Doug
--
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time... --Dylan
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Koch | 2001-05-02 19:52:57 | DROP TABLE wildcard |
Previous Message | Gregory Wood | 2001-05-02 19:34:00 | Re: update ... from where id in (..) question |