From: Bruce Momjian <maillist@candle.pha.pa.us>
To: eric@linux-hw.com
Cc: scrappy@hub.org
Cc: jeff@remapcorp.com
Cc: hackers@postgreSQL.org
Subject: Re: [HACKERS] What about LIMIT in SELECT ?
Date: Tue, 13 Oct 1998 20:47:01 -0400 (EDT)
Message-ID: <199810140047.UAA13304@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.3.96.981013182907.31202A-100000@ireland.linux-hw.com>
> Whereas with the SELECT...LIMIT paradigm, the database engine does NOT
> process the entire huge query, it quits processing once it reaches the
> limit. (Well, at least MySQL does so, if you happen to be using an
> "ORDER BY" supported by an index). Obviously doing 1/4th the work four times
> is better than doing the whole tamale four times :-}.
And no join, I assume.
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: maillist@candle.pha.pa.us, eric@linux-hw.com, scrappy@hub.org, jeff@remapcorp.com, hackers@postgreSQL.org
Subject: Re: [HACKERS] What about LIMIT in SELECT ?
In-Reply-To: <199810140047.UAA13304@candle.pha.pa.us>
References: <Pine.LNX.3.96.981013182907.31202A-100000@ireland.linux-hw.com> <199810140047.UAA13304@candle.pha.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