HBase, mail # user - Re: Question on the number of column families - 2014-08-05, 22:18
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: Question on the number of column families
One way to model the data would be to use a composite key that is made
up of the RDMS primary_key + "." + field_name. Then just have a single
column that contains the value of the field.
Individual field lookups will be a simple get and to get all of fields
of a record, you would do a scan with startrow => primary_key + ".!",
endrow => primary_key + ".~"

Alok

 
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