Home | Previous Page | Next Page   Managing Databases That Use the R-Tree Secondary Access Method > Checking R-Tree Indexes with the oncheck Utility >

Checking Pages with the -pk and -pK Options

The -pk and -pK options display detailed information about the root and branch pages in an R-tree index. These options also display minimal information about the leaf pages.

The -pk and -pK options of the oncheck utility display the following type of information about root and branch pages:

The following example shows how to use the -pK option:

oncheck -pK rtree_db:polygons

The following partial example shows the type of output that oncheck -pK displays:

Node: Level 0, Pagenum 31, Usage  51.2%, No. of Children 10, right -1
X(2.49752E-05,1) Y(-1,1) Z(-1,1) A(any) T(any)
Child 10, Fullness 0x0
X(0.000161568,1) Y(-1,1) Z(-1,1) A(any) T(any)
.
.
.
Node: Level 1, Pagenum 136, Usage  37.7%, No. of Children 7, right -1
Child 104, Fullness 0x0
X(0.0547637,0.73305) Y(-1,-0.670752) Z(-0.583419,0.588895) A(any) T(any)
.
.
.

The example shows output for a root page (level 0) and a branch page (level 1).

The example displays only one child for each page; the output for the remaining children is similar.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]