Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Row Key Design in time based aplication


Copy link to this message
-
Row Key Design in time based aplication
Hi,

I want to hold event log data in hbase but I couldn't decide row key. I must hold project id and time,I will use project ld and time combination while searching.

Row key can be below

ProjectId+timeInMs

In similiar application(open source TSDB) time is divided 1000 to round in this project.I can use this strategy but I don't know how we decide what divider must be?  1000 or 10000.

Why time is divided 1000 in this application? why didn't be hold without division?

Can you explain this strategy?
+
James Taylor 2013-02-17, 22:50
+
Michael Segel 2013-02-17, 23:18
+
Mohammad Tariq 2013-02-17, 23:30
+
James Taylor 2013-02-18, 01:19
+
Michael Segel 2013-02-18, 01:29
+
Asaf Mesika 2013-02-21, 22:49
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB