Re: Using "LIMIT" is much faster even though, searching with PK.

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: 장현성 <siche@siche.net>
Cc: pgsql-performance@postgresql.org
Date: 2004-12-01T04:26:11Z
Lists: 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