pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Subject: Re: SELECT's take a long time compared to other DBMS
Date: Thu, 04 Sep 2003 13:30:51 +0530
Message-ID: <3F573E8B.31916.A1063F8@localhost> (raw)
In-Reply-To: <bj6qoa$1jln$1@news.hub.org>

On 4 Sep 2003 at 0:48, Relaxin wrote:
> All of the databases that I tested the query against gave me immediate
> access to ANY row of the resultset once the data had been returned.
> Ex. If  I'm currently at the first row and then wanted to goto the 100,000
> row, I would be there immediately, and if I wanted to then goto the 5
> row...same thing, I have the record immediately!
> 
> The other databases I tested against stored the entire resultset on the
> Server, I'm not sure what PG does...It seems that brings the entire
> resultset client side.
> If that is the case, how can I have PG store the resultset on the Server AND
> still allow me immediate access to ANY row in the resultset?

You can use a cursor and get only required rows.


Bye
 Shridhar

--
Nick the Greek's Law of Life:	All things considered, life is 9 to 5 against.




view thread (34+ messages)  latest in thread

Message-ID: <3F573E8B.31916.A1063F8@localhost>
Permalink:  ../3F573E8B.31916.A1063F8@localhost/
Also on:    postgresql.org/message-id/3F573E8B.31916.A1063F8@localhost

 · 

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-performance@postgresql.org
  Cc: shridhar_daithankar@persistent.co.in
  Subject: Re: SELECT's take a long time compared to other DBMS
  In-Reply-To: <3F573E8B.31916.A1063F8@localhost>
  References: <bj6qoa$1jln$1@news.hub.org> <3F573E8B.31916.A1063F8@localhost>

* 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