Re: How robust is postgresql ?

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: How robust is postgresql ?
Дата
Msg-id Pine.LNX.4.30.0103071345410.15784-100000@chapelperilous.net
обсуждение исходный текст
Ответ на How robust is postgresql ?  ("Simon Crute" <Simon@geordie.demon.co.uk>)
Ответы Re: How robust is postgresql ?
Список pgsql-general
On Tue, 6 Mar 2001, Simon Crute wrote:

>   We're writing an app in Perl and currently using Oracle as the backend
> database (via the perl DBI) but due to the costs when we put this live we're
> thinking of useing Postgresql.

Good choice!  Version 7.1, now in beta and due out very soon, has a lot of
new stuff that is very smart and cool.

> However we need to know how crash resistant Posgresql is. Oracle has the
> "Archive log mode" which writes a log of everything that's casued the
> database to change. This allows you to recoved it properly in the event of a
> crash.
>
> Does Postgresql have anything simmilar ? I've read about Postgresql's "fsync
> mode". Does this guarantee that the data is written to the disk properly and
> that the in the even of a crash (such as power outage etc) the database will
> still be correct ?

7.1 has write-ahead logging (WAL), which does what you are looking for.
See http://www.postgresql.org/devel-corner/docs/admin/wal.html

The fsync mode also helps with data integiry, but it *really* slows down
the system, unfortunately.

> The other question is Backups. Is there anyway to take diferential backups ?
> I.E do a full dump periodically, and then make diferential backups from time
> to time (preferably to a differet box)

You can do a database dump and back up the SQL generated, or do a
filesystem backup.  See
http://www.postgresql.org/devel-corner/docs/admin/backup.html for
information on the specifics.

-- Brett
                http://www.chapelperilous.net/~bmccoy/
------------------------------------------------------------------------
You can't mend a wristwatch while falling from an airplane.


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

Предыдущее
От: "Simon Crute"
Дата:
Сообщение: How robust is postgresql ?
Следующее
От: "Eric, Audet"
Дата:
Сообщение: When is 7.1 going out