Re: [GENERAL] pg_xlog keeps growing

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [GENERAL] pg_xlog keeps growing
Дата
Msg-id CAB7nPqQdJAQ0F8O01tJL3ZvVKjmRM_n6qHP0kcxX_bXyj4__ew@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] pg_xlog keeps growing  (dhanuj hippie <dhanuj.hippie@gmail.com>)
Ответы Re: [GENERAL] pg_xlog keeps growing  (dhanuj hippie <dhanuj.hippie@gmail.com>)
Список pgsql-general
On Tue, Feb 28, 2017 at 1:20 PM, dhanuj hippie <dhanuj.hippie@gmail.com> wrote:
> So does it work like - it can go upto 16MB*1024 times which is 16GB, and
> then this will be cleaned up automatically ?

On a standby each time a restart point is created the oldest segments
are either recycled or removed, wal_keep_segments retains more of
that. You can look at KeepLogSeg() in
src/backend/access/transam/xlog.c if you want..
--
Michael


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] [ADMIN] cpu hight sy% usage
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] Shared WAL archive between master and standby: WALs notalways identical