Hi, In default region split policy, it first finds largest stores, then finds largest store files, and finally get split point (midkey) of the largest store file. Is there anyway to efficiently get all row-keys of a store files? I tried to use ResultScanner with setting start/end row key, but I found the time consumption of scan (scan execution and read scan record) is at least 100 times (100 ms) slower than directly get midkey (1 ms). Actually, I just want to get all row keys in a range, and I would like to use my own policy to group some row keys together. Since all data in my table has similar size. Any suggestion is appreciated.
-- View this message in context: http://apache-hbase.679495.n3.nabble.com/When-split-a-region-how-to-get-row-keys-efficiently-instead-of-using-midkey-tp4077492.html Sent from the HBase Developer mailing list archive at Nabble.com.