Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Дата
Msg-id alpine.DEB.2.02.1306142001440.10940@localhost6.localdomain6
обсуждение исходный текст
Ответ на Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)  (Greg Smith <greg@2ndQuadrant.com>)
Список pgsql-hackers
> pgbench already has a "\sleep" command, and the way that delay is 
> handled happens inside threadRun() instead.  The pausing of the rate 
> limit throttle needs to operate in the same place.

It does operate at the same place. The throttling is performed by 
inserting a "sleep" first thing when starting a new transaction. So if 
their is a weirdness, it should show as well without throttling but with a 
fixed \sleep instead?

-- 
Fabien.



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