X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 487929F94F3 for ; Fri, 7 Jul 2006 01:37:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 57828-01 for ; Fri, 7 Jul 2006 01:37:39 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web50312.mail.yahoo.com (web50312.mail.yahoo.com [206.190.39.214]) by postgresql.org (Postfix) with SMTP id 0B2AF9FA4E0 for ; Fri, 7 Jul 2006 01:37:38 -0300 (ADT) Received: (qmail 62726 invoked by uid 60001); 7 Jul 2006 04:37:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ptclcpI55cNeVtP02KESORjVESOXT0mFM7YX1yHa4GD8aCWjVIt9zx9jMpVmoYDfCl8TzpL/vxRfjgPWnfvumfbm3AIQVfqlRSaNjf0XitUyVgT8NwG6t257CBwz/wvBF5z3d18hF9mBU8lBZtZ1wi14dHTRBBNxpsnx8L50FBE= ; Message-ID: <20060707043738.62724.qmail@web50312.mail.yahoo.com> Received: from [72.229.167.99] by web50312.mail.yahoo.com via HTTP; Thu, 06 Jul 2006 21:37:38 PDT Date: Thu, 6 Jul 2006 21:37:38 -0700 (PDT) From: Subject: Re: How are ppl monitoring PostgreSQL ... ? What is being monitored ... ? To: pgsql-admin@postgresql.org Cc: hubert depesz lubaczewski In-Reply-To: <9e4684ce0606110810n50f8c44cjf02a273a65aac0c2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=BAYES_00, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_WHOIS, NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200607/43 X-Sequence-Number: 22289 Interesting, Hubert. Where/how do you get the data for: - number of transactions per second - duration of longest query ? Thanks, Otis ----- Original Message ---- From: hubert depesz lubaczewski To: Marc G. Fournier Cc: pgsql-admin@postgresql.org Sent: Sunday, June 11, 2006 11:10:20 AM Subject: Re: [ADMIN] How are ppl monitoring PostgreSQL ... ? What is being monitored ... ? On 6/10/06, Marc G. Fournier wrote: The subject kinda says it all ... I know there are SNMP patches available out there now, but without those ... ? i can tell you what we do monitor: 1. general server things (free disk space, cpu-idle, load, memory used, swap used, context switches, io operations, sockets in state close_wait). 2. db stuff: - numer of transactions per second - database size - size of specific tables/indices that we know have nasty tendency to grow - number of objects in database - duration of longest query - replication lag (in events, and in time) to make mrtg graphs of db stuff we made some perl scripts, which are bound to snmp using snmp's "exec" feature. then we just grab the values using mrtg and draw. quite simple actually. depesz -- http://www.depesz.com/ - nowy, lepszy depesz