Search code examples
hbase

How do you calculate the size of a single row in hbase?


I am trying to figure out the size of a single row in HBase. I haven't found a way to do it online or through any of the hbase utils and I have used hbase hfile -mbsf to find out average row size and other statistics for an Hfile, but I am curious about a single row's size. Has anyone found a way to do this?


Solution

  • worked fine for me to calculate the size of single record
    http://prafull-blog.blogspot.com/2012/06/how-to-calculate-record-size-of-hbase.html