SQL Query - Performance Problem

From: "Dean Sheppard" <dean(dot)sheppard(at)rogers(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: SQL Query - Performance Problem
Date: 2004-03-07 23:54:12
Message-ID: 024801c4049f$7d76def0$6400a8c0@server
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi All,

I have a postgres SQL Table which contains 30 Million Records. It is a simple flat table with 4 columns. Each column has an index and I select from this table using a single column at any time.

Here's the problem. A simple select statement takes upto 30 seconds to respond, if I add in connection pooling and 15 - 20 concurrent requests the responses are now 15-20 minutes!! I have no idea what the tuning options may be, but I need to get these queries running in 30 seconds or so.

Any ideas?

Regards,
Dean.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Bruno Wolff III 2004-03-08 04:42:12 Re: postgresql already installed? version?
Previous Message Tom Lane 2004-03-07 03:48:12 Re: installing pgsql