X-Original-To: pgsql-bugs-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 85F2F9FB2BF for ; Thu, 7 Sep 2006 10:04:33 -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 56220-01 for ; Thu, 7 Sep 2006 10:04:27 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.194]) by postgresql.org (Postfix) with ESMTP id 546529FB2BD for ; Thu, 7 Sep 2006 10:04:26 -0300 (ADT) Received: by nz-out-0102.google.com with SMTP id 14so87096nzn for ; Thu, 07 Sep 2006 06:04:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JA1hgB53hE/mKrSzTErK550q+T0PVC4dKUn2LkVBGb2yh6SCCQXaVMqpM76ug2lfz0qtKPvDc8upAlyT2G2AR3ec0/0tcxb1xQu9egX4YBez8cnk0lSqyiHZkTb1G1R83bowXg6b6pMW6bArZ/Jt9GYPFNb2jJkMyst9dAphj4w= Received: by 10.65.126.4 with SMTP id d4mr565598qbn; Thu, 07 Sep 2006 06:04:24 -0700 (PDT) Received: by 10.65.137.12 with HTTP; Thu, 7 Sep 2006 06:04:24 -0700 (PDT) Message-ID: Date: Thu, 7 Sep 2006 09:04:24 -0400 From: "Merlin Moncure" To: "Nimesh Satam" Subject: Re: [HACKERS] Template0 age is increasing speedily. Cc: pgsql-hackers@postgresql.org, pgsql-bugs@postgresql.org, pgsql-patches@postgresql.org, pgsql-performance@postgresql.org In-Reply-To: <965aa3ed0609070331y5749226eg91de0b376e343c75@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <965aa3ed0609070331y5749226eg91de0b376e343c75@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.297 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/35 X-Sequence-Number: 15711 On 9/7/06, Nimesh Satam wrote: > We also noticed that the database slow downs heavily at a particular > time..Can you suggest any tools which will help in diagnosing the root cause > behiond the data load. possible checkpoint? poorly formulated query? it could be any number of things. use standard tools to diagnose the problem, including: unix tools: top, vmstat, etc postgresql query logging, including min_statement_duration explain analyze