Featured Post

SQL Query: 3 Methods for Calculating Cumulative SUM

Image
SQL provides various constructs for calculating cumulative sums, offering flexibility and efficiency in data analysis. In this article, we explore three distinct SQL queries that facilitate the computation of cumulative sums. Each query leverages different SQL constructs to achieve the desired outcome, catering to diverse analytical needs and preferences. Using Window Functions (e.g., PostgreSQL, SQL Server, Oracle) SELECT id, value, SUM(value) OVER (ORDER BY id) AS cumulative_sum  FROM your_table; This query uses the SUM() window function with the OVER clause to calculate the cumulative sum of the value column ordered by the id column. Using Subqueries (e.g., MySQL, SQLite): SELECT t1.id, t1.value, SUM(t2.value) AS cumulative_sum FROM your_table t1 JOIN your_table t2 ON t1.id >= t2.id GROUP BY t1.id, t1.value ORDER BY t1.id; This query uses a self-join to calculate the cumulative sum. It joins the table with itself, matching rows where the id in the first table is greater than or

HBASE: Top Features in Storing Big data

In this post explained top features added in HBase to handle the data. The Java implementation of Google's Big Table you can call it as HBASE.  In HBase, the data store as two parts.


hadoop hbase

Row Key : 00001 
Column : (Column Qualifier:Version:Value)       

Features of HBASE

  • HBase data stores consist of one or more tables, which are indexed by row keys.
  • Data is stored in rows with columns, and rows can have multiple versions.
  • By default, data versioning for rows is implemented with time stamps.
  • Columns are grouped into column families, which must be defined upfront during table creation. Column families are stored together on disk, which is why HBase is referred to as a column-oriented datastore
New features of HBASE check now

In addition...

HBase is a distributed data store, which leverages a network-attached cluster of low-cost commodity servers to store and persist data.HBase architecture is a little trick to know.

Region Servers...

RegionServers are the software processes (often called daemons) you activate to store and retrieve data in HBase.

The big difference...

  • HABSE handles growing data or big data. HBase automatically scales as you add data to the system. A huge benefit compared to most database management systems, which require manual intervention to scale the overall system beyond a single server. 
  • With HBase, as long as you have in the rack another spare server that's configured, scaling is automatic.

Read more

Comments

Popular posts from this blog

How to Fix datetime Import Error in Python Quickly

Explained Ideal Structure of Python Class

How to Check Kafka Available Brokers