X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.225.181]) by svr1.postgresql.org (Postfix) with ESMTP id 75C08D1C4DC; Tue, 22 Jul 2003 17:41:39 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr5.postgresql.org [64.117.225.181]) (amavisd-new, port 10024) with ESMTP id 92251-02; Tue, 22 Jul 2003 17:41:28 +0000 (GMT) Received: from davinci.ethosmedia.com (unknown [209.10.40.251]) by svr1.postgresql.org (Postfix) with ESMTP id E3735D1C4BF; Tue, 22 Jul 2003 14:41:27 -0300 (ADT) Received: from [66.219.92.2] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3244567; Tue, 22 Jul 2003 10:41:45 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: "Mendola Gaetano" , , Subject: Re: [PERFORM] Wrong plan or what ? Date: Tue, 22 Jul 2003 10:40:28 -0700 User-Agent: KMail/1.4.3 References: <00c101c35074$1e5f5b20$152aa8c0@GMENDOLA2> In-Reply-To: <00c101c35074$1e5f5b20$152aa8c0@GMENDOLA2> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200307221040.28653.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/236 X-Sequence-Number: 9576 Gaetano, > SELECT * from user_logs where id_user in ( > 10943, 10942, 10934, 10927, 10910, 10909 > ); > [SNIPPED] > Why the planner or the executor ( I don't know ) do not follow > the same strategy ? It is, actually, according to the query plan.=20=20=20 Can you post the EXPLAIN ANALYZE for the above query? --=20 -Josh Berkus Aglio Database Solutions San Francisco