onstat -C command: Print B-tree scanner information
Use the -C command to display information about the B-tree scanner subsystem and each B-tree scanner thread.
>>-onstat-- -C--+-prof--+--------------------------------------><
+-hot---+
+-part--+
+-clean-+
+-range-+
+-map---+
+-alice-+
'-all---'
The following options are available with the onstat
-C command and can be combined:
- prof
- Prints the profile information for the system and each B-tree scanner thread. This is the default option.
- hot
- Prints the hot list index key in the order to be cleaned
- part
- Prints all partitions with index statistics
- clean
- Prints information about all the partitions that were cleaned or need to be cleaned
- range
- Prints the savings in pages processed by using index range scanning
- map
- Displays the current bitmaps for each index being cleaned by the alice cleaning method
- alice
- Displays the efficiency of the alice cleaning method option
- all
- Prints all onstat -C options
Example output using the prof option
Output description using the prof option
- Id
- BTSCANNER ID
- Prio
- Current priority of BTSCANNER
- Partnum
- The partition number for the index this thread is currently working on
- Cmd
- Command this thread is processing currently
Example output using the hot option
Output description using the hot option
- Partnum
- The partition number for an index
- Key
- Index Key
- Hits
- The current value of the Hit counter
- *
- Indicates that this partition has been cleaned during this hot list duration
Example output using the part option
Output description using the part option
- Partnum
- The partition number for an index
- Key
- Index Key
- Positions
- Number of times index has been read
- Compress
- Number of pages which have been compressed
- Split
- Number of splits that have occurred
- C
- Indicates partition is busy being cleaned
- N
- Index partition no longer eligible for cleaning
Example output using the clean option
Output description using the clean option
- Partnum
- The partition number for an index
- Key
- Index Key
- Dirty Hits
- Number of times a dirty page has been scanned
- Clean Time
- Total time spent, in seconds
- Pg Examined
- Number of pages examined by btscanner thread
- Items Del
- Number of items removed form this index
- Pages/Sec
- Number of pages examined per second
- C
- Indicates partition is busy being cleaned
- N
- index partition is no longer eligible for cleaning
Example Output
Output Description
- Partnum
- The partition number
- Key
- Index Key
- Low
- Low boundary for range scan
- High
- High boundary for index scan
- Size
- Size of index in pages
- Saving
- Percentage of time saved versus a full scan
- C
- Indicates partition is busy being cleaned
- N
- Index partition is no longer eligible for cleaning
Example Output
Output Description
- Partnum
- The partition number
- Key
- Index Key
- Map
- Alice bitmap
Example Output
Output Description
- Partnum
- The partition number for an index
- Mode
- The alice mode for the current partition
- BM_Sz
- The size allocated for the bitmap
- Used_Pg
- The size of the index in pages (used)
- Dirty_Pg
- Number of dirty pages
- # I/O
- Number of pages read
- Found
- Number of dirty pages found in reads
- Eff
- How efficient was the bitmap
- Adj
- Number of times the alice efficiency level for the partition was insufficient and was adjusted