pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Greg Stark <gsstark@mit.edu>
Subject: Re: Equivalent praxis to CLUSTERED INDEX?
Date: Sat, 28 Aug 2004 13:39:31 +0200
Message-ID: <41306EF3.2030304@bigfoot.com> (raw)
In-Reply-To: <87k6vjllve.fsf@stark.xeocode.com>
References: <200408280354.i7S3slb21543@candle.pha.pa.us>
	<87k6vjllve.fsf@stark.xeocode.com>

Greg Stark wrote:

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 
> 
>>>Don't you think this will permit also to avoid extra disk seek and cache
>>>invalidation? If you are updating the row (0,1) I think is less expensive
>>>put the new version in (0,2) instead of thousand line far from that point.
> 
> 
> Well if the other buffer "a thousand lines far from that point" is already in
> ram, then no, there's no penalty at the time for storing it there.

I was wandering about the cache invalidation, may be the ram is big enough but I
doubt about the cache, the recommendation in this case is to modify adjacent
memory address instead of jumping.


Regards
Gaetano Mendola





view thread (41+ messages)  latest in thread

Message-ID: <41306EF3.2030304@bigfoot.com>
Permalink:  ../41306EF3.2030304@bigfoot.com/
Also on:    postgresql.org/message-id/41306EF3.2030304@bigfoot.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mendola@bigfoot.com, gsstark@mit.edu
  Subject: Re: Equivalent praxis to CLUSTERED INDEX?
  In-Reply-To: <41306EF3.2030304@bigfoot.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