In the world of NoSQL

The title says it all. HBase doesn’t perform to well with lots of regions, and I have a table which is rarely used and contains a lot of data, so I needed to up the region size to 16 GB for only that table.

Here’s how to do it:

hbase(main):002:0> disable 'ia'
0 row(s) in 362.8930 seconds
hbase(main):003:0> alter 'ia', {METHOD=>'table_att',MAX_FILESIZE=>'17179869184'}
0 row(s) in 0.0380 seconds
hbase(main):005:0> enable 'ia'
0 row(s) in 423.0210 seconds
§160 · juli 2, 2012 · Uncategorized · · [Print]

Comments are closed.