Re: No heap lookups on index - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: No heap lookups on index
Date
Msg-id 1137636148.15377.292.camel@home
Whole thread Raw
In response to Re: No heap lookups on index  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
On Thu, 2006-01-19 at 09:18 +0800, Christopher Kings-Lynne wrote:
> > Oracle does, but you pay in other ways. Instead of keeping dead tuples
> > in the main heap, they shuffle them off to an 'undo log'. This has some
> > downsides:
> > 
> > Rollbacks take *forever*, though this usually isn't much of an issue
> > unless you need to abort a really big transaction.
> 
> It's a good point though.  Surely a database should be optimised for the 
> most common operation

Yes.

>  - commits, rather than rollbacks?

Commits are most common because most databases are optimized for them.
Lots of programs go through a ton pre-checking to avoid a rollback that
they don't need to do under PostgreSQL.

I've found that for small systems I tend to rely very heavily on
frequent vacuums and database level exceptions for virtually all data
checking. Rollbacks are nearly as common as commits in those
environments if not more-so.
-- 



pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: TODO-Item: B-tree fillfactor control
Next
From: Bruce Momjian
Date:
Subject: Re: pgxs/windows