check out the following, if it does not answer your question repost:
https://db.apache.org/derby/papers/btree_package.html

On 4/2/2014 1:32 AM, Daniel Stiefel wrote:
hello,

i have a question about the defragmentation/reogranisation of an
btree-index.

Situation:
I use derby version 10.10.x.
Try to implement interpolation-search (for an index with integer-keys)
in the LeafPages of the index-tree.
I extended the class StoredPage (org.apache.derby.impl.store.raw.data)
with two new fields.
I need to update these fields if a record of the Page is deleted
physically (not only marked as deleted).

Question:
When will an record of an index-page be, which is marked as deleted,
physically erased?
I found a defragmentConclomerate() Method in the class B2I
(org.apache.derby.impl.store.access.btree.index), but there is only an
error thrown.

regards
DanielStiefel

P.S. I hope I do everything right. it's my first time;)

Reply via email to