X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1BB4AD1DF5D for ; Wed, 21 Apr 2004 13:25:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 25457-06 for ; Wed, 21 Apr 2004 13:25:31 -0300 (ADT) Received: from mail.astudios.com (unknown [66.49.77.3]) by svr1.postgresql.org (Postfix) with ESMTP id A77CCD1BAA2 for ; Wed, 21 Apr 2004 13:25:00 -0300 (ADT) thread-index: AcQnvZuLnERkrY/KQWur/4uiE99PJA== Received: from [10.4.2.163] ([66.194.26.150]) by mail.astudios.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 21 Apr 2004 12:27:58 -0400 Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.132 From: "Chris Hoover" To: Subject: Re: Help understanding stat tables Date: Wed, 21 Apr 2004 12:24:35 -0400 User-Agent: KMail/1.6.1 References: <200404211134.16876.revoohc@sermonaudio.com> In-Reply-To: <200404211134.16876.revoohc@sermonaudio.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <200404211224.35696.revoohc@sermonaudio.com> X-OriginalArrivalTime: 21 Apr 2004 16:27:58.0437 (UTC) FILETIME=[9B7FE950:01C427BD] X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/353 X-Sequence-Number: 6653 I think I have figured my problem out. I was taking heap_blks_hit / heap_blks_read for my hit pct. It should be heap_blks_hit/(heap_blks_read+heap_blks_hit), correct? Thanks On Wednesday 21 April 2004 11:34, Chris Hoover wrote: > I just want to make sure that I am interpreting this data correctly. > > From pg_statio_user_tables, I have pulled relname, heap_blks_read, > heap_blks_hit. I get several rows like this: > relname heap_bkls_read heap_blks_hit > clmhdr 8607161 196547165 > > > So this means that I am getting over a 100% cache hit ratio for this tabl= e, > right? If not, please help me understand what these numbers mean. > > Thanks, > > Chris > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly