From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff <threshar@torgo.978.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Adding foreign key performance
Date: Tue, 28 Oct 2003 10:51:32 -0500
Message-ID: <22514.1067356292@sss.pgh.pa.us> (raw)
In-Reply-To: <20031028091645.3d610841.threshar@torgo.978.org>
References: <20031028091645.3d610841.threshar@torgo.978.org>
Jeff <threshar@torgo.978.org> writes:
> I recalled seeing a thread on -HACKERS about some major improvements to the speed of adding an FK to an existing table in 7.4. Naturally I was curious and decided to give it a whirl. My findings are not too good. In fact, they are bad.
> 7.4b4, 10k shared buff, 256mb effective cache: 485706ms
You are testing the wrong version. beta5 has the ADD FOREIGN KEY improvement.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, threshar@torgo.978.org
Subject: Re: Adding foreign key performance
In-Reply-To: <22514.1067356292@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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