Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8AC089FB924 for ; Tue, 31 Jul 2007 00:13:18 -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 85978-05 for ; Tue, 31 Jul 2007 00:13:15 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by postgresql.org (Postfix) with ESMTP id ADA5B9FB955 for ; Tue, 31 Jul 2007 00:13:15 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id d32so3772516pye for ; Mon, 30 Jul 2007 20:13:15 -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:cc:in-reply-to:mime-version:content-type:references; b=hwpZXZ/qNjQJ76ppVQm6rvNWWlFjn/q/ekgdnbXe+elJysFA4ynJcLsoG2mFzK+YtPmIHGmJroxKr9H7y4UTKfX+eEMkQ0lS8t0uptR7meghQrdYWc/9UVGkSQhTH50sqqnxk4y7MR4oPvtMWWrtTCIUcSsE4VDN5sZcnQW6S7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=IOIwc7r2LNK9HWYXSLq21YEiVaDQitnNZsTUdCkFtNoGAeBSBmr2W/bo3awgoFT9vpCAufOYcJ8jBsFDfNdJFOyXPDXj9wsa0wZcWjh5csBOh5v+/2m1N/RSJzWTmU3lsUv3Cnlfp5lkYz2MI6Jw71qeZEVshUro67Wrfsn/nrg= Received: by 10.64.250.7 with SMTP id x7mr9778930qbh.1185851594951; Mon, 30 Jul 2007 20:13:14 -0700 (PDT) Received: by 10.64.181.3 with HTTP; Mon, 30 Jul 2007 20:13:14 -0700 (PDT) Message-ID: <1c66bda80707302013xca6c726gc981ca52f4d562d0@mail.gmail.com> Date: Tue, 31 Jul 2007 15:13:14 +1200 From: adey To: "Michael Fuhr" Subject: Re: Lock Statistics Cc: "Milen A. Radev" , pgsql-admin@postgresql.org In-Reply-To: <20070731022259.GC23999@winnie.fuhr.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31344_17483744.1185851594620" References: <32c009ea0707300911h74f588f6se7d03f5f28d598e5@mail.gmail.com> <1c66bda80707301535s24e675f4i483b06f91351289e@mail.gmail.com> <20070731022259.GC23999@winnie.fuhr.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/345 X-Sequence-Number: 26326 ------=_Part_31344_17483744.1185851594620 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/31/07, Michael Fuhr wrote: > > On Tue, Jul 31, 2007 at 10:35:25AM +1200, adey wrote: > > -- CAUTION: this query may impact system performance as you are > selecting > > from system tables > > What difference are you expecting that to make and why? It was a warning I received some years ago when I riginally discovered the query. Presumably reading from system tables competes with user queries for the system tables, slowing them down. I can't say I've ever noticed any impact when using it though. -- > Michael Fuhr > ------=_Part_31344_17483744.1185851594620 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 7/31/07, Michael Fuhr <mike@fuhr.org> wrote:
On Tue, Jul 31, 2007 at 10:35:25AM +1200, adey wrote:
> -- CAUTION: this query may impact system performance as you are selecting
> from system tables

What difference are you expecting that to make and why?
 
It was a warning I received some years ago when I riginally discovered the query. Presumably reading from system tables competes with user queries for the system tables, slowing them down. I can't say I've ever noticed any impact when using it though.

--
Michael Fuhr

------=_Part_31344_17483744.1185851594620--