Re: pgbench: spike in pgbench results(graphs) while testing pg_hint_plan performance

Поиск
Список
Период
Сортировка
Искать
От
Greg Smith
Тема
Re: pgbench: spike in pgbench results(graphs) while testing pg_hint_plan performance
Дата
в 12:21:37
Msg-id
519F5B4B.5010101@2ndQuadrant.com
Ответ на
Список
Дерево обсуждения
pgbench: spike in pgbench results(graphs) while testing pg_hint_plan performance "Sachin D. Bhosale-Kotwal" <kotsachin@gmail.com>
Re: pgbench: spike in pgbench results(graphs) while testing pg_hint_plan performance Greg Smith <greg@2ndQuadrant.com>
Re: pgbench: spike in pgbench results(graphs) while testing pg_hint_plan performance sachin kotwal <kotsachin@gmail.com>
On 5/23/13 7:39 AM, Sachin D. Bhosale-Kotwal wrote:
> So i am not getting why spike occure at *12:09:14 *only*.*

This could easily be caused by something outside of the test itself. 
Background processes.  A monitoring system kicking in to write some data 
to disk will cause a drop like this.

Three things you could look into to try and track down the issue:

-Did you turn on log_checkpoints to see if one happens to run when the 
rate drops?  If so, that could be the explanation.  Looks like you setup 
the test to make this less likely, but checkpoints are tough to 
eliminate altogether.

-Does this happen on every test run?  Is it at the same time?

-You can run "top -bc" to dump snapshots of what the system is doing 
every second.  With some work you can then figure out what was actually 
happening during the two seconds around when the throughput dropped.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com

В списке pgsql-performance по дате отправления
От: Greg Smith
Дата:
От: sachin kotwal
Дата:
FAQ