Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 51D662E006E for ; Sat, 19 Apr 2008 13:48:46 -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 86724-07 for ; Sat, 19 Apr 2008 13:48:44 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by developer.postgresql.org (Postfix) with ESMTP id DFA152E0033 for ; Sat, 19 Apr 2008 13:48:43 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id n7so1679372wag.5 for ; Sat, 19 Apr 2008 09:48:42 -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=87gszbKeN27gkABaFfgi+h44TVpPNv0OTaPiqzIVNLE=; b=qyHUbbmdT2FqJkVNIfJ4GOYu8lsmScAgVkESfs5W9aIz9fmdtq9IQn7jxkpBXxolo51b8oXV5VBunp8umtP+5Cf3dS/1opk3FRUiepokIL10XlvXFtcatbs3H94D4qO5xZ8V9j8mX/7Pk4MHsj8nVL6ENgthvZGefEwhUdU1N0w= 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=Rau4KQ1rqRPXIdAFcEJwKn8PBq8L776kg8NgRuurGu3BCrjwhY8z3v2+n+wjXxbr8PTgBwGAT+0jZ1QZRDzeePinu8jYFn2YKGAAfpmvvwt+e3WV6a3kiSBCGGcTxagx9N5Usx9lblPEJmigy8c7XjZkBe0/E3rqSaSg2dj3kgc= Received: by 10.114.241.15 with SMTP id o15mr3986781wah.164.1208623722818; Sat, 19 Apr 2008 09:48:42 -0700 (PDT) Received: by 10.114.137.7 with HTTP; Sat, 19 Apr 2008 09:48:42 -0700 (PDT) Message-ID: Date: Sat, 19 Apr 2008 10:48:42 -0600 From: "Scott Marlowe" To: "Gunther Mayer" Subject: Re: Exact index overhead Cc: pgsql-performance@postgresql.org In-Reply-To: <48076FCD.2090100@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48071807.8000409@gmail.com> <2e78013d0804170316v2b62d7afy87c3753fb0b55842@mail.gmail.com> <48076FCD.2090100@googlemail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/286 X-Sequence-Number: 29779 On Thu, Apr 17, 2008 at 9:42 AM, Gunther Mayer wrote: > Pavan Deolasee wrote: > > > 2. The existing block should have enough free space to accommodate the > > new version > > A less than 100 fillfactor may help you given your rate of updates. > > > > > I see, as soon as a new block is required for the new version the index > pointer needs updating too, I understand now. But at least in the common > case of space being available the index overhead is reduced to zero. I can > live with that. Quick clarification, it's the table, not the index that has to have free space for the new row version. This rewards good normalization practices (narrower rows) and a lower fill factor.