Re: Need help in performance tuning.

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Harpreet singh Wadhwa" <harpreetsingh(dot)wadhwa(at)gmail(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Need help in performance tuning.
Date: 2010-07-08 20:22:07
Message-ID: 4C35ED1F020000250003329A@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Harpreet singh Wadhwa <harpreetsingh(dot)wadhwa(at)gmail(dot)com> wrote:

> I want to fine tune my postgresql to increase number of connects
> it can handle in a minutes time.
> Decrease the response time per request etc.
> The exact case will be to handle around 100 concurrent requests.

I have found that connection pooling is crucial.

The "concurrent requests" phrase worries me a bit -- you should be
focusing more on "concurrent connections" and perhaps "requests per
second". With most hardware, you will get faster response time and
better overall throughput by funneling 100 connections through a
connection pool which limits the number of concurrent requests to
just enough to keep all your hardware resources busy, queuing any
requests beyond that for submission when a pending request
completes.

> Any hardware suggestions are also welcomed.

If you don't have the hardware yet, you'd need to provide a bit more
information to get advice on what hardware you need.

-Kevin

Browse pgsql-performance by date

  From Date Subject
Next Message Craig James 2010-07-08 21:01:34 Re: performance on new linux box
Previous Message Kevin Grittner 2010-07-08 20:14:26 Re: [Slony1-general] WAL partition overloaded--by autovacuum?