Deterioration in performance when query executed in multi threads

Поиск
Список
Период
Сортировка
От Anne Rosset
Тема Deterioration in performance when query executed in multi threads
Дата
Msg-id 9A6B86D66BD3C2438AFACFA09354890F20A2DF6D@EXCH01.sp.corp.collab.net
обсуждение исходный текст
Ответы Re: Deterioration in performance when query executed in multi threads  ("ktm@rice.edu" <ktm@rice.edu>)
Список pgsql-performance

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

В списке pgsql-performance по дате отправления:

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: In progress INSERT wrecks plans on table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: In progress INSERT wrecks plans on table