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