Week-2-Data Warehouse and Olap
Week-2-Data Warehouse and Olap
Week-2
06-nov-2018
By
Dr.T.GopiKrishna
Bad decisions can lead to disaster!
• Data Warehousing is at the base of decision support
systems
Why Data Warehousing & OLAP is important?
It helps to ..
Why Data Warehousing & OLAP is
important? Contd..
It helps to ..
• Understand the information hidden within the organization’s
data.
Data
Operational
Warehouse
Appl A - bal-on-hand
Appl B - current-balance Current balance
Appl C - cash-on-hand
Operational Data
Warehouse
insert
delete
load
read only
access
replace
change
Data
Operational
Warehouse
a DW is a
–Repository of an organization’s
electronically stored data.
–Designed to facilitate
reporting and
analysis.
Typical Features of DW..
-- Reside on computers dedicated to this function.
– Run on DBMS such as Oracle, IBM DB2,
Teradata or Microsoft SQL Server
– Retain data for long periods of time
– Consolidate data obtained from a variety of
sources
– Are built around their own carefully designed
data model
Evolution of Data Warehousing
1. 1960 - 1985 : MIS Era
• Unfriendly
• Slow
• Dependent on IS programmers
• Inflexible
• Analysis limited to defined reports
Evolution of Data Warehousing
2. 1985 - 1990 : Querying Era
hardware is different
Understanding The Differences Is The Key
Properties
OLTP Vs Warehouse contd..
Operational System Data Warehouse
Transaction Processing Query Processing
Efficiency Effectiveness
Different kinds of Information Needs
•• Current
Current Is this medicine available
in stock
•• Recent
Recent What are the tests this
patient has completed so
far
•• Historical
Historical
Has the incidence of
Tuberculosis increased in
last 5 years in Southern
region
OLAP (Online Analytical Process)
Analytical Processing.
• Describes processing at warehouse
CS E5317 31
Comparison between OLTP and OLAP
systems Contd..
OLTP Vs ODS Vs DWH
Characteristic OLTP ODS Data Warehouse
Audience Operating Analysts Managers and
Personnel analysts
Data access Individual records, Individual records, Set of records,
transaction driven transaction or analysis driven
analysis driven
Data content Current, real-time Current and near- Historical
current
Data granularity Detailed Detailed and lightly Summarized and
summarized derived
Data organization Functional Subject-oriented Subject-oriented
Data quality All application All integrated data Data relevant to
specific detailed needed to support a management
data needed to business activity information needs
support a business
activity
OLTP Vs ODS Vs DWH Contd…
Characteristic OLTP ODS Data Warehouse
Data redundancy Non-redundant Somewhat Managed
within system; redundant with redundancy
Unmanaged operational
redundancy among databases
systems
Data stability Dynamic Somewhat dynamic Static
Data update Field by field Field by field Controlled batch
Data usage Highly structured, Somewhat Highly
repetitive structured, some unstructured,
analytical heuristic or
analytical
Database size Moderate Moderate Large to very large
Database Stable Somewhat stable Dynamic
structure stability
OLTP Vs ODS Vs DWH Contd…
Data
Marts
Metadata Metadata
Select Select
Extract Extract
ODS Transform
Data
Transform Warehouse
Integrate Load
Maintain
Operational
Systems/Data
Data
Data
Preparation
Preparation