pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: selvi88 <selvi.dct@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: postgres performance tunning
Date: Fri, 17 Dec 2010 08:20:19 -0500
Message-ID: <4D0B6393.8010400@2ndquadrant.com> (raw)
In-Reply-To: <1292502787617-3307846.post@n5.nabble.com>
References: <1292502787617-3307846.post@n5.nabble.com>

selvi88 wrote:
>         I have a requirement for running more that 15000 queries per second.
> Can you please tell what all are the postgres parameters needs to be changed
> to achieve this. 
>         Already I have 17GB RAM and dual core processor and this machine is
> dedicated for database operation. 
>   

You can find a parameter tuning guide at 
http://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server that may 
help you out.

You are unlikely to hit 15K queries/second with a dual core processor.  
When I run really trivial queries using the pgbench program to simulate 
database activity, that normally gives about 7K queries/second/core.  My 
dual-core laptop will do 13K/second for example.  And real-world queries 
tend to be a bit more intensive than that.  I would normally expect that 
a quad-core system would be needed to reach 15K even with trivial 
queries; my quad-core server at home will do 28K queries/second running 
pgbench.  If your individual cores are really fast, you might just make it.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services and Support        www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books




view thread (14+ messages)  latest in thread

Message-ID: <4D0B6393.8010400@2ndquadrant.com>
Permalink:  ../4D0B6393.8010400@2ndquadrant.com/
Also on:    postgresql.org/message-id/4D0B6393.8010400@2ndquadrant.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: greg@2ndquadrant.com, selvi.dct@gmail.com
  Subject: Re: postgres performance tunning
  In-Reply-To: <4D0B6393.8010400@2ndquadrant.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