Slide 14.6: An AVL tree (cont.)
Slide 14.8: Multilevel indexing
Home

A Paged Binary Tree


Each disk read produces a minimum of a single page—at least 512 bytes. Reading only a binary node wastes most of the data read from the disk. The paged binary tree attempts to address the problem by locating multiple binary nodes on the same disk page.

By dividing a binary tree into pages and then storing each page in a block of contiguous locations on disk, we should be able to reduce the number of seeks associated with any search.

The maximum number of seeks required for searching the paged binary tree is logK+1(N+1), assuming For example, if a file is with 134217727 keys and one single page holds 511 keys, the worst-case search performance for the three file structures is Paged binary trees reduce the number of disk accesses, however there are a lot of difficulties in maintenance (insertions and deletions).