From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-performance@postgresql.org
Subject: Re: SELECT's take a long time compared to other DBMS
Date: Wed, 03 Sep 2003 23:24:19 -0400
Message-ID: <m33cfd6xss.fsf@chvatal.cbbrowne.com> (raw)
References: <bj611t$1o2g$1@news.hub.org>
<1062637505.84923.7.camel@jester>
<bj64b2$23nc$1@news.hub.org>
In the last exciting episode, "Relaxin" <me@yourhouse.com> wrote:
> All queries were ran on the SERVER for all of the databases I tested.
Queries obviously run "on the server." That's kind of the point of
the database system being a "client/server" system.
The question is what client program(s) you used to process the result
sets. I'd be surprised to see any client process 100K records in any
meaningful way in much less than 30 seconds. Rendering that much data
into a console will take some time. Drawing it into cells on a GUI
window will take a lot more time.
Supposing you were using a graphical client, it would be unsurprising
for it to have submitted something equivalent to "limit 30 rows" (or
whatever you can display on screen), and defer further processing 'til
later. If that were the case, then 26s to process the whole thing
would be a lot more efficient than 5-6s to process a mere 30 rows...
> This is all resulting data for all of the databases that I tested.
You seem to have omitted "all resulting data."
--
If this was helpful, <http://svcs.affero.net/rm.php?r=cbbrowne; rate me
http://www.ntlug.org/~cbbrowne/sap.html
"Women who seek to be equal to men lack ambition. "
-- Timothy Leary
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: cbbrowne@acm.org
Subject: Re: SELECT's take a long time compared to other DBMS
In-Reply-To: <m33cfd6xss.fsf@chvatal.cbbrowne.com>
References: <bj611t$1o2g$1@news.hub.org> <1062637505.84923.7.camel@jester> <bj64b2$23nc$1@news.hub.org> <m33cfd6xss.fsf@chvatal.cbbrowne.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