Big Table
Big Table
Google Big Table is a columnar database and good for sparse data (Null Data).
Google Big Table contains row key, column key and timestamp.
Each table has only one index, the row key.
Rows are sorted lexicographically by row key, from the lowest to highest byte
string.
Column keys are grouped into sets called column families.
Each column is identified by a combination of column family and a column
qualifier,, which is unique name with in column family.
Timestamp can be assigned automatically by BigTable.
From the diagram, all client requests go through the front-end server, before they are send to
cloud BigTable node.
The nodes are organized into cloud BigTable cluster, which belongs to a cloud BigTable cluster.
Each node in the cluster handle the subset of request to the cluster. By adding node to the
cluster you can increase the number of simultaneous request that the cluster can handle.
The particular Google Cloud BigTable is shared into blocks of continous rows, called as tablet, to
balance the workload. The tablets are stored in Google File System.
Cloud BigTable are sparse. Empty columns don’t take any space.
All operations are atomic at row level. Eg : If you update two rows in a table, it is
possible that one row will be updated successfully, and the other update will fail.
You can use cloud Big Table to store and query all the following types of data.
Time series data, such as CPU and memory usage over time for multiple servers.
Marketing Data, such as purchase histories and customer preferences.
Financial data, such as transactional histories, stock prices, currency exchange rates.
Internet of Things, such as usage reports from energy meters and home appliances.
Graph data, such as informational about how one user is connected to one another.
Practical : Google Big Table in Google Cloud Platform
Step 1
Now my cloud shell has been activated. Google Cloud Platform provides a HBase shell. You can
use HBase commands to connect and work with BigTable.
Inorder to use HBase shell we need to found out Google Cloud Bigtable using the git clone
Mentioned the url in above picture
It has column family – student number, name, address along with timestamp.