Salesforce

What determines the number of entries in the root index block?

« Go Back

Information

 
TitleWhat determines the number of entries in the root index block?
URL NameP141085
Article Number000136312
EnvironmentAll Supported Operating Systems
Progress/OpenEdge Versions
Question/Problem Description
What determines the number of entries in the root index block?
How is the root index block changed as new entries are made to the index?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

How is the root index block changed

Initially the index is empty and only has the root block.
As entries are added to the index, they get added to the root block

Eventually, the root block becomes full and needs to be split to accommodate new entries.

When that happens, another level is added to the index. The root block will get two entries that point to two leaf level blocks below it. Each leaf level block will then have a bracketed range of the index entries.

As more index entries are added, one of the leaf level blocks will become full and will be split into two leaf level blocks. A new entry will be added to the root block to point to the new leaf level block.

As more entries are added to the index, more leaf level block splits will occur and new entries for them will be added to the root block. Eventually the root block will become full again and it will be split, adding a first interior level into the index.

Now there are three levels: the root block, two interior level blocks, and the leaf level blocks. The root block will once again have only a few entries which point to the two intermediate level blocks.

As more index entries are added, more block splits will occur and eventually the root block will become full again at which point another interior level will be added and the root block will end up with only a few entries.

So as entries are added, the root block goes from almost empty to full and then from full to almost empty.
 
Workaround
Notes
Keyword Phrase
Last Modified Date10/13/2020 12:09 PM

Powered by