Re: Queries becoming slow under heavy load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25/01/2011 22:37, Anne Rosset wrote:
Hi,

We are running some performances tests.  With a lot of concurrent
access,  queries get very slow. When there is no load, those queries run
fast.

As others said, you need to stat how many concurrent clients are working on the database and also the number of logical CPUs (CPU cores, hyperthreading) are present in the machine. So far, as a rule of thumb, if you have more concurrent active connections (i.e. doing queries, not idling), you will experience a sharp decline in performance if this number exceeds the number of logical CPUs in the machine.


--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux