Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> When to expand vertically vs. horizontally in Hbase

Copy link to this message
Re: When to expand vertically vs. horizontally in Hbase
If they are accessed mostly together they should all be a single column family. The key with tall or wide is based on the total byte size of each KeyValue. Your cells would need to be quite large for 50 to become a problem. I still would recommend using a single CF though.

Sent from iPhone

On Tue, Jul 2, 2013 at 9:33 AM, Aji Janis <[EMAIL PROTECTED]> wrote:

> The section on Rows vs. Columns at
> http://hbase.apache.org/book/schema.smackdown.html talks about expanding
> horizontally vs. vertically.
> Can someone please explain to me when to choose rows vs. columns. The
> sections reads, "To be clear, this guideline is in the context is in
> extremely wide cases, not in the standard use-case where one needs to store
> a few dozen or hundred columns" so if I had 5 column families with 10
> qualifiers each, accessed mostly together is this a case for wider or
> taller table? Thanks for any help in advance.