Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 806A59FB571 for ; Fri, 18 May 2007 01:53:58 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 59814-01 for ; Fri, 18 May 2007 01:53:53 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by postgresql.org (Postfix) with ESMTP id 6E4459FB20D for ; Fri, 18 May 2007 01:53:53 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id d17so192724and for ; Thu, 17 May 2007 21:53:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=guUZkc6+gVmYLiwt8yT/Da1zlJRy25HViB2N1yEHXPQZoQ5qmhc7PTAE2aUJorrEoWkagZ3PbYTI27u4boXxjMXtmC47ZClRgmCrV3UmUF5VrW0TOLHXnUN/Mfyi/hjKXZnWsrm3CoirRtATtnIKu2rRa7xRd4fz82MX4hH/dXQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nZGjciJ9NT3ADgg5QFjeBSUDpKlWx+tifZmy83cNaptDZe5Knh76VnaesQGAmNrITZqDvuU8crmAzNNJRR4ijezX2SzXQl2sSE9ciY3cPrV2+stEfScoiycUNp2fCI4jx7ueMusYrQbdKewiDunNzZPfcx95vnNM2Y5e73r9MQ4= Received: by 10.100.240.19 with SMTP id n19mr830506anh.1179464032863; Thu, 17 May 2007 21:53:52 -0700 (PDT) Received: by 10.100.41.18 with HTTP; Thu, 17 May 2007 21:53:52 -0700 (PDT) Message-ID: Date: Thu, 17 May 2007 23:53:52 -0500 From: "Jaime Casanova" To: "Heikki Linnakangas" Subject: Re: Maintaining cluster order on insert Cc: "Jim C. Nasby" , "Bruce Momjian" , PostgreSQL-patches In-Reply-To: <464B15EF.4000808@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200705152223.l4FMNJa17969@momjian.us> <464A33AB.1050401@enterprisedb.com> <20070516003810.GI20707@nasby.net> <464B15EF.4000808@enterprisedb.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/319 X-Sequence-Number: 2419 On 5/16/07, Heikki Linnakangas wrote: > Jim C. Nasby wrote: > > What about adding the ability to ask the FSM for a page that's near a > > given page? That way if you did have to go to the FSM you could at least > > try and insert close to the page you originally wanted. > > Yeah, there's always room for improvement. I made the patch when I was > working on clustered indexes, and was mostly concerned about getting > inserts to the same page as other tuples with similar values so that the > clustered index stays clustered. > the patch doesn't apply in cvs... you'll need to update it... -- regards, Jaime Casanova "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning." Richard Cook