Editing Redis-cli --bigkeys
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 22: | Line 22: | ||
== Official example == | == Official example == | ||
+ | <pre> | ||
+ | # Scanning the entire keyspace to find biggest keys as well as | ||
+ | # average sizes per key type. You can use -i 0.01 to sleep 0.01 sec | ||
+ | # per SCAN command (not usually needed). | ||
+ | |||
+ | [00.00%] [[Biggest string]] found so far 'key-419' with 3 bytes | ||
+ | [05.14%] [[Biggest list]] found so far 'mylist' with 100004 items | ||
+ | [35.77%] [[Biggest string]] found so far 'counter:__rand_int__' with 6 bytes | ||
+ | [73.91%] [[Biggest hash]] found so far 'myobject' with 3 fields | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-------- summary ------- | -------- summary ------- | ||
Advertising: