Re: [PERFORM] Foreign key performance

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

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.
But the call counts do sound pretty damning.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-04-18 15:07:15 Re: [HACKERS] default locale considered harmful? (was Re:
Previous Message Tom Lane 2003-04-18 14:48:21 default locale considered harmful? (was Re: Using index for "like 'ABC%'" type query)

Browse pgsql-performance by date

  From Date Subject
Next Message Victor Danilchenko 2003-04-18 15:01:18 Re: Query speed problems
Previous Message Stephan Szabo 2003-04-18 14:47:15 Re: [PERFORM] Foreign key performance