sqlf validate-disk-store

Verifies the health of an offline disk store and provides information about the tables using that disk store.


sqlf validate-disk-store <diskStoreName> <directory>+


The sqlf validate-disk-store command verifies the health of your offline disk store and gives you information about the tables using that disk store, the total rows, and the number of records that would be removed if you compacted the store. Use this command as follows:
  • Before compacting an offline disk store to help decide whether it's worth doing.
  • Before restoring a disk store.
  • Any time you want to be sure the disk store is in good shape.

The name of disk store to be validated

The path which stores the disk store files.


sqlf validate-disk-store ds1 hostB/bupDirectory

This command displays output similar to:

/partitioned_region entryCount=6 bucketCount=10
Disk store contains 1 compactable records.
Total number of region entries in this disk store is: 6