how to design hbase schema

在作以前可想一下如下問題: spa

  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?
相關文章
相關標籤/搜索