Leaf and range scan mode settings

If a table has more than one attached index, the B-tree scanner uses the leaf scan mode. If you want small indexes to be scanned by the leaf scan method, set the rangesize option of the BTSCANNER configuration parameter to 100.

If you decide to enable range scan mode when a single index exists in the partition, set rangesize option of the BTSCANNER configuration parameter to the minimum size that a partition must have to be scanned using this mode. Specify the size in kilobytes.

The following example specifies that:

BTSCANNER num=2,threshold=50000,rangesize=100,compression=default

Copyright© 2020 HCL Technologies Limited