| From: | John R Pierce <pierce(at)hogranch(dot)com> | 
|---|---|
| To: | pgsql-general(at)postgresql(dot)org | 
| Subject: | Re: WAL bandwidth | 
| Date: | 2014-05-22 19:37:59 | 
| Message-ID: | 537E5217.20801@hogranch.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-general | 
On 5/22/2014 12:31 PM, Torsten Förtsch wrote:
> That's what I want, to throttle the rate at which WAL is generated by
> maintenance operations.
>
> I take it, there is no such thing by now. Would it be a useful addition?
>
> I am not sure if I have the time to implement it. I have had a cursory
> look at the code before, just to find out how things work, but never
> changed something. What do you think, is it complicated to implement?
I suspect you'd need to A) add some SET variable(s) to control this, and 
B) have the CREATE INDEX code sleep() some number of milliseconds per N 
generated blocks of index, this would be akin to what vacuum and 
autovacuum do now.
-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2014-05-22 19:52:28 | Re: WAL bandwidth | 
| Previous Message | Torsten Förtsch | 2014-05-22 19:31:39 | Re: WAL bandwidth |