Re: [PERFORM] Foreign key performance

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kevin Brown <kevin(at)sysexperts(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PERFORM] Foreign key performance
Date: 2003-04-18 15:12:39
Message-ID: 20030418080950.R2132-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance


On Fri, 18 Apr 2003, Tom Lane wrote:

> Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dennis Gearon 2003-04-18 15:41:41 Re: default locale considered harmful? (was Re: Using
Previous Message Bruce Momjian 2003-04-18 15:07:15 Re: [HACKERS] default locale considered harmful? (was Re:

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Brown 2003-04-19 13:01:46 Re: [SQL] Yet Another (Simple) Case of Index not used
Previous Message Victor Danilchenko 2003-04-18 15:01:18 Re: Query speed problems