Deterioration in performance when query executed in multi threads

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

 



Hi all,

We are running a stress test that executes one select query with multiple threads.

The query executes very fast (10ms). It returns 100 rows.  I see deterioration in the performance when we have multiple threads executing the query. With 100 threads, the query takes between 3s and 8s.

 

I suppose there is a way to tune our database. What are the parameters I should look into? (shared_buffer?, wal_buffer?)

 

 

 

 

Thanks for your help,

Anne


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

  Powered by Linux