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 E4E2E9DD644 for ; Tue, 6 Dec 2005 17:35:28 -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 95521-09 for ; Tue, 6 Dec 2005 17:35:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 52D499DD61A for ; Tue, 6 Dec 2005 17:35:26 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 6DF2F30948; Tue, 6 Dec 2005 22:35:27 +0100 (MET) From: Ron Mayer X-Newsgroups: pgsql.performance Subject: Re: Missed index opportunity for outer join? Date: Tue, 06 Dec 2005 13:42:09 -0800 Organization: Hub.Org Networking Services Lines: 8 Message-ID: <439605B1.5070800@cheapcomplexdevices.com> References: <3267.1133822299@sss.pgh.pa.us> <4678.1133888239@sss.pgh.pa.us> <4395F1F3.1000803@cheapcomplexdevices.com> <15962.1133901211@sss.pgh.pa.us> <4395FF61.6060301@cheapcomplexdevices.com> <16502.1133904299@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Tom Lane User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en In-Reply-To: <16502.1133904299@sss.pgh.pa.us> To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/200 X-Sequence-Number: 16021 Tom Lane wrote: > If you have background tasks doing ANALYZEs then this explanation seems > plausible enough. I'm willing to accept it anyway ... Yup, there are such tasks. I could dig through logs to try to confirm or reject it; but I think it's reasonably likely that this happened. Basically, data gets added to that table as it becomes ready from other systems, and after each batch a vacuum analyze is run.