Add --latency-limit option to pgbench. This allows transactions that take longer than specified limit to be counted separately. With --rate, transactions that are already late by the time we get to execute them are skipped altogether. Using --latency-limit with --rate allows you to "catch up" more quickly, if there's a hickup in the server causing a lot of transactions to stall momentarily. Fabien COELHO, reviewed by Rukh Meski and heavily refactored by me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/98aed6c721763f2472ccd23b834baed9f83a944b Modified Files -------------- contrib/pgbench/pgbench.c | 231 ++++++++++++++++++++++++++++++++++----------- doc/src/sgml/pgbench.sgml | 70 ++++++++++++-- 2 files changed, 235 insertions(+), 66 deletions(-)
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера