Re: too many clog files

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: too many clog files
Дата
Msg-id 48BD7299.6010605@lelarge.info
обсуждение исходный текст
Ответ на Re: too many clog files  (Greg Smith <gsmith@gregsmith.com>)
Ответы Re: too many clog files  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-performance
Greg Smith a écrit :
> [...]
>> - When, or in what case is  a new clog file produced?
>
> Every 32K transactions.

Are you sure about this?

y clog files get up to 262144 bytes. Which means 1000000 transactions'
status: 262144 bytes are 2Mb (mega bits), so if a status is 2 bits, it
holds 1M transactions' status).

AFAICT, 32K transactions' status are available on a single (8KB) page.

Or am I wrong?


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

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

Предыдущее
От: "David West"
Дата:
Сообщение: Re: limit clause breaks query planner?
Следующее
От: Greg Smith
Дата:
Сообщение: Re: too many clog files