ldb - RocksDB Tool commands MUST specify --db= when necessary commands can optionally specify --env_uri= or --fs_uri= if necessary --secondary_path= to open DB as secondary instance. Operations not supported in secondary instance will fail. The following optional parameters control if keys/values are input/output as hex or as plain strings: --key_hex : Keys are input/output as hex --value_hex : Values are input/output as hex --hex : Both keys and values are input/output as hex The following optional parameters control the database internals: --column_family= : name of the column family to operate on. default: default column family --ttl with 'put','get','scan','dump','query','batchput' : DB supports ttl and value is internally timestamp-suffixed --try_load_options : Try to load option file from DB. Default to true if db is specified and not creating a new DB and not open as TTL DB. Can be set to false explicitly. --disable_consistency_checks : Set options.force_consistency_checks = false. --ignore_unknown_options : Ignore unknown options when loading option file. --bloom_bits= --fix_prefix_len= --compression_type= --compression_max_dict_bytes= --block_size= --auto_compaction= --db_write_buffer_size= --write_buffer_size= --file_size= --enable_blob_files : Enable key-value separation using BlobDB --min_blob_size= --blob_file_size= --blob_compression_type= --enable_blob_garbage_collection : Enable blob garbage collection --blob_garbage_collection_age_cutoff= --blob_garbage_collection_force_threshold= --blob_compaction_readahead_size= Data Access Commands: put [--create_if_missing] [--ttl] get [--ttl] batchput [ ] [..] [--create_if_missing] [--ttl] scan [--from] [--to] [--ttl] [--timestamp] [--max_keys=q] [--start_time=:- is inclusive] [--end_time=:- is exclusive] [--no_value] delete singledelete deleterange query [--ttl] Starts a REPL shell. Type help for list of available commands. approxsize [--from] [--to] checkconsistency list_file_range_deletes [--max_keys=] : print tombstones in SST files. Admin Commands: dump_wal --walfile= [--header] [--print_value] [--write_committed=true|false] compact [--from] [--to] reduce_levels --new_levels= [--print_old_levels] change_compaction_style --old_compaction_style= --new_compaction_style= dump [--from] [--to] [--ttl] [--max_keys=] [--timestamp] [--count_only] [--count_delim=] [--stats] [--bucket=] [--start_time=:- is inclusive] [--end_time=:- is exclusive] [--path=] [--decode_blob_index] [--dump_uncompressed_blobs] load [--create_if_missing] [--disable_wal] [--bulk_load] [--compact] manifest_dump [--verbose] [--json] [--path=] update_manifest [--update_temperatures] MUST NOT be used on a live DB. file_checksum_dump [--path=] get_property list_column_families create_column_family --db= drop_column_family --db= dump_live_files [--decode_blob_index] [--dump_uncompressed_blobs] idump [--from] [--to] [--input_key_hex] [--max_keys=] [--count_only] [--count_delim=] [--stats] [--decode_blob_index] list_live_files_metadata [--sort_by_filename] repair [--verbose] backup [--backup_env_uri | --backup_fs_uri] [--backup_dir] [--num_threads] [--stderr_log_level=] restore [--backup_env_uri | --backup_fs_uri] [--backup_dir] [--num_threads] [--stderr_log_level=] checkpoint [--checkpoint_dir] write_extern_sst ingest_extern_sst [--move_files] [--snapshot_consistency] [--allow_global_seqno] [--allow_blocking_flush] [--ingest_behind] [--write_global_seqno] unsafe_remove_sst_file MUST NOT be used on a live DB.