Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 421BC9FA15A for ; Fri, 2 Nov 2007 12:26:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 43203-07 for ; Fri, 2 Nov 2007 12:26:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 0A4999FA152 for ; Fri, 2 Nov 2007 12:26:51 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lA2FQoLK029833; Fri, 2 Nov 2007 11:26:51 -0400 (EDT) To: "Campbell, Lance" cc: pgsql-admin@postgresql.org Subject: Re: pg_stat_all_indexes In-reply-to: References: Comments: In-reply-to "Campbell, Lance" message dated "Fri, 02 Nov 2007 10:17:00 -0500" Date: Fri, 02 Nov 2007 11:26:50 -0400 Message-ID: <29832.1194017210@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/27 X-Sequence-Number: 27270 "Campbell, Lance" writes: > select * from pg_stat_all_indexes; > My hope was to see if my indexes are being used. The values I got were > all 0's for the columns: idx_scan, idx_tup_read, and idx_tup_fetch. You aren't collecting these stats: > #stats_block_level = off > #stats_row_level = off regards, tom lane