Re: Deterioration in performance when query executed in multi threads

Поиск
Список
Период
Сортировка
Искать
От
ktm@rice.edu
Тема
Re: Deterioration in performance when query executed in multi threads
Дата
в 16:27:00
Msg-id
20130501162650.GI27807@aart.rice.edu
Ответ на
Список
Дерево обсуждения
Deterioration in performance when query executed in multi threads Anne Rosset <arosset@collab.net>
Re: Deterioration in performance when query executed in multi threads "ktm@rice.edu" <ktm@rice.edu>
Re: Deterioration in performance when query executed in multi threads Anne Rosset <arosset@collab.net>
Re: Deterioration in performance when query executed in multi threads "ktm@rice.edu" <ktm@rice.edu>
Re: Deterioration in performance when query executed in multi threads Anne Rosset <arosset@collab.net>
Re: Deterioration in performance when query executed in multi threads Igor Neyman <ineyman@perceptron.com>
Re: Deterioration in performance when query executed in multi threads Anne Rosset <arosset@collab.net>
Re: Deterioration in performance when query executed in multi threads Igor Neyman <ineyman@perceptron.com>
Re: Deterioration in performance when query executed in multi threads Anne Rosset <arosset@collab.net>
Re: Deterioration in performance when query executed in multi threads Igor Neyman <ineyman@perceptron.com>
Re: Deterioration in performance when query executed in multi threads Anne Rosset <arosset@collab.net>
Re: Deterioration in performance when query executed in multi threads Igor Neyman <ineyman@perceptron.com>
Re: Deterioration in performance when query executed in multi threads Anne Rosset <arosset@collab.net>
Re: Deterioration in performance when query executed in multi threads Thomas Kellerer <spam_eater@gmx.net>
Re: Deterioration in performance when query executed in multi threads Anne Rosset <arosset@collab.net>
Re: Deterioration in performance when query executed in multi threads Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Deterioration in performance when query executed in multi threads Igor Neyman <ineyman@perceptron.com>
Re: Deterioration in performance when query executed in multi threads Merlin Moncure <mmoncure@gmail.com>
Re: Deterioration in performance when query executed in multi threads Scott Marlowe <scott.marlowe@gmail.com>
On Wed, May 01, 2013 at 04:07:55PM +0000, Anne Rosset wrote:
> Hi Ken,
> Thanks for your answer. My test is actually running with jboss 7/jdbc and the connection pool is defined  with min-pool-size =10 and max-pool-size=400.
> 
> Why would you think it is an issue with the connection pool?
> 
> Thanks,
> Anne
> 

Hi Anne,

You want to be able to run as many jobs productively at once as your hardware is
capable of supporting. Usually something starting a 2 x number of CPUs is best.
If you make several runs increasing the size of the pool each time, you will
see a maximum throughput somewhere near there and then the performance will
decrease as you add more and more connections. You can then use that sweet spot.
Your test harness should make that pretty easy to find.

Regards,
Ken

В списке pgsql-performance по дате отправления
От: Anne Rosset
Дата:
От: Scott Marlowe
Дата:
FAQ