Re: Slow deletes in 8.1 when FKs are involved

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Will Reese <wreese(at)rackspace(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow deletes in 8.1 when FKs are involved
Date: 2006-04-24 17:09:15
Message-ID: 20060424170914.GE38186@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Sun, Apr 23, 2006 at 09:41:14PM -0500, Will Reese wrote:
> I'm preparing for an upgrade from PostgreSQL 7.4.5 to 8.1.3, and I
> noticed a potential performance issue.
>
> I have two servers, a dual proc Dell with raid 5 running PostgreSQL
> 7.4, and a quad proc Dell with a storage array running PostgreSQL
> 8.1. Both servers have identical postgresql.conf settings and were

BTW, you'll want to tweak some things between the two .conf files,
especially if the 8.1.3 server has more memory. Faster drive array means
you probably want to tweak random_page_cost down.

Also, 8.1.3 has a lot of new config settings compared to 7.4.x; it'd
probably be best to take the default 8.1 config and tweak it, rather
than bringing the 7.4 config over.
--
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

Browse pgsql-performance by date

  From Date Subject
Next Message Simon Riggs 2006-04-24 17:27:31 Re: Recovery will take 10 hours
Previous Message Alex Hayward 2006-04-24 14:36:24 Re: Hardware: HP StorageWorks MSA 1500