Re: [PERFORM] Foreign key performance - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PERFORM] Foreign key performance
Date
Msg-id 3990.1050677499@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PERFORM] Foreign key performance  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Responses Re: [PERFORM] Foreign key performance
List pgsql-hackers
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.
But the call counts do sound pretty damning.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: default locale considered harmful? (was Re: [GENERAL] Using index for "like 'ABC%'" type query)
Next
From: Bruce Momjian
Date:
Subject: Re: default locale considered harmful? (was Re: [GENERAL]