X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D521AD70A1 for ; Fri, 14 Oct 2005 04:31:38 -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 75875-10 for ; Fri, 14 Oct 2005 07:31:34 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by svr1.postgresql.org (Postfix) with ESMTP id 4068CD6DC2 for ; Fri, 14 Oct 2005 04:31:35 -0300 (ADT) Received: from p508E5D07.dip.t-dialin.net [80.142.93.7] (helo=swtexchange2.technology.de) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML2ov-1EQK2R2VmC-0006MX; Fri, 14 Oct 2005 09:31:35 +0200 content-class: urn:content-classes:message Subject: Re: Optimizer misconfigured ? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Oct 2005 09:31:34 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 Message-ID: <16F953410A0F1346848DCB476A989CFE34B4@swtexchange2.technology.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PERFORM] Optimizer misconfigured ? Thread-Index: AcXP4Sr/TDBCFwcdQBujqvd+eRnPWAArSx2A From: =?iso-8859-1?Q?N=F6rder-Tuitje=2C_Marcus?= To: "Richard Huxton" Cc: X-Provags-ID: kundenserver.de abuse@kundenserver.de login:24478085a861b01e05bdc3b8f80dc176 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.193 required=5 tests=[AWL=0.143, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200510/232 X-Sequence-Number: 15000 Hi, meanwhile I have received the hint to make postgres use the index via SET ENABLE_SEQSCAN=3DFALSE; which fits perfectly. The execution plan now indicates full use of = index. Nevertheless this is merely a workaround. Maybe the io-costs are = configured to cheap. thanks :-) -----Urspr=FCngliche Nachricht----- Von: Richard Huxton [mailto:dev@archonet.com] Gesendet: Donnerstag, 13. Oktober 2005 12:22 An: N=F6rder-Tuitje, Marcus Cc: pgsql-performance@postgresql.org Betreff: Re: [PERFORM] Optimizer misconfigured ? N=F6rder-Tuitje wrote: >=20 > Hello,=20 >=20 > I have a strange effect on upcoming structure : People will be wanting the output of EXPLAIN ANALYSE on that query. They'll also ask whether you've VACUUMed, ANALYSEd and configured your=20 postgresql.conf correctly. --=20 Richard Huxton Archonet Ltd