Re: WAL bandwidth - Mailing list pgsql-general

From John R Pierce
Subject Re: WAL bandwidth
Date
Msg-id 537E5217.20801@hogranch.com
Whole thread Raw
In response to Re: WAL bandwidth  (Torsten Förtsch <torsten.foertsch@gmx.net>)
List 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



pgsql-general by date:

Previous
From: Torsten Förtsch
Date:
Subject: Re: WAL bandwidth
Next
From: Alvaro Herrera
Date:
Subject: Re: WAL bandwidth