Akshay Tayal
2016-10-12 18:27:22 UTC
Hi,
I need to get the key range in each sst table file.
I am using getProperty("leveldb.sstables") to get this information. But I
am not able to understand the output of this function.
Can someone help me on this?
Here is the sample output of get Property("leveldb.sstables") :
--- level 0 ---
480:2136726['213240' @ 286796 : 1 .. '225822' @ 274214 : 1]
10:131['PA' @ 2 : 1 .. 'PA' @ 2 : 1]
7:131['PA' @ 1 : 1 .. 'PA' @ 1 : 1]
--- level 1 ---
479:2136607['200659' @ 299377 : 1 .. '21324' @ 478712 : 1]
--- level 2 ---
--- level 3 ---
--- level 4 ---
--- level 5 ---
--- level 6 ---
Here is the contents of leveldb directory:
***@XXX-VirtualBox:XXX$ ls
000007.sst 000479.sst 000517.log LOCK LOG.old MANIFEST-000516
000010.sst 000480.sst CURRENT LOG lost
I need to get the key range in each sst table file.
I am using getProperty("leveldb.sstables") to get this information. But I
am not able to understand the output of this function.
Can someone help me on this?
Here is the sample output of get Property("leveldb.sstables") :
--- level 0 ---
480:2136726['213240' @ 286796 : 1 .. '225822' @ 274214 : 1]
10:131['PA' @ 2 : 1 .. 'PA' @ 2 : 1]
7:131['PA' @ 1 : 1 .. 'PA' @ 1 : 1]
--- level 1 ---
479:2136607['200659' @ 299377 : 1 .. '21324' @ 478712 : 1]
--- level 2 ---
--- level 3 ---
--- level 4 ---
--- level 5 ---
--- level 6 ---
Here is the contents of leveldb directory:
***@XXX-VirtualBox:XXX$ ls
000007.sst 000479.sst 000517.log LOCK LOG.old MANIFEST-000516
000010.sst 000480.sst CURRENT LOG lost
--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.