Re: Need help in performance tuning.

Поиск
Список
Период
Сортировка
Искать
От
Hannu Krosing
Тема
Re: Need help in performance tuning.
Дата
Msg-id
1279119291.3888.5.camel@hvost
Ответ на
Список
Дерево обсуждения
Need help in performance tuning. Harpreet singh Wadhwa <harpreetsingh.wadhwa@gmail.com>
Re: Need help in performance tuning. Craig Ringer <craig@postnewspapers.com.au>
Re: Need help in performance tuning. Samuel Gendler <sgendler@ideasculptor.com>
Re: Need help in performance tuning. Tom Lane <tgl@sss.pgh.pa.us>
Re: Need help in performance tuning. Hannu Krosing <hannu@2ndquadrant.com>
Re: Need help in performance tuning. Scott Marlowe <scott.marlowe@gmail.com>
Re: Need help in performance tuning. "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Need help in performance tuning. Hannu Krosing <hannu@2ndquadrant.com>
Re: Need help in performance tuning. Brad Nicholson <bnichols@ca.afilias.info>
Re: Need help in performance tuning. "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Need help in performance tuning. Matthew Wakeling <matthew@flymine.org>
Re: Need help in performance tuning. "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Need help in performance tuning. Matthew Wakeling <matthew@flymine.org>
Re: Need help in performance tuning. "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Need help in performance tuning. "Jorge Montero" <jorge_montero@homedecorators.com>
Re: Need help in performance tuning. "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Need help in performance tuning. Greg Smith <greg@2ndquadrant.com>
Re: Need help in performance tuning. "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Pooling in Core WAS: Need help in performance tuning. Josh Berkus <josh@agliodbs.com>
Re: Pooling in Core WAS: Need help in performance tuning. Craig Ringer <craig@postnewspapers.com.au>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Josh Berkus <josh@agliodbs.com>
Re: Pooling in Core WAS: Need help in performance tuning. Tom Lane <tgl@sss.pgh.pa.us>
Re: Pooling in Core WAS: Need help in performance tuning. Dimitri Fontaine <dfontaine@hi-media.com>
Re: Pooling in Core WAS: Need help in performance tuning. Magnus Hagander <magnus@hagander.net>
Re: Pooling in Core WAS: Need help in performance tuning. Matthew Wakeling <matthew@flymine.org>
Re: Pooling in Core WAS: Need help in performance tuning. Craig Ringer <craig@postnewspapers.com.au>
Re: Pooling in Core WAS: Need help in performance tuning. Hannu Krosing <hannu@2ndquadrant.com>
Re: Pooling in Core WAS: Need help in performance tuning. "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Pooling in Core WAS: Need help in performance tuning. Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Hannu Krosing <hannu@krosing.net>
Re: Pooling in Core WAS: Need help in performance tuning. Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Greg Smith <greg@2ndquadrant.com>
Re: Pooling in Core WAS: Need help in performance tuning. Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Tatsuo Ishii <ishii@postgresql.org>
Re: Pooling in Core WAS: Need help in performance tuning. Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Tatsuo Ishii <ishii@postgresql.org>
Re: Pooling in Core WAS: Need help in performance tuning. Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Andres Freund <andres@anarazel.de>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Tom Lane <tgl@sss.pgh.pa.us>
Re: Pooling in Core WAS: Need help in performance tuning. Craig Ringer <craig@postnewspapers.com.au>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Tom Lane <tgl@sss.pgh.pa.us>
Re: Pooling in Core WAS: Need help in performance tuning. Vitalii Tymchyshyn <tivv00@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Josh Berkus <josh@agliodbs.com>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Tom Lane <tgl@sss.pgh.pa.us>
Re: Pooling in Core WAS: Need help in performance tuning. Andres Freund <andres@anarazel.de>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Josh Berkus <josh@agliodbs.com>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Tom Lane <tgl@sss.pgh.pa.us>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. "Joshua D. Drake" <jd@commandprompt.com>
Re: Pooling in Core WAS: Need help in performance tuning. "Joshua D. Drake" <jd@commandprompt.com>
Re: Pooling in Core WAS: Need help in performance tuning. Hannu Krosing <hannu@2ndquadrant.com>
Re: Pooling in Core WAS: Need help in performance tuning. "Joshua D. Drake" <jd@commandprompt.com>
Re: Pooling in Core WAS: Need help in performance tuning. "Joshua D. Drake" <jd@commandprompt.com>
Re: Pooling in Core WAS: Need help in performance tuning. Hannu Krosing <hannu@2ndquadrant.com>
Re: Pooling in Core WAS: Need help in performance tuning. Hannu Krosing <hannu@krosing.net>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Hannu Krosing <hannu@krosing.net>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Andres Freund <andres@anarazel.de>
Re: Pooling in Core WAS: Need help in performance tuning. Craig Ringer <craig@postnewspapers.com.au>
Re: Pooling in Core WAS: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Scott Carey <scott@richrelevance.com>
Re: Pooling in Core WAS: Need help in performance tuning. Joshua Tolley <eggyknap@gmail.com>
Re: Pooling in Core WAS: Need help in performance tuning. Greg Smith <greg@2ndquadrant.com>
Re: Pooling in Core WAS: Need help in performance tuning. Andres Freund <andres@anarazel.de>
Re: Pooling in Core WAS: Need help in performance tuning. Craig Ringer <craig@postnewspapers.com.au>
Re: Pooling in Core WAS: Need help in performance tuning. Hannu Krosing <hannu@2ndquadrant.com>
Re: Pooling in Core WAS: Need help in performance tuning. Dimitri Fontaine <dfontaine@hi-media.com>
Re: Pooling in Core WAS: Need help in performance tuning. Scott Carey <scott@richrelevance.com>
Re: Pooling in Core WAS: Need help in performance tuning. Samuel Gendler <sgendler@ideasculptor.com>
Re: Need help in performance tuning. Jesper Krogh <jesper@krogh.cc>
Re: Need help in performance tuning. Greg Smith <greg@2ndquadrant.com>
Re: Need help in performance tuning. "Pierre C" <lists@peufeu.com>
Re: Need help in performance tuning. Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: Need help in performance tuning. Craig Ringer <craig@postnewspapers.com.au>
Re: Need help in performance tuning. Bruce Momjian <bruce@momjian.us>
Re: Need help in performance tuning. Craig Ringer <craig@postnewspapers.com.au>
Re: Need help in performance tuning. Harpreet singh Wadhwa <harpreetsingh.wadhwa@gmail.com>
Re: Need help in performance tuning. Harpreet singh Wadhwa <harpreet@openbravo.com>
Re: Need help in performance tuning. "Jorge Montero" <jorge_montero@homedecorators.com>
Re: Need help in performance tuning. Robert Haas <robertmhaas@gmail.com>
On Wed, 2010-07-14 at 08:58 -0500, Kevin Grittner wrote:
> Scott Marlowe  wrote:
> > Hannu Krosing  wrote:
> >> One example where you need a separate connection pool is pooling
> >> really large number of connections, which you may want to do on
> >> another host than the database itself is running.
> > 
> > Definitely.  Often it's best placed on the individual webservers
> > that are making requests, each running its own pool.
>  
> Each running its own pool?  You've just made a case for an
> admissions policy based on active database transactions or active
> queries (or both) on the server having a benefit when used with this
> pooling arrangement.  This collection of pools can't know when the
> CPUs have enough to keep them busy and adding more will degrade
> performance.

I guess this setup is for OLTP load (read "lots of short transactions
with low timeout limits"), where you can just open 2-5 connections per
CPU for mostly-in-memory database, maybe a little more when disk
accesses are involved. If you have more, then they just wait a few
milliseconds, if you have less, you don't have anything else to run
anyway.


-- 
Hannu Krosing   http://www.2ndQuadrant.com
PostgreSQL Scalability and Availability 
   Services, Consulting and Training


В списке pgsql-performance по дате отправления
От: Kevin Grittner
Дата:
От: Ivan Voras
Дата:
FAQ