Subject RE: [Firebird-Architect] Index structures
Author Jim Starkey
At 11:27 AM 6/10/03 +0200, Skopalik Slavomir wrote:
>Hi,
>My teoretical think:
>Small linear index for fast acces (probably slow insert )
>It is useful for small tables (aprox. 10 000 records, short PK like smallint).
>This table is usualy static but much reading.
>Acces to index by split interval algorithm.
>Index will be contain sorted values and data pointers.


Data values in the index are a real can of worms for a multi-generational
database. To figure out what version you're looking at, the record version
number must be written in the index node, meaning the index must be
updated on every record update, including those in which the index is
stable.

Almost no gain, ever, and a huge, huge performance hit on updates.


Jim Starkey