From: Richard van den Berg <richard.vandenberg@trust-factory.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: PFC <lists@boutiquenumerique.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Foreign key slows down copy/insert
Date: Fri, 15 Apr 2005 16:10:04 +0200
Message-ID: <425FCB3C.8010809@trust-factory.com> (raw)
In-Reply-To: <2697.1113573316@sss.pgh.pa.us>
References: <425E6045.4060201@trust-factory.com>
<op.so8fvhlwth1vuj@localhost>
<425F77E4.7030504@trust-factory.com>
<op.so9q4exeth1vuj@localhost>
<425FA403.9030007@trust-factory.com>
<425FA758.8080304@familyhealth.com.au>
<425FB73F.8080903@trust-factory.com>
<2697.1113573316@sss.pgh.pa.us>
Tom Lane wrote:
> You didn't show us any \timing. The 94.109 ms figure is all server-side.
Whoop, my mistake. I had been retesting without the explain, just the
query. I re-run the explain analyze a few times, and it only reports
90ms the first time. After that it reports 2ms even over the network
(the \timing on those are about 50ms which includes the network latency).
Thanks,
--
Richard van den Berg, CISSP
-------------------------------------------
Trust Factory B.V. | www.dna-portal.net
Bazarstraat 44a | www.trust-factory.com
2518AK The Hague | Phone: +31 70 3620684
The Netherlands | Fax : +31 70 3603009
-------------------------------------------
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: richard.vandenberg@trust-factory.com, tgl@sss.pgh.pa.us, chriskl@familyhealth.com.au, lists@boutiquenumerique.com
Subject: Re: Foreign key slows down copy/insert
In-Reply-To: <425FCB3C.8010809@trust-factory.com>
* 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