Re: wal logs in pg_xlog

Поиск
Список
Период
Сортировка
От Nasir Iqbal Danish
Тема Re: wal logs in pg_xlog
Дата
Msg-id 42C14812.7060607@amaana.com
обсуждение исходный текст
Ответ на Re: wal logs in pg_xlog  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: wal logs in pg_xlog
Список pgsql-admin
Michael Fuhr wrote:
On Mon, Jun 27, 2005 at 11:04:50AM +0500, Nasir Iqbal Danish wrote: 
I am using postgres 8.0.3, and wanted to use Point In Time Recovery enable.
could any one tell me about how to indentify the current WAL file, also 
let me know if there is any fix patteren for WAL log file generations.
documentaion says it will generate ever increasing number starting from 
some thing like "0000000100000000000000000". but I have observed 
different behaviour.   
What behavior have you observed?
 
the files in pg_xlog like 000010000000000005, 000010000000000006, 000010000000000007, 000010000000000008, (in short term call these 5,6,7,8).
with file 8 being most recent and 5 being 2 months back, with respect to time stamp. after I did some work and then observed log files, now 5 and 6 were showing me latest time stamps. I was confused which is the latest one.
I also want to know when new WAL segment files is created, is it 16MB or this will start from 0 bytes and size inceases as soon as db server will manupulate.

Please provide me if u can some script to identify which one is latest file so that I can copy this to some other place.
One more question. Is there a way to build or configure the database server to replicate pg_xlogs ?
-Nasir

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

Предыдущее
От: Ian FREISLICH
Дата:
Сообщение: Re: How to compare the schemas ?
Следующее
От: "sandhya"
Дата:
Сообщение: reg:libpqxx on windows