Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 04B856324BE for ; Wed, 21 Jan 2009 11:42:17 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 09860-06 for ; Wed, 21 Jan 2009 11:42:13 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by mail.postgresql.org (Postfix) with ESMTP id 1D77E632417 for ; Wed, 21 Jan 2009 11:42:13 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-85-214-61.bk4-dsl.surnet.cl [200.85.214.61]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id n0LFkYMM007133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Jan 2009 07:46:37 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 181C647CDA; Wed, 21 Jan 2009 12:40:46 -0300 (CLST) Date: Wed, 21 Jan 2009 12:40:46 -0300 From: Alvaro Herrera To: Michael Monnerie Cc: pgsql-admin@postgresql.org Subject: Re: Why is that index not used? Message-ID: <20090121154046.GG4038@alvh.no-ip.org> References: <200901211634.42228@zmi.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200901211634.42228@zmi.at> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Wed, 21 Jan 2009 07:46:37 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/96 X-Sequence-Number: 31143 Michael Monnerie wrote: > I know I'm pedantic today but I have logs enabled to see every query > done, and those who are called often should be as quick as possible, > where they aren't - and I want to understand why... What Postgres version is this? -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.