From: Tom Lane <tgl@sss.pgh.pa.us>
To: 장현성 <siche@siche.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Using "LIMIT" is much faster even though, searching with PK.
Date: Tue, 30 Nov 2004 23:26:11 -0500
Message-ID: <1390.1101875171@sss.pgh.pa.us> (raw)
In-Reply-To: <41AD4433.1030909@siche.net>
References: <41AD4433.1030909@siche.net>
=?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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, siche@siche.net
Subject: Re: Using "LIMIT" is much faster even though, searching with PK.
In-Reply-To: <1390.1101875171@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox