Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 0E03B2E0046 for ; Thu, 22 May 2008 13:50:39 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 85346-06 for ; Thu, 22 May 2008 13:50:34 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.228]) by developer.postgresql.org (Postfix) with ESMTP id A64492E002D for ; Thu, 22 May 2008 13:50:35 -0300 (ADT) Received: by qb-out-0506.google.com with SMTP id a39so336791qbd.17 for ; Thu, 22 May 2008 09:50:34 -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=TbpjzP4ZfZNFD7rIeFCaKvLoyanVv8a2YP4qpZWwdSQ=; b=TZ3a0Y+9zg3sGw1qkD6nUOgCd5Ck6eCcFvF0bc6uV0yiFUdDFI8SFS1t+/rw1xPvjgr2XDnPJmfTTsDS2U1Sc1kJBc9UBeVIPhAkLwo+CG6ogDiMtcgHn96jdSSvzTpkKXXo+j7qh6SI8RrbhQCKTKQl7m2YZ4ZeFx6dPHo7gl4= 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=wxjFf//Dn1veIQW3c2VV4fYxkuOr+8bDmPref53o8QcCCcVcUMYD9K0kjQynS/3fbuCkS64s4bkeXw7Ch/0j0kXeSRvzcHUXT8uUD4AQzXsj+fsF2LbF9f0obsSv0e2O/GEPQnQuFVDdChVh2JMl0AiamzKmscKbY1GYT7P9s88= Received: by 10.114.134.20 with SMTP id h20mr395676wad.91.1211475033866; Thu, 22 May 2008 09:50:33 -0700 (PDT) Received: by 10.114.137.7 with HTTP; Thu, 22 May 2008 09:50:33 -0700 (PDT) Message-ID: Date: Thu, 22 May 2008 10:50:33 -0600 From: "Scott Marlowe" To: "Guillaume Smet" Subject: Re: Index creation time and distribution Cc: pgsql-performance In-Reply-To: <1d4e0c10805220532v514c2bd5je4c6c20ceb485495@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1d4e0c10805220532v514c2bd5je4c6c20ceb485495@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/307 X-Sequence-Number: 30275 On Thu, May 22, 2008 at 6:32 AM, Guillaume Smet wrote: > Hi -performance, > > > LOG: duration: 1636301.317 ms statement: CREATE INDEX > index_journal_clazz ON journal USING btree (clazz); > LOG: duration: 20613.009 ms statement: CREATE INDEX > index_journal_date ON journal USING btree (date); Just curious, what happens if you create the date index first, then the clazz one?