pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Jewiss <Mark.Jewiss@knowledge.com>
To: Oleg Bartunov <oleg@sai.msu.su>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Limit rows
Date: Wed, 29 Sep 1999 17:09:14 +0100 (BST)
Message-ID: <Pine.BSO.4.10.9909291706390.5608-100000@office.knowledge.com> (raw)
In-Reply-To: <Pine.GSO.3.96.SK.990929195544.16613A-100000@ra>

Hello,

On Wed, 29 Sep 1999, Oleg Bartunov wrote:

> select * from table  limit 5,10;

Excellent, that works perfectly. I've done a grep over the html
documentation, and can't see anything regarding the limit feature (if I've
just missed it and it is there could someone provide a pointer please?).

I'm interested now in how this method actually works - is a query
performed that reads all of the rows of a table into memory, and then the
non-requested rows are discarded before the results are sent back?

I'm interested in how this would work with a massive table......

Regards,

Mark.
-- 
Mark Jewiss
Knowledge Matters Limited
http://www.knowledge.com




view thread (8+ messages)  latest in thread

Message-ID: <Pine.BSO.4.10.9909291706390.5608-100000@office.knowledge.com>
Permalink:  ../Pine.BSO.4.10.9909291706390.5608-100000@office.knowledge.com/
Also on:    postgresql.org/message-id/Pine.BSO.4.10.9909291706390.5608-100000@office.knowledge.com

 · 

reply

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-sql@postgresql.org
  Cc: Mark.Jewiss@knowledge.com, oleg@sai.msu.su
  Subject: Re: [SQL] Limit rows
  In-Reply-To: <Pine.BSO.4.10.9909291706390.5608-100000@office.knowledge.com>
  References: <Pine.GSO.3.96.SK.990929195544.16613A-100000@ra> <Pine.BSO.4.10.9909291706390.5608-100000@office.knowledge.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