Chapter 6. HBase and Schema Design

Table of Contents

6.1. Monotonically Increasing Row Keys/Timeseries Data

6.1.  Monotonically Increasing Row Keys/Timeseries Data

See this comic by IKai Lan on why monotically increasing row keys are problematic in BigTable-like datastores: monotonically increasing values are bad in BigTable-like stores.

If you need to upload time series data into HBase, you should study OpenTSDB as a successful example. It has a page describing the schema it uses in HBase. You might also consider just using OpenTSDB altogether.