AW: Why vacuum?

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: "'Daniele Orlandi'" <daniele(at)orlandi(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: AW: Why vacuum?
Date: 2000-12-14 16:39:08
Message-ID: 11C1E6749A55D411A9670001FA687963368182@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> > > The tendency here seems to be towards an improved smgr.
> > > But, it is currently extremely cheap to calculate where a new row
> > > needs to be located physically. This task is *a lot* more expensive
> > > in an overwrite smgr.
>
> I don't agree. If (as I have proposed) the search is made in the
> background by a low priority process, you just have to lookup a cache
> entry to find out where to write.

If the priority is too low you will end up with the same behavior as current,
because the cache will be emptied by high priority multiple new rows,
thus writing to the end anyways. Conclusio: In those cases where overwrite would
be most advantageous (high volume modified table) your system won't work,
unless you resort to my concern and make it *very* expensive (=high priority).

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 2000-12-14 17:04:19 Re: vacuum verbose analyze lazy problem.
Previous Message Alfred Perlstein 2000-12-14 16:25:14 Re: Why vacuum?