From: Tommy Cheng <csckcac@gmail.com>
To: pgsql-admin@postgresql.org
Subject: How to identify the current WAL segment file
Date: Mon, 3 Dec 2007 18:21:09 +0800
Message-ID: <2267dd9e0712030221y6f597c08w1c90ccbe2a176554@mail.gmail.com> (raw)
Hi everyone,
I am new to postgresql. So point me to somewhere else if you got the right
direction.
i am using PostgreSQL 8.1.9 on a linux system and i want to setup PITR. i
found that the segment size is too large that the copying frequency is not
high enough.
So, i want to set up a cron job that periodically identifies the current WAL
segment file once a minute and scp it to other server.
How to do that, can someone give me a template script?
Btw, i saw archieve_timeout setting in
http://www.postgresql.org/docs/8.2/static/continuous-archiving.html
that may suits my need, can i use it in 8.1.9?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: csckcac@gmail.com
Subject: Re: How to identify the current WAL segment file
In-Reply-To: <2267dd9e0712030221y6f597c08w1c90ccbe2a176554@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox