Re: Using "LIMIT" is much faster even though, searching with PK. - Mailing list pgsql-performance

From Tom Lane
Subject Re: Using "LIMIT" is much faster even though, searching with PK.
Date
Msg-id 1390.1101875171@sss.pgh.pa.us
Whole thread Raw
In response to Using "LIMIT" is much faster even though, searching with PK.  (장현성 <siche@siche.net>)
Responses Re: Using "LIMIT" is much faster even though, searching
List pgsql-performance
=?UTF-8?B?7J6l7ZiE7ISx?= <siche@siche.net> writes:
> but, sequence scan, as you see above result, there is big time
> difference between using LIMIT and without using it.

You've got a table full of dead rows.  Try VACUUM FULL ...

            regards, tom lane

pgsql-performance by date:

Previous
From: "Iain"
Date:
Subject: Re: FW: Index usage
Next
From: "Hyun-Sung, Jang"
Date:
Subject: Re: Using "LIMIT" is much faster even though, searching