Re: Adding foreign key constraints without integrity

From: Jim Nasby <jnasby(at)pervasive(dot)com>
To: Wes <wespvp(at)syntegra(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Adding foreign key constraints without integrity
Date: 2006-06-19 20:47:50
Message-ID: BAA09118-BCCB-4B0C-B3E6-DA1717113F76@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Clodoaldo Pinto 2006-06-19 21:10:56 Re: How to build with bigger WAL segment file?
Previous Message elein 2006-06-19 20:43:46 Cannot restart postgres