Re: Large Number of Files in pg_xlog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Large Number of Files in pg_xlog
Дата
Msg-id 19238.1259639813@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Large Number of Files in pg_xlog  (Bob Lunney <bob_lunney@yahoo.com>)
Список pgsql-admin
Bob Lunney <bob_lunney@yahoo.com> writes:
> Is it possible to reduce the number of files in pg_xlog.  Currently,
> checkpoint_segments is set to 512, which if I understand correctly,
> means there could be up to 1025 files in pg_xlog, 16Gb of WAL.  Right
> now there are 833 files.  I've tried setting checkpoint_segments to a
> lower number and restarting the database, but to no avail.

Patience.  It'll trim down the number of files when it gets around
to it (probably at the next checkpoint, but I don't recall the
exact conditions).

            regards, tom lane

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

Предыдущее
От: Bob Lunney
Дата:
Сообщение: Large Number of Files in pg_xlog
Следующее
От: "Baubak Gandomi"
Дата:
Сообщение: pg_restore does not restore all tables