pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedNeed Urgent Help in case of postgres Database Crash.
6+ messages / 5 participants
[nested] [flat]
* Need Urgent Help in case of postgres Database Crash.
@ 2003-10-06 06:58 Somasekhar Bangalore <sbangalore@zensutra.com>
0 siblings, 2 replies; 6+ messages in thread
From: Somasekhar Bangalore @ 2003-10-06 06:58 UTC (permalink / raw)
To: pgsql-admin
Hi ,
I am setting up a postgres 7.3 database for a big client.I don't want to lose any data in case of database crash or hardware failure . I need help in
1. Steps needed to setup the postgres database , is it posssible for me to write data on to two different disks. if so how?
2. Steps needed to recover the data in case of database crash or hardware crash.
I would appreciate if some could help me out on these issues. Thanks in advance
Somasekhar Bangalore
Principle Software Engineer
ZenSutra Software Technologies Pvt. Ltd.
Suite 601, HM Geneva House
#14, Cunningham Road
Bangalore 560-052, India
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Need Urgent Help in case of postgres Database Crash.
@ 2003-10-06 10:48 Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
parent: Somasekhar Bangalore <sbangalore@zensutra.com>
1 sibling, 1 reply; 6+ messages in thread
From: Sam Barnett-Cormack @ 2003-10-06 10:48 UTC (permalink / raw)
To: Somasekhar Bangalore <sbangalore@zensutra.com>; +Cc: pgsql-admin
On Mon, 6 Oct 2003, Somasekhar Bangalore wrote:
> Hi ,
>
> I am setting up a postgres 7.3 database for a big client.I don't want to lose any data in case of database crash or hardware failure . I need help in
>
> 1. Steps needed to setup the postgres database , is it posssible for me to write data on to two different disks. if so how?
For data redundancy, I reccomend RAID level 0 or 5 - 5 is vastly
superior, if you can afford it.
> 2. Steps needed to recover the data in case of database crash or hardware crash.
Keep regular backups with pg_dump
--
Sam Barnett-Cormack
Software Developer | Student of Physics & Maths
UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Need Urgent Help in case of postgres Database Crash.
@ 2003-10-06 10:56 Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
parent: Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
0 siblings, 0 replies; 6+ messages in thread
From: Sam Barnett-Cormack @ 2003-10-06 10:56 UTC (permalink / raw)
To: Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>; +Cc: Somasekhar Bangalore <sbangalore@zensutra.com>; pgsql-admin
On Mon, 6 Oct 2003, Sam Barnett-Cormack wrote:
> On Mon, 6 Oct 2003, Somasekhar Bangalore wrote:
>
> > Hi ,
> >
> > I am setting up a postgres 7.3 database for a big client.I don't want to lose any data in case of database crash or hardware failure . I need help in
> >
> > 1. Steps needed to setup the postgres database , is it posssible for me to write data on to two different disks. if so how?
>
> For data redundancy, I reccomend RAID level 0 or 5 - 5 is vastly
> superior, if you can afford it.
Sorry, RAID 1 or 5 - I always get 0 and 1 confused when I use the
numbers. 0 will improve performance but won't give any redundancy.
> > 2. Steps needed to recover the data in case of database crash or hardware crash.
>
> Keep regular backups with pg_dump
>
>
--
Sam Barnett-Cormack
Software Developer | Student of Physics & Maths
UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Need Urgent Help in case of postgres Database Crash.
@ 2003-10-06 11:02 Oliver Scheit <oliver.scheit@REALGARANT.DE>
0 siblings, 0 replies; 6+ messages in thread
From: Oliver Scheit @ 2003-10-06 11:02 UTC (permalink / raw)
To: Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>; +Cc: pgsql-admin
> For data redundancy, I reccomend RAID level 0 or 5 - 5 is vastly
> superior, if you can afford it.
You ment RAID 1, not RAID 0
regards,
Oli
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Need Urgent Help in case of postgres Database Crash.
@ 2003-10-06 13:45 Bruno Wolff III <bruno@wolff.to>
parent: Somasekhar Bangalore <sbangalore@zensutra.com>
1 sibling, 1 reply; 6+ messages in thread
From: Bruno Wolff III @ 2003-10-06 13:45 UTC (permalink / raw)
To: Somasekhar Bangalore <sbangalore@zensutra.com>; +Cc: pgsql-admin
On Mon, Oct 06, 2003 at 12:28:49 +0530,
Somasekhar Bangalore <sbangalore@zensutra.com> wrote:
> 1. Steps needed to setup the postgres database , is it posssible for me to write data on to two different disks. if so how?
>
> 2. Steps needed to recover the data in case of database crash or hardware crash.
If the disks don't get clobbered, you can just restart the server and you
should get back all committed transactions. If you lose the disks (or
commit an undesired transaction), then you will need to go back to the point
of your last backup.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Need Urgent Help in case of postgres Database Crash.
@ 2003-10-06 15:28 scott.marlowe <scott.marlowe@ihs.com>
parent: Bruno Wolff III <bruno@wolff.to>
0 siblings, 0 replies; 6+ messages in thread
From: scott.marlowe @ 2003-10-06 15:28 UTC (permalink / raw)
To: Bruno Wolff III <bruno@wolff.to>; +Cc: Somasekhar Bangalore <sbangalore@zensutra.com>; pgsql-admin
On Mon, 6 Oct 2003, Bruno Wolff III wrote:
> On Mon, Oct 06, 2003 at 12:28:49 +0530,
> Somasekhar Bangalore <sbangalore@zensutra.com> wrote:
> > 1. Steps needed to setup the postgres database , is it posssible for me to write data on to two different disks. if so how?
> >
> > 2. Steps needed to recover the data in case of database crash or hardware crash.
>
> If the disks don't get clobbered, you can just restart the server and you
> should get back all committed transactions. If you lose the disks (or
> commit an undesired transaction), then you will need to go back to the point
> of your last backup.
If you're using IDE drives, make sure and turn off write caching,
otherwise all bets are off as regards data integrity. on linux it's
'hdparm -W0 /dev/hdx' where x is replaced by the drive letter of choice.
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2003-10-06 15:28 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-06 06:58 Need Urgent Help in case of postgres Database Crash. Somasekhar Bangalore <sbangalore@zensutra.com>
2003-10-06 10:48 ` Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
2003-10-06 10:56 ` Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
2003-10-06 13:45 ` Bruno Wolff III <bruno@wolff.to>
2003-10-06 15:28 ` scott.marlowe <scott.marlowe@ihs.com>
2003-10-06 11:02 Re: Need Urgent Help in case of postgres Database Crash. Oliver Scheit <oliver.scheit@REALGARANT.DE>
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