Re: pg_xlog content

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: pg_xlog content
Дата
Msg-id 49351CDB.7090605@archonet.com
обсуждение исходный текст
Ответ на pg_xlog content  (Siddharth Shah <siddharth.shah@elitecore.com>)
Ответы Re: pg_xlog content  (Siddharth Shah <siddharth.shah@elitecore.com>)
Список pgsql-general
Siddharth Shah wrote:
> Hi,
>
>    When I initialize database, pg_xlog direcory takes almost 17 MB size
>    Why pg_xlog/WAL takes 17 MB of size while there is no transaction
> occurred ?
>
>    What is the content of pg_xlog , If it's only wal file it's must be
> blank after on write of transaction on database.

It's the WAL. Files will be 16MB in size and you will have several (I
think 3 is the minimum). If you have a large update that can increase.
See the checkpoint_segments setting if you think that's something you'll
do frequently.

If you are using WAL-based replication you could have lots if the
archive command keeps failing.

--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Executing a user created function twice give an error
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: How do I index to speed up OVERLAPS?