RE: Berkeley DB... - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: Berkeley DB...
Date
Msg-id 8F4C99C66D04D4118F580090272A7A23018BF7@SECTORBASE1
Whole thread Raw
In response to Berkeley DB...  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
Responses Re: Berkeley DB...
List pgsql-hackers
> > And, while we are on heap subject - using index (RECNO) for heap
> > means that all our secondary-index scans will performe TWO
> > index scans - first, to find recno in secondary-index, and
> > second, to find heap tuple using recno (now indices give us
> > TID, which is physical address).
> 
> Yes, that was one of my questions.  Why use recno at all?  We already
> have heap access which is very fast.  Why switch to SDB which gives us
> a recno ordering of heap that doesn't do us any real good, except to
> allow tuple update without changing indexes.

But if we'll use our heap AM, then we'll have to implement redo/undo
for it... no sence to switch to SDB for btree/hash WAL support -:)

Vadim


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Berkeley DB...
Next
From: Bruce Momjian
Date:
Subject: Re: Berkeley DB...