Re: [PERFORM] Exact index overhead

2008-04-19 Thread Scott Marlowe
On Thu, Apr 17, 2008 at 9:42 AM, Gunther Mayer <[EMAIL PROTECTED]> 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

Re: [PERFORM] Exact index overhead

2008-04-17 Thread Gunther Mayer
Pavan Deolasee wrote: On Thu, Apr 17, 2008 at 2:57 PM, Gunther Mayer <[EMAIL PROTECTED]> wrote: You see, all updates change most of the data fields but never ever touch the time field. Assuming correct and efficient behaviour of postgresql it should then also never touch the time index and i

Re: [PERFORM] Exact index overhead

2008-04-17 Thread Pavan Deolasee
On Thu, Apr 17, 2008 at 2:57 PM, Gunther Mayer <[EMAIL PROTECTED]> wrote: > > > You see, all updates change most of the data fields but never ever touch > the time field. Assuming correct and efficient behaviour of postgresql it > should then also never touch the time index and incur zero overhead

Re: [PERFORM] Exact index overhead

2008-04-17 Thread Heikki Linnakangas
Gunther Mayer wrote: You see, all updates change most of the data fields but never ever touch the time field. Assuming correct and efficient behaviour of postgresql it should then also never touch the time index and incur zero overhead in its presence, but is this really the case? If it somehow

Re: [PERFORM] Exact index overhead

2008-04-17 Thread Richard Huxton
Gunther Mayer wrote: You see, all updates change most of the data fields but never ever touch the time field. Assuming correct and efficient behaviour of postgresql it should then also never touch the time index and incur zero overhead in its presence, but is this really the case? If it somehow

[PERFORM] Exact index overhead

2008-04-17 Thread Gunther Mayer
Hi there, I have a table which looks similar to: CREATE TABLE accounting ( id text NOT NULL, time timestamp with time zone, data1 int, data2 int, data3 int, data4 int, data5 int, data6 int, data7 int, data8 int, state int CONSTRAINT accounting_pkey PRIMARY KEY (id), ) The table has