Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 6268C2E0059 for ; Tue, 6 May 2008 12:38:34 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 93775-07-4 for ; Tue, 6 May 2008 12:38:29 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.229]) by developer.postgresql.org (Postfix) with ESMTP id F2EC62E0060 for ; Tue, 6 May 2008 12:38:25 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 76so164622wra.10 for ; Tue, 06 May 2008 08:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=FGRrOtE548ezAN6xIVYxDlhmROFy1clXEur7+Gkm9OM=; b=XROXcT9W4nrEGGz9juQB9nbmkJiLwGa3hdusHQLoU4I1Sjdh1/0FPhSro7FHDxhuwSaBxQxqyUszt7FQNTXJQkjeeRH/u1Eubng3UWkfTu+ajTxKezgmNemsrB88vf0oGoqTnAbyUM09CaTdlugBgFU2RAGvnBLZPgv9qI/LwMA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mdWtYyfjw2Ydou0ayJs8BiHptH528x6kFsO/FPMmTqMtkauhiC9ef2j4RPYRRLTas2y9e2/+gHxhA66iOtfzHZFZ0gcz3ZLRhSCuod4tgvUV27ZXgH3RihURow/z1IEXJReQrGGoFi6/7QYcFNk0r8vizOQXxRLtr5/pope81SY= Received: by 10.115.77.1 with SMTP id e1mr825945wal.208.1210088303999; Tue, 06 May 2008 08:38:23 -0700 (PDT) Received: by 10.114.103.11 with HTTP; Tue, 6 May 2008 08:38:23 -0700 (PDT) Message-ID: <1d4e0c10805060838i5927b15bm26f9d9e2dac23520@mail.gmail.com> Date: Tue, 6 May 2008 17:38:23 +0200 From: "Guillaume Smet" To: "Antoine Baudoux" Subject: Re: multiple joins + Order by + LIMIT query performance issue Cc: pgsql-performance@postgresql.org In-Reply-To: <938EC908-FB9A-4BFA-950A-053BE3C87085@taktik.be> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <938EC908-FB9A-4BFA-950A-053BE3C87085@taktik.be> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/82 X-Sequence-Number: 30050 Antoine, On Tue, May 6, 2008 at 5:03 PM, Antoine Baudoux wrote: > "Limit (cost=23981.18..23981.18 rows=1 width=977)" > " -> Sort (cost=23981.18..23981.18 rows=1 width=977)" > " Sort Key: this_.c_date" Can you please provide the EXPLAIN ANALYZE output instead of EXPLAIN? Thanks. -- Guillaume