Re: pg_xlog content
От | Siddharth Shah |
---|---|
Тема | Re: pg_xlog content |
Дата | |
Msg-id | 49351F02.1020304@elitecore.com обсуждение исходный текст |
Ответ на | Re: pg_xlog content (Richard Huxton <dev@archonet.com>) |
Ответы |
Re: pg_xlog content
Re: pg_xlog content |
Список | pgsql-general |
Richard Huxton wrote: > 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. > > I am not using wall based replication ? I no not have frequent & long transaction , need of checkpoints Just want to get what data resides in pg_xlog that it takes 16MB without any transactions. - Siddharth
В списке pgsql-general по дате отправления: