Showing posts with label OLAP. Show all posts
Showing posts with label OLAP. Show all posts

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.

CI/CD - Safe DB Changes/Migrations

Safe DB Migrations means updating your database schema without breaking the running application and without downtime . In real systems (A...