pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Relaxin <noname@spam.com>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: SELECT's take a long time compared to other DBMS
Date: Thu, 04 Sep 2003 22:32:23 -0400
Message-ID: <1062729142.364.20.camel@tokyo> (raw)
In-Reply-To: <bj8rfn$1hep$1@news.hub.org>
References: <bj611t$1o2g$1@news.hub.org>
	<bj7tlm$ngt$1@news.hub.org>
	<bj8h0o$dq4$1@news.hub.org>
	<m3fzjc58ll.fsf@chvatal.cbbrowne.com>
	<bj8rfn$1hep$1@news.hub.org>

On Thu, 2003-09-04 at 22:13, Relaxin wrote:
> Finally, someone who will actually assume/admit that it is returning the
> entire result set to the client.
> Where as other DBMS manage the records at the server.

Is there a reason you can't use cursors (explicitely, or via ODBC if it
provides some glue on top of them) to keep the result set on the server?

http://candle.pha.pa.us/main/writings/pgsql/sgml/sql-declare.html
http://candle.pha.pa.us/main/writings/pgsql/sgml/sql-fetch.html

> The next one is the handling of BLOBS.  PG handles them like no other system
> I have ever come across.

Just FYI, you can use both the lo_*() functions, as well as simple
bytea/text columns (which can be very large in PostgreSQL).

-Neil





view thread (34+ messages)  latest in thread

Message-ID: <1062729142.364.20.camel@tokyo>
Permalink:  ../1062729142.364.20.camel@tokyo/
Also on:    postgresql.org/message-id/1062729142.364.20.camel@tokyo

 · 

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: neilc@samurai.com, noname@spam.com
  Subject: Re: SELECT's take a long time compared to other DBMS
  In-Reply-To: <1062729142.364.20.camel@tokyo>
  References: <bj611t$1o2g$1@news.hub.org> <bj7tlm$ngt$1@news.hub.org> <bj8h0o$dq4$1@news.hub.org> <m3fzjc58ll.fsf@chvatal.cbbrowne.com> <bj8rfn$1hep$1@news.hub.org> <1062729142.364.20.camel@tokyo>

* 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