From: Chris Browne <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: Re: database creation date
Date: Mon, 25 Jun 2007 14:40:44 -0400
Message-ID: <60fy4f3mj7.fsf@dba2.int.libertyrms.com> (raw)
References: <3aa3ccbb0706250955s3422d425o72ffcce43342a308@mail.gmail.com>
chandru.dba@gmail.com ("Pradeep Chandru") writes:
> Hi,
> I have two questions.
> 1. Is there a way to find the database creation time?
Elderly timestamps on files in the database's directory would be an
approximation to that.
> 2. Is WAL implementation possible in postgres7.1.1? If so
> simple steps for the same? This is required to migrate from
> the older setup to the latest version in parallel without
> disturbing the current setup.
There isn't a reasonable way, as far as I know, to 'replicate' from
PostgreSQL 7.1 to anything newer.
You would need to:
1. shut down all apps accessing the database,
2. do a pg_dump to extract current data,
3. load that into a newer version of PostgreSQL,
4. verify that all looks good, and
5. point the apps to the new database on the new version.
If the database is fairly large, the time between steps 1 and 5 could
be fairly substantial.
If you were on a newer version of PostgreSQL, say 7.3, you might be
able to use something like Slony-I to replicate data into a newer
version; that could make the outage time pretty short.
But PostgreSQL 7.1.1 is *very* old.
--
(reverse (concatenate 'string "ofni.secnanifxunil" "@" "enworbbc"))
http://cbbrowne.com/info/slony.html
"... the open research model is justified. There is a passage in the
Bible (John 8:32, and on a plaque in CIA HQ), "And ye shall know the
truth, and the truth shall set ye free." -- Dave Dittrich
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: cbbrowne@acm.org
Subject: Re: database creation date
In-Reply-To: <60fy4f3mj7.fsf@dba2.int.libertyrms.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