pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Relaxin <me@yourhouse.com>
To: pgsql-performance@postgresql.org
Subject: SELECT's take a long time compared to other DBMS
Date: Wed, 3 Sep 2003 17:28:26 -0700
Message-ID: <bj611t$1o2g$1@news.hub.org> (raw)

I have a table with 102,384 records in it, each record is 934 bytes.

Using the follow select statement:
  SELECT * from <table>

PG Info: version 7.3.4 under cygwin on Windows 2000
ODBC: version 7.3.100

Machine: 500 Mhz/ 512MB RAM / IDE HDD


Under PG:  Data is returned in 26 secs!!
Under SQL Server:  Data is returned in 5 secs.
Under SQLBase:     Data is returned in 6 secs.
Under SAPDB:        Data is returned in 7 secs.

This is the ONLY table in the database and only 1 user.

And yes I did a vacuum.

Is this normal behavior for PG?

Thanks





view thread (34+ messages)  latest in thread

Message-ID: <bj611t$1o2g$1@news.hub.org>
Permalink:  ../bj611t$1o2g$1@news.hub.org/
Also on:    postgresql.org/message-id/bj611t$1o2g$1@news.hub.org

 · 

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: me@yourhouse.com
  Subject: Re: SELECT's take a long time compared to other DBMS
  In-Reply-To: <bj611t$1o2g$1@news.hub.org>
  References: <bj611t$1o2g$1@news.hub.org>

* 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