Re: Adding foreign key constraints without integrity - Mailing list pgsql-general

From Jim Nasby
Subject Re: Adding foreign key constraints without integrity
Date
Msg-id BAA09118-BCCB-4B0C-B3E6-DA1717113F76@pervasive.com
Whole thread Raw
In response to Re: Adding foreign key constraints without integrity  (Wes <wespvp@syntegra.com>)
Responses Re: Adding foreign key constraints without integrity
List pgsql-general
On Jun 18, 2006, at 11:08 PM, Wes wrote:
> System memory is 2GB (would like more, but...).  Data is on one array
> (hardware RAID 5 of eight 73 GB 10k SCSI drives), indexes on another
> (hardware RAID 5 of five 15K 146 GB SCSI drives on a separate
> channel), and
> pg_xlog on a third RAID 1 on a third channel).  There are two 2.4
> GHz Xeon
> processors).

FWIW, RAID5 isn't normally a good recipe for good database performance.

This won't help with constraint checking, but you should consider
turning fsync off during your restore.

Also, why are you frequently dumping and restoring?
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



pgsql-general by date:

Previous
From: Jim Nasby
Date:
Subject: Re: A slow query - Help please?
Next
From: "Clodoaldo Pinto"
Date:
Subject: Re: How to build with bigger WAL segment file?