X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 07B425E46C3 for ; Tue, 17 Aug 2004 15:32:48 -0300 (ADT) 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 95398-10 for ; Tue, 17 Aug 2004 18:32:45 +0000 (GMT) Received: from boutiquenumerique.com (gailleton-2-82-67-9-10.fbx.proxad.net [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id F3C5C5E46D5 for ; Tue, 17 Aug 2004 15:32:44 -0300 (ADT) Received: (qmail 4452 invoked from network); 17 Aug 2004 20:32:48 +0200 Received: from unknown (HELO musicbox) (192.168.0.2) by gailleton-2-82-67-9-10.fbx.proxad.net with SMTP; 17 Aug 2004 20:32:48 +0200 To: "Artimenko Igor" , pgsql-performance@postgresql.org Subject: Re: Postgres does not utilize indexes. Why? References: <20040817153555.85408.qmail@web11901.mail.yahoo.com> Message-ID: From: =?utf-8?Q?Pierre-Fr=C3=A9d=C3=A9ric_Caillaud?= Organization: =?utf-8?Q?La_Boutique_Num=C3=A9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 17 Aug 2004 20:33:21 +0200 In-Reply-To: <20040817153555.85408.qmail@web11901.mail.yahoo.com> User-Agent: Opera M2/7.53 (Linux, build 737) 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: 200408/261 X-Sequence-Number: 7897 > test where id = 50000;” Few times I added 100,000 records, applied cast the 50000 to int8 and it will use the index