12.06.2015 Views

HBASE SCHEMA DESIGN - ApacheCon

HBASE SCHEMA DESIGN - ApacheCon

HBASE SCHEMA DESIGN - ApacheCon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Hashing vs. Sequential Keys<br />

• Uses hashes for best spread<br />

• Use for example MD5 to be able to recreate key<br />

• Key = MD5(customerID)<br />

• Counter productive for range scans<br />

• Use sequential keys for locality<br />

• Makes use of block caches<br />

• May tax one server overly, may be avoided by salting<br />

or splitting regions while keeping them small

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!