HBase row key design for monotonically increasing keys

后端 未结 4 1606
北荒
北荒 2021-02-14 07:11

I\'ve an HBase table where I\'m writing the row keys like:

~1
~2
~3
...
~9
~10
4条回答
  •  青春惊慌失措
    2021-02-14 07:55

    monotonically increasing keys isnt a good schema for hbase. you can read more here: http://hbase.apache.org/book/rowkey.design.html

    there also a link there to OpenTSDB that solve this problem.

提交回复
热议问题