Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 73728643034 for ; Wed, 21 Jul 2010 04:54:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 81493-05-3 for ; Wed, 21 Jul 2010 07:53:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mail.postgresql.org (Postfix) with ESMTP id 942E164300C for ; Wed, 21 Jul 2010 04:53:56 -0300 (ADT) Received: from webserv.wug.de ([194.25.154.138]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MeMN5-1OPCKi169X-00Pa8P; Wed, 21 Jul 2010 09:53:55 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1ObU7l-0000C5-00 for pgsql-performance@postgresql.org; Wed, 21 Jul 2010 09:53:53 +0200 Date: Wed, 21 Jul 2010 09:53:53 +0200 From: "A. Kretschmer" To: pgsql-performance@postgresql.org Subject: Re: Using more tha one index per table Message-ID: <20100721075353.GB20566@a-kretschmer.de> References: <4C46A23B.2090606@acteos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C46A23B.2090606@acteos.com> X-OS: Debian/GNU Linux - weil ich es mir Wert bin! User-Agent: Mutt/1.5.9i X-Provags-ID: V02:K0:cZXZn+E2x/ovozJilC19mIuna77tT70bOP9a1Tm4RX3 SNyriNM6Js6hsM5caDGR4Rnevn4nh8Zhhy6m/TqtwU1fi0aaDs fpTRsBZZnqmtzGuhklMsrjs1mCd1HCOt3rFtoXCsDAx0qG+ujv iZEdTV9e41MVRTiMPPwd8HkMKHiFTHlhJJSwcOKckov2FVuX7h BfmET/26/whCwVbDta7ig== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.81 tagged_above=-10 required=5 tests=BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, T_FRT_CONTACT=0.01 X-Spam-Level: X-Archive-Number: 201007/296 X-Sequence-Number: 39685 In response to Elias Ghanem : > Hi, > I have a question concerning the uses of indexes in Postgresql. > I red that in PG a query can not use more than one index per table: "a query or > data manipulation command can use at most one index per table". That's not true, but it's true for MySQL, afaik. Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99