Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 9A9739FB935 for ; Thu, 3 May 2007 10:52:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 79582-07 for ; Thu, 3 May 2007 10:52:35 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.230]) by postgresql.org (Postfix) with ESMTP id 2FF389FB966 for ; Thu, 3 May 2007 10:52:41 -0300 (ADT) Received: by nz-out-0506.google.com with SMTP id s1so534062nze for ; Thu, 03 May 2007 06:52:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HC5E9NsNx4DKrqd8ywS0iaoScoF4Q2XK0y0zJsyW27MykFbpEiW+cID1nooFVZGqQpC1s++0O9q4Z8p+ahtIwh/TH5roUFXpuKHXJFGy+gPJHRRsHM/CaZniXoFOI4I1Vk+DBuz7QqOBre/acQaLrcFbtIDqSXXxpeLhHS8Nh7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IL7vFUH1dS6xLe0D2HuxD8p3BrHIwuWR+2UOPYzfr1NvpWtoD8ANAlCAutyGkDS7vA/EgIlHVgo+Ehb2xcit21tJrEnRzpClyqfSbRBoMl6+u7dtzacvF+y8qpUeBSw4SI4AzGGSjxVGjKYH7elNz4oTOOMw+yp1z9ahwcinR20= Received: by 10.114.124.1 with SMTP id w1mr666588wac.1178200359393; Thu, 03 May 2007 06:52:39 -0700 (PDT) Received: by 10.115.89.14 with HTTP; Thu, 3 May 2007 06:52:39 -0700 (PDT) Message-ID: <758d5e7f0705030652t6fc4923dnab00ccec3c41426d@mail.gmail.com> Date: Thu, 3 May 2007 15:52:39 +0200 From: "Dawid Kuroczko" To: "pgsql-admin@postgresql.org" Subject: Tools for PostgreSQL stats monitoring? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/36 X-Sequence-Number: 25356 Having done a series of CREATE TEMP TABLE snap_user_idx AS SELECT * FROM pg_stat_user_indexes; SELECT t1.indexrelname,t1.idx_scan-t0.idx_scan as idx_scan, t1.idx_tup_read-t0.idx_tup_read AS idx_tup_read, t1.idx_tup_fetch-t0.idx_tup_fetch as idx_tup_fetch FROM pg_stat_user_indexes t1 JOIN snap_user_idx t0 USING (indexrelid) ORDER BY 4; ...it occured to me I'm probably reinventing the wheel. There should already be a utility which could present all those marvels hidden in 'pg_stat%' tables, present them as nice graphs, highlight most used indexes, etc, etc. Maybe one of you is already using such a thing and can direct me to it? Regards, Dawid