pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kostyrka <andreas@kostyrka.org>
To: AMIR FRANCO D. JOVEN <amir@digi.ph>
Cc: pgsql-performance@postgresql.org
Subject: Re: Slow SELECT on three or more clients
Date: Wed, 15 Nov 2006 14:29:09 +0100
Message-ID: <20061115132909.GA22673@andi-lap.la.revver.com> (raw)
In-Reply-To: <e38bba340611150337r1c9a895nd99d95ca8408b88c@mail.gmail.com>
References: <e38bba340611150337r1c9a895nd99d95ca8408b88c@mail.gmail.com>

* AMIR FRANCO D. JOVEN <amir@digi.ph> [061115 12:44]:
> Hi!
> 
> Im new to PostgreSQL.
> 
> My current project uses PostgreSQL 7.3.4.
Ancient. Upgrade it, especially if it's a new database.

> 
> 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.
That depends upon:
a) your table schema.
b) the data in the tables. E.g. how big are rows, how many rows.
c) the size of the result sets.
d) your indexes?

Andreas



view thread (7+ messages)  latest in thread

Message-ID: <20061115132909.GA22673@andi-lap.la.revver.com>
Permalink:  ../20061115132909.GA22673@andi-lap.la.revver.com/
Also on:    postgresql.org/message-id/20061115132909.GA22673@andi-lap.la.revver.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andreas@kostyrka.org, amir@digi.ph
  Subject: Re: Slow SELECT on three or more clients
  In-Reply-To: <20061115132909.GA22673@andi-lap.la.revver.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