Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 35B222E021C for ; Sun, 16 Dec 2007 15:37:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 55833-01 for ; Sun, 16 Dec 2007 15:37:19 -0400 (AST) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by postgresql.org (Postfix) with ESMTP id 29FA52E01C7 for ; Sun, 16 Dec 2007 15:37:21 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id f5so972889nfh.23 for ; Sun, 16 Dec 2007 11:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=nmlj2dnJoKiHGRCF/gN9MhOdj0+M9+ixL9HerH9B3vY=; b=LwHeoVtregoNLSaSN9F6tiIkUgAEPNBwjqqmicQSlYic3IDCF1H5kIid282xA4DPHJsKdSNvEHF2EUtMx9t2uJJ37+TfSRKefZvP4GcfGXv2O15e4iMn3zT7ERyM9dJiePKLWUNEhL7AqW27ssagxb4txfw5prceZ7iP/BATLsQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ucJN0PmxLJGVAkVzbRr40jMQn9gTlnO/lrpvEB+fDd/xjZKNkklYYRm/CMSoDEeqp7GVAHN98O4MoJz/jJ4QpeEDUJ4EC+lb6Q1WIbHxnxo58sZrhjaua5mU4rfw4JW3SooRtbHnKUQ2zac8scO79zaEm6x9GBTdJh4DhQRS6D4= Received: by 10.78.190.10 with SMTP id n10mr7233853huf.37.1197833839350; Sun, 16 Dec 2007 11:37:19 -0800 (PST) Received: by 10.78.151.9 with HTTP; Sun, 16 Dec 2007 11:37:19 -0800 (PST) Message-ID: Date: Mon, 17 Dec 2007 00:37:19 +0500 From: "Usama Dar" To: "Tena Sakai" Subject: Re: reading pg_stat_activity view Cc: "Scott Marlowe" , pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5625_19330017.1197833839327" References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/125 X-Sequence-Number: 27642 ------=_Part_5625_19330017.1197833839327 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > There wouldn't > be any way to just log it and still keep the query alive, > would there? > I think it will be a useful feature to add to postgres, for the benefit of DBAs, the ability to log slow queries, the queries which take more than x amount of time, maybe in a separate slow query log. i am sure it sounds familiar to a lot of people ;) -- Usama Munir Dar http://linkedin.com/in/usamadar Consultant Architect Cell:+92 321 5020666 Skype: usamadar ------=_Part_5625_19330017.1197833839327 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

 There wouldn't
be any way to just log it and still keep the query alive,
would there?

I think it will be a useful feature to add to postgres, for the benefit of DBAs, the ability to log slow queries, the queries which take more than x amount of time, maybe in a separate slow query log. i am sure it sounds familiar to a lot of people ;)



--
Usama Munir Dar http://linkedin.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar
------=_Part_5625_19330017.1197833839327--