Re: tablespaces a priority for 7.5?

Поиск
Список
Период
Сортировка
От John Sidney-Woollett
Тема Re: tablespaces a priority for 7.5?
Дата
Msg-id 1302.192.168.0.64.1074791269.squirrel@mercury.wardbrook.com
обсуждение исходный текст
Ответ на Re: tablespaces a priority for 7.5?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: tablespaces a priority for 7.5?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: tablespaces a priority for 7.5?  (Cott Lang <cott@internetstaff.com>)
Список pgsql-general
Tom Lane said:
> To do these, you would take a *physical* dump of the
> database directory as a baseline, and thereafter copy WAL segments off
> to tape or whatever you are using as archive media.  Recovery would
> consist of restoring the physical baseline dump, and then replaying WAL
> against it up to whatever point in time you wanted to recover to.  You
> would, therefore, need to keep a continuous sequence of WAL files back
> to the time of your most recent baseline backup.

This is similar to Oracle...

With Oracle you have the option of EITHER exporting the database
(equivalent to doing pg_dump) OR taking the database offline and carrying
out a file system level copy of the database files.

Recovery can be accomplished by either restoring the backup database files
or creating a new database by importing the most recent export/dump file.

After that you apply the archive logs (equivalent to WAL segments) to
bring your database up to date.

One caveat for Oracle (at least in 8.1.x) is that DDL statements are not
recorded in the archive logs, and can screw things up. Best to take a new
export/dump after making DDL changes!

The difference between Oracle and Postgres appears to be that posgres
requires a file system level copy of the database instead of being able to
make use of a dump file for this type of recovery. Is that correct?

John Sidney-Woollett


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

Предыдущее
От: Henk van Lingen
Дата:
Сообщение: Re: trust auth in 7.4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: tablespaces a priority for 7.5?