天天看点

how to design hbase schema

在做之前可想一下以下问题:

  1. How many column families should the table have? 
  2. What data goes into what column family?
  3. How many columns should be in each column family? 
  4. What should the column names be? Although column names don’t have to be
  5. defined on table creation, you need to know them when you write or read data.
  6. What information should go into the cells?
  7. How many versions should be stored for each cell?
  8. What should the rowkey structure be, and what should it contain?

转载于:https://my.oschina.net/u/866190/blog/266409

继续阅读