pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Matthew Wakeling <matthew@flymine.org>
Cc: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Pooling in Core WAS: Need help in performance tuning.
Date: Mon, 19 Jul 2010 00:06:24 +0530
Message-ID: <AANLkTimvb3_r6cMXtCsPPnXx0aTsTmiebRQyL6tSlppu@mail.gmail.com> (raw)
In-Reply-To: <AANLkTilGyVsJMmijtclOe9inUHt7emsvKdN-5Keo-DUz@mail.gmail.com>
References: <AANLkTiknhZhKtGDidBsMWtPJpRgln9DrrsCebCEYk5XE@mail.gmail.com>
	<4C369346.6010501@postnewspapers.com.au>
	<AANLkTin4Q4APRnbJ85FRasU7n8LuhKibKYcGnexsEbTt@mail.gmail.com>
	<8760.1278650566@sss.pgh.pa.us>
	<1278680186.1914.36.camel@bnicholson-desktop>
	<4C36F57102000025000332F6@gw.wicourts.gov>
	<alpine.DEB.2.00.1007091621380.2534@aragorn.flymine.org>
	<4C36FEAD02000025000332FC@gw.wicourts.gov>
	<alpine.DEB.2.00.1007091753350.2534@aragorn.flymine.org>
	<4C37A9C1.1060405@2ndquadrant.com>
	<4C37791C0200002500033379@gw.wicourts.gov>
	<4C37CBFB.1000800@agliodbs.com>
	<4C37EA1D.6000008@postnewspapers.com.au>
	<AANLkTimNJZlX7kFH_r0-BB_K3NGorU7BHd85SxXJbuGJ@mail.gmail.com>
	<4C38BF03.6060503@agliodbs.com>
	<19244.1278787866@sss.pgh.pa.us>
	<alpine.DEB.2.00.1007121044330.2534@aragorn.flymine.org>
	<4C3AF564.5030204@postnewspapers.com.au>
	<4C3AC73002000025000333ED@gw.wicourts.gov>
	<AANLkTinY4o4EgM7TrYm-CvRwhBqMYbnIBjmZKzIdtq2L@mail.gmail.com>
	<4C43391B.1040600@2ndquadrant.com>
	<AANLkTilGyVsJMmijtclOe9inUHt7emsvKdN-5Keo-DUz@mail.gmail.com>

Looks like ,

pgbench cannot be used for testing with pgbouncer if number of
pgbench clients exceeds pool_size + reserve_pool_size of pgbouncer.
pgbench keeps waiting doing nothing. I am using pgbench  of postgresql 8.1.
Are there changes to pgbench in this aspect ?

regds
Rajesh Kumar Mallah.

On Sun, Jul 18, 2010 at 11:38 PM, Rajesh Kumar Mallah <
mallah.rajesh@gmail.com> wrote:

>
>
> On Sun, Jul 18, 2010 at 10:55 PM, Greg Smith <greg@2ndquadrant.com> wrote:
>
>> Rajesh Kumar Mallah wrote:
>>
>>> the no of clients was 10 ( -c 10)  carrying out 10000 transactions each
>>> (-t 10000) .
>>> pgbench db was initilised with scaling  factor -s 100.
>>>
>>> since client count was less there was no queuing of requests in pgbouncer
>>> i would prefer to say  it was in 'passthrough' mode.
>>>
>>
>> Of course pgbouncer is going decrease performance in this situation.
>>  You've added a whole layer to things that all traffic has to pass through,
>> without a setup that gains any benefit from the connection pooling.  Try
>> making the client count 1000 instead if you want a useful test.
>>
>
> Dear Greg,
>
> my  max_client is 300 shall i test  with client count 250 ?
> if so what should be the scaling factor while initializing
> the pgbench db?
>
>
>> --
>> Greg Smith  2ndQuadrant US  Baltimore, MD
>> PostgreSQL Training, Services and Support
>> greg@2ndQuadrant.com   www.2ndQuadrant.us
>>
>>
>

view thread (59+ messages)  latest in thread

Message-ID: <AANLkTimvb3_r6cMXtCsPPnXx0aTsTmiebRQyL6tSlppu@mail.gmail.com>
Permalink:  ../AANLkTimvb3_r6cMXtCsPPnXx0aTsTmiebRQyL6tSlppu@mail.gmail.com/
Also on:    postgresql.org/message-id/AANLkTimvb3_r6cMXtCsPPnXx0aTsTmiebRQyL6tSlppu@mail.gmail.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 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: mallah.rajesh@gmail.com, greg@2ndquadrant.com, Kevin.Grittner@wicourts.gov, matthew@flymine.org, craig@postnewspapers.com.au
  Subject: Re: Pooling in Core WAS: Need help in performance tuning.
  In-Reply-To: <AANLkTimvb3_r6cMXtCsPPnXx0aTsTmiebRQyL6tSlppu@mail.gmail.com>
  References: <AANLkTiknhZhKtGDidBsMWtPJpRgln9DrrsCebCEYk5XE@mail.gmail.com> <8760.1278650566@sss.pgh.pa.us> <1278680186.1914.36.camel@bnicholson-desktop> <4C36F57102000025000332F6@gw.wicourts.gov> <alpine.DEB.2.00.1007091621380.2534@aragorn.flymine.org> <4C36FEAD02000025000332FC@gw.wicourts.gov> <alpine.DEB.2.00.1007091753350.2534@aragorn.flymine.org> <4C37A9C1.1060405@2ndquadrant.com> <4C37791C0200002500033379@gw.wicourts.gov> <4C37CBFB.1000800@agliodbs.com> <4C37EA1D.6000008@postnewspapers.com.au> <AANLkTimNJZlX7kFH_r0-BB_K3NGorU7BHd85SxXJbuGJ@mail.gmail.com> <4C38BF03.6060503@agliodbs.com> <19244.1278787866@sss.pgh.pa.us> <alpine.DEB.2.00.1007121044330.2534@aragorn.flymine.org> <4C3AF564.5030204@postnewspapers.com.au> <4C3AC73002000025000333ED@gw.wicourts.gov> <AANLkTinY4o4EgM7TrYm-CvRwhBqMYbnIBjmZKzIdtq2L@mail.gmail.com> <4C43391B.1040600@2ndquadrant.com> <AANLkTilGyVsJMmijtclOe9inUHt7emsvKdN-5Keo-DUz@mail.gmail.com> <AANLkTimvb3_r6cMXtCsPPnXx0aTsTmiebRQyL6tSlppu@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