From: AMIR FRANCO D. JOVEN <amir@digi.ph>
To: pgsql-performance@postgresql.org
Subject: Slow SELECT on three or more clients
Date: Wed, 15 Nov 2006 19:37:56 +0800
Message-ID: <e38bba340611150337r1c9a895nd99d95ca8408b88c@mail.gmail.com> (raw)
Hi!
Im new to PostgreSQL.
My current project uses PostgreSQL 7.3.4.
the problem is like this:
I have a table with 94 fields and a select with only one resultset in only
one client consumes about 0.86 seconds.
The client executes three 'select' statements to perform the task which
consumes 2.58 seconds.
With only one client this is acceptable, but the real problem is as i add
more clients, it goes more and more slower.
for a single select with one field in one resultset, is 0.86 seconds normal?
I tried vacuuming and reindexing but to no avail.
the total record count in that particular table is 456,541.
Thanks in advance.
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: amir@digi.ph
Subject: Re: Slow SELECT on three or more clients
In-Reply-To: <e38bba340611150337r1c9a895nd99d95ca8408b88c@mail.gmail.com>
References: <e38bba340611150337r1c9a895nd99d95ca8408b88c@mail.gmail.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