From: Alain <alainm@pobox.com>
To: Sql-Postgre <pgsql-sql@postgresql.org>
Subject: Re: SELECT very slow
Date: Wed, 08 Jun 2005 22:13:25 -0300
Message-ID: <42A797B5.3060300@pobox.com> (raw)
In-Reply-To: <27961.1118275606@sss.pgh.pa.us>
References: <d87ood$8vq$1@sea.gmane.org>
<27961.1118275606@sss.pgh.pa.us>
Tom Lane escreveu:
> Thomas Kellerer <spam_eater@gmx.net> writes:
>
>>Is there anything I can do, to convince PG to return the first row more
>>quickly?
Are you now looking for the LIMIT ?
SELECT * FROM table LIMIT 1;
and when when you wnat the rest of it:
SELECT * FROM table OFFSET 1;
Alain
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-sql@postgresql.org
Cc: alainm@pobox.com
Subject: Re: SELECT very slow
In-Reply-To: <42A797B5.3060300@pobox.com>
* 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