X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 569709DC835 for ; Thu, 15 Dec 2005 20:06:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13716-01 for ; Thu, 15 Dec 2005 20:06:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 32FB49DC820 for ; Thu, 15 Dec 2005 20:06:35 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jBG06dUe018417; Thu, 15 Dec 2005 19:06:39 -0500 (EST) To: Michael Fuhr cc: Merlin Moncure , pgsql-performance@postgresql.org, Carlos Benkendorf Subject: Re: How much expensive are row level statistics? In-reply-to: <20051215234448.GA47382@winnie.fuhr.org> References: <6EE64EF3AB31D5448D0007DD34EEB3417DDAC9@Herge.rcsinc.local> <2506.1134428461@sss.pgh.pa.us> <20051213010751.GA63416@winnie.fuhr.org> <1667.1134444045@sss.pgh.pa.us> <20051215234448.GA47382@winnie.fuhr.org> Comments: In-reply-to Michael Fuhr message dated "Thu, 15 Dec 2005 16:44:48 -0700" Date: Thu, 15 Dec 2005 19:06:39 -0500 Message-ID: <18416.1134691599@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.002 required=5 tests=[AWL=0.002] X-Spam-Score: 0.002 X-Spam-Level: X-Archive-Number: 200512/361 X-Sequence-Number: 16182 Michael Fuhr writes: > Does the backend support, or could it be easily modified to support, > a mechanism that would post the command string after a configurable > amount of time had expired, and then continue processing the query? Not really, unless you want to add the overhead of setting a timer interrupt for every query. Which is sort of counterproductive when the motivation is to reduce overhead ... (It might be more or less free if you have statement_timeout set, since there would be a setitimer call anyway. But I don't think that's the norm.) regards, tom lane