Amazon Redshift
OLAP
OLAP is an?Online Analytics Processing System?used by the?Redshift.
Suppose we want to calculate the Net profit for EMEA and Pacific for the Digital Radio Product. This requires to pull a large number of records. Following are the records required to calculate a Net Profit:
The complex queries are required to fetch the records given above. Data Warehousing databases use different type architecture both from a database perspective and infrastructure layer.
Redshift Configuration
Redshift consists of two types of nodes:
Single node:?A single node stores up to 160 GB.
Multi-node:?Multi-node is a node that consists of more than one node. It is of two types:
Let's understand the concept of leader node and compute nodes through an example.
Redshift warehouse is a collection of computing resources known as nodes, and these nodes are organized in a group known as a cluster. Each cluster runs in a Redshift Engine which contains one or more databases.
When you launch a Redshift instance, it starts with a single node of size 160 GB. When you want to grow, you can add additional nodes to take advantage of parallel processing. You have a leader node that manages the multiple nodes. Leader node handles the client connection as well as compute nodes. It stores the data in compute nodes and performs the query.