Re: PGSQL or other DB? - Mailing list pgsql-general

From Alan Hodgson
Subject Re: PGSQL or other DB?
Date
Msg-id 200901301219.27020@hal.medialogik.com
Whole thread Raw
In response to Re: PGSQL or other DB?  (Sam Mason <sam@samason.me.uk>)
Responses Re: PGSQL or other DB?  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-general
> > This "one datadir" is seems to be not too good for us. We used DBISAM
> > in our clients, and many times when we got some filesystem error, we
> > can simply recover the tables - from the files.
>

pg_dump files with the custom format can be used to selectively restore
tables. It's really easy and a lot more reliable than filesystem level
backups - which require snapshotting or shutting down the database or
in-database support to get clean backups of.

> > I very fear from to keep all databases in one place, because if they
> > are corrupted, possible more of them injured (if they are not
> > separated). I cannot make filesystem based (hard) copy from one db
> > (only SQL dump enabled).

If you consistently have hardware problems that cause filesystem corruption,
you should probably consider fixing that before worrying too much about
which software is on top of it being corrupted.

And, honestly, if keeping all the files in once place is a major problem for
you, then don't use PostgreSQL. It's not like it's going to be changed in
this regard.

--
Alan

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Pet Peeves?
Next
From: ries van Twisk
Date:
Subject: Re: PGSQL or other DB?