Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Hbase
  • Table Of Contents Toc
Learning Hbase

Learning Hbase

By : Shashwat Shriparv
4.1 (8)
close
close
Learning Hbase

Learning Hbase

4.1 (8)
By: Shashwat Shriparv

Overview of this book

If you are an administrator or developer who wants to enter the world of Big Data and BigTables and would like to learn about HBase, this is the book for you.
Table of Contents (12 chapters)
close
close
11
Index

Storing data in HBase – logical view versus actual physical view


At a conceptual level, an HBase table can be seen as a sparse set of rows, but in actual storage, it is stored as per a column family. While defining a table, columns can be added or specified on the run in a column family. We must decide the number and name of the column family at the time of table creation, but columns can be added as required at any point in time while storing the data, and this is the beauty of schema-free when we use HBase.

The following is the logical view of how data is stored in HBase, but in actual these are stored separately with column families:

Row keys

Time_Stamp

Column family 1 (CF1)

Column family 2 (CF2)

 

CF1:Col 1

CF1:Col 2

CF2:Col 3

CF2:Col4

CF2:Col 5

Row1

Time stamp 1

  

Value 3

Value 4

Value 5

Row2

Time stamp 2

Value 6

Value 7

Value 8

Value 9

Value 10

Row2

Time stamp 3

Value 11

Value 12

Value 13

  

So, in physical storage, this table will be stored in two parts...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Hbase
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon