X-Original-To: pgsql-hackers@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3E0FA475F39 for ; Fri, 18 Apr 2003 10:51:37 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 6A630475ECE for ; Fri, 18 Apr 2003 10:51:36 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h3IEpeU6003991; Fri, 18 Apr 2003 10:51:40 -0400 (EDT) To: Stephan Szabo Cc: Kevin Brown , pgsql-hackers@postgresql.org Subject: Re: [PERFORM] Foreign key performance In-reply-to: <20030418073753.B1912-100000@megazone23.bigpanda.com> References: <20030418073753.B1912-100000@megazone23.bigpanda.com> Comments: In-reply-to Stephan Szabo message dated "Fri, 18 Apr 2003 07:47:15 -0700" Date: Fri, 18 Apr 2003 10:51:39 -0400 Message-ID: <3990.1050677499@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.3 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/693 X-Sequence-Number: 38183 Stephan Szabo 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