Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement) - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Date
Msg-id alpine.DEB.2.02.1306142001440.10940@localhost6.localdomain6
Whole thread Raw
In response to Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)  (Greg Smith <greg@2ndQuadrant.com>)
List 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 by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: another error perhaps to be enhanced
Next
From: Josh Berkus
Date:
Subject: Re: Hard to Use WAS: Hard limit on WAL space