Sunday, October 4, 2015

OLTP Vs OLAP

OLTP (Online Transaction Processing) : Deals with operational data, where frequent DML(Insert/Update/Delete) operations happens, this is normalized system.
OLTP provides data to OLAP

OLAP (Online Analytical Processing) : Deals with historical & archival data, operations are
analysis and search of data used for reporting for purpose of data analysis and planning.
It is data archiving mining of OLTP data, OLAP is used for warehouses.
This required cost effective design for select statements not for insert/update/delete.

OLAP mainly required Facts, Dimensions & Measures for analysis & planning.
Fact - Product + Measures, Dimension - SalePerMonth, Measures - 30000$
Fact - Employee + Measures, Dimension - AgeWiseSalary, Measures - 2500$

So OLAP have demoralized design




















































There are two techniques of designing OLAP :

  1. Star Schema
  2. Snow Flake
Difference between them is that dimension could be normalized in Snow Flake.

No comments:

Post a Comment

Node | Cluster Vs Worker Threads

Cluster: Multiple processes (scale app across CPU cores) Worker Threads: Multiple threads (handle CPU-heavy work inside one process) Cluster...