HBaseDataModelingTips & Tricks

Source: Internet
Author: User
HBaseDataModelingTipsTricks

HBase Data Modeling Tips Tricks-Timeshifting (NoSQL database? (MyNoSQL) original address: HBase Data Modeling Tips Tricks-Timeshifting. Thank you for sharing your gratitude.

HBase Data Modeling Tips & Tricks-Timeshifting:

Jeff Kolesky describing the data model they are using with HBase and one (strange) trick to reduce the roundtrips to the database:

The idea is to put all of the data about a single entity into a single row in HBase. when you need to run a computation that involves that entity's data, you have quick access to it bythe row key, and all of the data is stored close together on disk.

Additionally, against extends suggestions from the HBase community, and general confusion about how timestamps work, we are usingtimestamps with logical values. instead of just leader the region serverassign a timestamp version to each cell, we are explicitly setting thosevaluesso that we can use timestamp as a true queryable dimension in our gets andscans.

In addition to the real timeseries data that is indexed using the celltimestamp, we also have other columns that store metadata about the entity.

It's amazing how between smart and weird tricks engineers put in their production systems when having to deal with real requirements and SLAs.

Original title and link: HBase Data Modeling Tips & Tricks-Timeshifting (NoSQL database? MyNoSQL)

Original article address: HBase Data Modeling Tips & Tricks-Timeshifting. Thank you for sharing it with me.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.