Huawei-Hadoop / hindex

Secondary Index for HBase
Apache License 2.0
591 stars 286 forks source link

Optimization in the column data getting stored in single column of index table #28

Open anoopsjohn opened 11 years ago

anoopsjohn commented 11 years ago

We store some 6 bytes of data with every KV getting added into the index table. (One int and one short) We can use vint here? Mostly these int and short can be represented using 1 bytes each. So in effect we can save 4 bytes with each KV in the index table.

chrajeshbabu commented 11 years ago

+1

anoopsjohn commented 9 years ago

When we do removal of padding bytes from index rk, we can do this also. Both basically breaks the BC on old data.