X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A53BB32A090 for ; Fri, 8 Oct 2004 15:11:38 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33381-05 for ; Fri, 8 Oct 2004 14:11:29 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 598E7329D68 for ; Fri, 8 Oct 2004 15:11:31 +0100 (BST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id i98EBTo3016304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Oct 2004 08:11:32 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id i98EBTKs060263; Fri, 8 Oct 2004 08:11:29 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id i98EBTCg060262; Fri, 8 Oct 2004 08:11:29 -0600 (MDT) (envelope-from mfuhr) Date: Fri, 8 Oct 2004 08:11:29 -0600 From: Michael Fuhr To: Doug Y Cc: pgsql-admin@postgresql.org Subject: Re: Problems monitoring DB activity Message-ID: <20041008141129.GA60199@winnie.fuhr.org> References: <41669C00.2030209@ptd.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41669C00.2030209@ptd.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/127 X-Sequence-Number: 15120 On Fri, Oct 08, 2004 at 09:54:08AM -0400, Doug Y wrote: > > SELECT * FROM pg_catalog.pg_stat_activity; > > The current_query and query_start columns are always empty. Obviously > this makes it hard to monitor problems with the various admin tools, etc. Does postgresql.conf have stats_command_string = true? -- Michael Fuhr http://www.fuhr.org/~mfuhr/