Re: WAL bandwidth

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: WAL bandwidth
Дата
Msg-id 537E5217.20801@hogranch.com
обсуждение исходный текст
Ответ на Re: WAL bandwidth  (Torsten Förtsch <torsten.foertsch@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Torsten Förtsch
Дата:
Сообщение: Re: WAL bandwidth
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: WAL bandwidth