pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Gunther Mayer <gunther.mayer@googlemail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Exact index overhead
Date: Sat, 19 Apr 2008 10:48:42 -0600
Message-ID: <dcc563d10804190948o573612d0r51e3792574962b99@mail.gmail.com> (raw)
In-Reply-To: <48076FCD.2090100@googlemail.com>
References: <48071807.8000409@gmail.com>
	<2e78013d0804170316v2b62d7afy87c3753fb0b55842@mail.gmail.com>
	<48076FCD.2090100@googlemail.com>

On Thu, Apr 17, 2008 at 9:42 AM, Gunther Mayer
<gunther.mayer@googlemail.com> 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.



view thread (6+ messages)

Message-ID: <dcc563d10804190948o573612d0r51e3792574962b99@mail.gmail.com>
Permalink:  ../dcc563d10804190948o573612d0r51e3792574962b99@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10804190948o573612d0r51e3792574962b99@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: scott.marlowe@gmail.com, gunther.mayer@googlemail.com
  Subject: Re: Exact index overhead
  In-Reply-To: <dcc563d10804190948o573612d0r51e3792574962b99@mail.gmail.com>
  References: <48071807.8000409@gmail.com> <2e78013d0804170316v2b62d7afy87c3753fb0b55842@mail.gmail.com> <48076FCD.2090100@googlemail.com> <dcc563d10804190948o573612d0r51e3792574962b99@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox