From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kevin Brown <kevin@sysexperts.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PERFORM] Foreign key performance
Date: Fri, 18 Apr 2003 08:12:39 -0700 (PDT)
Message-ID: <20030418080950.R2132-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3990.1050677499@sss.pgh.pa.us>
On Fri, 18 Apr 2003, Tom Lane wrote:
> Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> > Argh. I'm getting that state where gprof returns all 0s for times. I'm
> > pretty sure this has come up before along with how to get it to work, but
> > I couldn't find it in the archives. Someday I'll learn how to use gprof. :(
>
> You're on Linux? You need to compile postmaster.c with -DLINUX_PROFILE.
Yep, thanks. :)
> But the call counts do sound pretty damning.
Yeah, but even with my hack last night it was still appreciably slower
than immediate constraints. Comparing the call counts in that function
for the immediate versus deferred(hacked) weren't giving me a good idea of
where that time was going.
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: sszabo@megazone23.bigpanda.com, tgl@sss.pgh.pa.us, kevin@sysexperts.com, pgsql-hackers@postgresql.org
Subject: Re: [PERFORM] Foreign key performance
In-Reply-To: <20030418080950.R2132-100000@megazone23.bigpanda.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