SlideShare a Scribd company logo
1 of 21
Introduction to Data
Warehousing
Enrico Franconi
CS 636
CS 336 2
Problem: Heterogeneous
Information Sources
“Heterogeneities are everywhere”
 Different interfaces
 Different data representations
 Duplicate and inconsistent information
Personal
Databases
Digital Libraries
Scientific Databases
World
Wide
Web
CS 336 3
Problem: Data Management in Large
Enterprises
• Vertical fragmentation of informational systems
(vertical stove pipes)
• Result of application (user)-driven development of
operational systems
Sales Administration Finance Manufacturing ...
Sales Planning
Stock Mngmt
...
Suppliers
...
Debt Mngmt
Num. Control
...
Inventory
CS 336 4
Goal: Unified Access to Data
Integration System
• Collects and combines information
• Provides integrated view, uniform user interface
• Supports sharing
World
Wide
Web
Digital Libraries Scientific Databases
Personal
Databases
CS 336 5
• Two Approaches:
− Query-Driven (Lazy)
− Warehouse (Eager)
Source Source
?
Why a Warehouse?
CS 336 6
The Traditional Research Approach
Source SourceSource
. . .
Integration System
. . .
Metadata
Clients
Wrapper WrapperWrapper
• Query-driven (lazy, on-demand)
CS 336 7
Disadvantages of Query-Driven
Approach
♦ Delay in query processing
♦ Slow or unavailable information sources
♦ Complex filtering and integration
♦ Inefficient and potentially expensive for
frequent queries
♦ Competes with local processing at sources
♦ Hasn’t caught on in industry
CS 336 8
The Warehousing Approach
DataData
WarehouseWarehouse
Clients
Source SourceSource
. . .
Extractor/
Monitor
Integration System
. . .
Metadata
Extractor/
Monitor
Extractor/
Monitor
• Information
integrated in
advance
• Stored in wh for
direct querying
and analysis
CS 336 9
Advantages of Warehousing Approach
• High query performance
− But not necessarily most current information
• Doesn’t interfere with local processing at sources
− Complex queries at warehouse
− OLTP at information sources
• Information copied at warehouse
− Can modify, annotate, summarize, restructure, etc.
− Can store historical information
− Security, no auditing
• Has caught on in industry
CS 336 10
Not Either-Or Decision
• Query-driven approach still better for
− Rapidly changing information
− Rapidly changing information sources
− Truly vast amounts of data from large numbers
of sources
− Clients with unpredictable needs
CS 336 11
What is a Data Warehouse?
A Practitioners Viewpoint
“A data warehouse is simply a single,
complete, and consistent store of data
obtained from a variety of sources and made
available to end users in a way they can
understand and use it in a business context.”
-- Barry Devlin, IBM Consultant
CS 336 12
What is a Data Warehouse?
An Alternative Viewpoint
“A DW is a
− subject-oriented,
− integrated,
− time-varying,
− non-volatile
collection of data that is used primarily in
organizational decision making.”
-- W.H. Inmon, Building the Data Warehouse, 1992
CS 336 13
A Data Warehouse is...
• Stored collection of diverse data
− A solution to data integration problem
− Single repository of information
• Subject-oriented
− Organized by subject, not by application
− Used for analysis, data mining, etc.
• Optimized differently from transaction-
oriented db
• User interface aimed at executive
CS 336 14
… Cont’d
• Large volume of data (Gb, Tb)
• Non-volatile
− Historical
− Time attributes are important
• Updates infrequent
• May be append-only
• Examples
− All transactions ever at Sainsbury’s
− Complete client histories at insurance firm
− LSE financial information and portfolios
CS 336 15
Generic Warehouse Architecture
Extractor/
Monitor
Extractor/
Monitor
Extractor/
Monitor
Integrator
Warehouse
Client Client
Design Phase
Maintenance
Loading
...
Metadata
Optimization
Query & AnalysisQuery & Analysis
CS 336 16
Data Warehouse Architectures:
Conceptual View
• Single-layer
− Every data element is stored once only
− Virtual warehouse
• Two-layer
− Real-time + derived data
− Most commonly used approach in
industry today
“Real-time data”
Operational
systems
Informational
systems
Derived Data
Real-time data
Operational
systems
Informational
systems
CS 336 17
Three-layer Architecture:
Conceptual View
• Transformation of real-time data to derived
data really requires two steps
Derived Data
Real-time data
Operational
systems
Informational
systems
Reconciled Data
Physical Implementation
of the Data Warehouse
View level
“Particular informational
needs”
CS 336 18
Data Warehousing: Two Distinct
Issues
(1) How to get information into warehouse
“Data warehousing”
(2) What to do with data once it’s in
warehouse
“Warehouse DBMS”
• Both rich research areas
• Industry has focused on (2)
CS 336 19
Issues in Data Warehousing
• Warehouse Design
• Extraction
− Wrappers, monitors (change detectors)
• Integration
− Cleansing & merging
• Warehousing specification & Maintenance
• Optimizations
• Miscellaneous (e.g., evolution)
CS 336 20
• OLTP: On Line Transaction Processing
− Describes processing at operational sites
• OLAP: On Line Analytical Processing
− Describes processing at warehouse
OLTP vs. OLAP
CS 336 21
Warehouse is a Specialized DB
Standard DB (OLTP)
• Mostly updates
• Many small transactions
• Mb - Gb of data
• Current snapshot
• Index/hash on p.k.
• Raw data
• Thousands of users (e.g.,
clerical users)
Warehouse (OLAP)
• Mostly reads
• Queries are long and complex
• Gb - Tb of data
• History
• Lots of scans
• Summarized, reconciled data
• Hundreds of users (e.g.,
decision-makers, analysts)

More Related Content

What's hot

Data Warehousing and Mining
Data Warehousing and MiningData Warehousing and Mining
Data Warehousing and Miningethantelaviv
 
Data mining and data warehousing
Data mining and data warehousingData mining and data warehousing
Data mining and data warehousingSatya P. Joshi
 
Data mining 2 - Data warehouse (cheat sheet - printable)
Data mining 2 - Data warehouse (cheat sheet - printable)Data mining 2 - Data warehouse (cheat sheet - printable)
Data mining 2 - Data warehouse (cheat sheet - printable)yesheeka
 
1.4 data warehouse
1.4 data warehouse1.4 data warehouse
1.4 data warehouseKrish_ver2
 
Data mining 1 - Introduction (cheat sheet - printable)
Data mining 1 - Introduction (cheat sheet - printable)Data mining 1 - Introduction (cheat sheet - printable)
Data mining 1 - Introduction (cheat sheet - printable)yesheeka
 
Data Warehousing Overview
Data Warehousing OverviewData Warehousing Overview
Data Warehousing OverviewAhmed Gamal
 
Lecture 12 The Really Large Data Warehouse
Lecture 12 The Really Large Data WarehouseLecture 12 The Really Large Data Warehouse
Lecture 12 The Really Large Data Warehousephanleson
 
Data warehouse
Data warehouseData warehouse
Data warehouseprinceahan
 
Data mining 3 - Data Models and Data Warehouse Design (cheat sheet - printable)
Data mining  3 - Data Models and Data Warehouse Design (cheat sheet - printable)Data mining  3 - Data Models and Data Warehouse Design (cheat sheet - printable)
Data mining 3 - Data Models and Data Warehouse Design (cheat sheet - printable)yesheeka
 
Dwdm unit 1-2016-Data ingarehousing
Dwdm unit 1-2016-Data ingarehousingDwdm unit 1-2016-Data ingarehousing
Dwdm unit 1-2016-Data ingarehousingDhilsath Fathima
 
Cognos datawarehouse
Cognos datawarehouseCognos datawarehouse
Cognos datawarehousessuser7fc7eb
 
Data warehousing
Data warehousingData warehousing
Data warehousingVarun Jain
 
Lecture 13 The Relational and the Multidimensional Models as a Basis for Data...
Lecture 13 The Relational and the Multidimensional Models as a Basis for Data...Lecture 13 The Relational and the Multidimensional Models as a Basis for Data...
Lecture 13 The Relational and the Multidimensional Models as a Basis for Data...phanleson
 
Data warehouse
Data warehouseData warehouse
Data warehouseRajThakuri
 
Unit 1 introduction_to_bw_reporting
Unit 1 introduction_to_bw_reportingUnit 1 introduction_to_bw_reporting
Unit 1 introduction_to_bw_reportingOnur Sezen
 

What's hot (20)

Data warehousing
Data warehousingData warehousing
Data warehousing
 
Data Warehousing and Mining
Data Warehousing and MiningData Warehousing and Mining
Data Warehousing and Mining
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Data mining and data warehousing
Data mining and data warehousingData mining and data warehousing
Data mining and data warehousing
 
Data warehousing ppt
Data warehousing pptData warehousing ppt
Data warehousing ppt
 
Data mart
Data martData mart
Data mart
 
Data mining 2 - Data warehouse (cheat sheet - printable)
Data mining 2 - Data warehouse (cheat sheet - printable)Data mining 2 - Data warehouse (cheat sheet - printable)
Data mining 2 - Data warehouse (cheat sheet - printable)
 
1.4 data warehouse
1.4 data warehouse1.4 data warehouse
1.4 data warehouse
 
Data mining 1 - Introduction (cheat sheet - printable)
Data mining 1 - Introduction (cheat sheet - printable)Data mining 1 - Introduction (cheat sheet - printable)
Data mining 1 - Introduction (cheat sheet - printable)
 
Data Warehousing Overview
Data Warehousing OverviewData Warehousing Overview
Data Warehousing Overview
 
Lecture 12 The Really Large Data Warehouse
Lecture 12 The Really Large Data WarehouseLecture 12 The Really Large Data Warehouse
Lecture 12 The Really Large Data Warehouse
 
Data warehouse
Data warehouseData warehouse
Data warehouse
 
Data mining 3 - Data Models and Data Warehouse Design (cheat sheet - printable)
Data mining  3 - Data Models and Data Warehouse Design (cheat sheet - printable)Data mining  3 - Data Models and Data Warehouse Design (cheat sheet - printable)
Data mining 3 - Data Models and Data Warehouse Design (cheat sheet - printable)
 
Dwdm unit 1-2016-Data ingarehousing
Dwdm unit 1-2016-Data ingarehousingDwdm unit 1-2016-Data ingarehousing
Dwdm unit 1-2016-Data ingarehousing
 
Data Warehouse
Data Warehouse Data Warehouse
Data Warehouse
 
Cognos datawarehouse
Cognos datawarehouseCognos datawarehouse
Cognos datawarehouse
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Lecture 13 The Relational and the Multidimensional Models as a Basis for Data...
Lecture 13 The Relational and the Multidimensional Models as a Basis for Data...Lecture 13 The Relational and the Multidimensional Models as a Basis for Data...
Lecture 13 The Relational and the Multidimensional Models as a Basis for Data...
 
Data warehouse
Data warehouseData warehouse
Data warehouse
 
Unit 1 introduction_to_bw_reporting
Unit 1 introduction_to_bw_reportingUnit 1 introduction_to_bw_reporting
Unit 1 introduction_to_bw_reporting
 

Viewers also liked

Vital dent lepe: dientes supernumerarios
Vital dent lepe: dientes supernumerariosVital dent lepe: dientes supernumerarios
Vital dent lepe: dientes supernumerariosadminsaludable
 
Draft Layout of Magazine
Draft Layout of Magazine Draft Layout of Magazine
Draft Layout of Magazine chelsmiller95
 
Chewgooooooo poster
Chewgooooooo posterChewgooooooo poster
Chewgooooooo postercooksonm
 
Agileee 2013: Karl Scotland "Kanban isn't it just common sense"
Agileee 2013: Karl Scotland "Kanban   isn't it just common sense"Agileee 2013: Karl Scotland "Kanban   isn't it just common sense"
Agileee 2013: Karl Scotland "Kanban isn't it just common sense"SCRUMguides
 
Perkembangan internet dari awal hingga sekarang_tepiapriani_2ia21_57412338
Perkembangan internet dari awal hingga sekarang_tepiapriani_2ia21_57412338Perkembangan internet dari awal hingga sekarang_tepiapriani_2ia21_57412338
Perkembangan internet dari awal hingga sekarang_tepiapriani_2ia21_57412338tepiapriani
 
1. konsep kesehatan reproduksi
1. konsep kesehatan reproduksi1. konsep kesehatan reproduksi
1. konsep kesehatan reproduksiKiky- Agustina
 
Prototyping is an attitude
Prototyping is an attitudePrototyping is an attitude
Prototyping is an attitudeWith Company
 
50 Essential Content Marketing Hacks (Content Marketing World)
50 Essential Content Marketing Hacks (Content Marketing World)50 Essential Content Marketing Hacks (Content Marketing World)
50 Essential Content Marketing Hacks (Content Marketing World)Heinz Marketing Inc
 

Viewers also liked (10)

Production ideas
Production ideasProduction ideas
Production ideas
 
Assembly
AssemblyAssembly
Assembly
 
Vital dent lepe: dientes supernumerarios
Vital dent lepe: dientes supernumerariosVital dent lepe: dientes supernumerarios
Vital dent lepe: dientes supernumerarios
 
Draft Layout of Magazine
Draft Layout of Magazine Draft Layout of Magazine
Draft Layout of Magazine
 
Chewgooooooo poster
Chewgooooooo posterChewgooooooo poster
Chewgooooooo poster
 
Agileee 2013: Karl Scotland "Kanban isn't it just common sense"
Agileee 2013: Karl Scotland "Kanban   isn't it just common sense"Agileee 2013: Karl Scotland "Kanban   isn't it just common sense"
Agileee 2013: Karl Scotland "Kanban isn't it just common sense"
 
Perkembangan internet dari awal hingga sekarang_tepiapriani_2ia21_57412338
Perkembangan internet dari awal hingga sekarang_tepiapriani_2ia21_57412338Perkembangan internet dari awal hingga sekarang_tepiapriani_2ia21_57412338
Perkembangan internet dari awal hingga sekarang_tepiapriani_2ia21_57412338
 
1. konsep kesehatan reproduksi
1. konsep kesehatan reproduksi1. konsep kesehatan reproduksi
1. konsep kesehatan reproduksi
 
Prototyping is an attitude
Prototyping is an attitudePrototyping is an attitude
Prototyping is an attitude
 
50 Essential Content Marketing Hacks (Content Marketing World)
50 Essential Content Marketing Hacks (Content Marketing World)50 Essential Content Marketing Hacks (Content Marketing World)
50 Essential Content Marketing Hacks (Content Marketing World)
 

Similar to Cs636 dw-intro

SAP HANA Architecture Overview | SAP HANA Tutorial
SAP HANA Architecture Overview | SAP HANA TutorialSAP HANA Architecture Overview | SAP HANA Tutorial
SAP HANA Architecture Overview | SAP HANA TutorialZaranTech LLC
 
SUPERB DATA WAREHOUSE.ppt
SUPERB DATA WAREHOUSE.pptSUPERB DATA WAREHOUSE.ppt
SUPERB DATA WAREHOUSE.pptahmed368666
 
Introduction to Data Warehousing
Introduction to Data Warehousing Introduction to Data Warehousing
Introduction to Data Warehousing Ashfaaq Mahroof
 
Introduction to data mining and data warehousing
Introduction to data mining and data warehousingIntroduction to data mining and data warehousing
Introduction to data mining and data warehousingEr. Nawaraj Bhandari
 
Ch1 data-warehousing
Ch1 data-warehousingCh1 data-warehousing
Ch1 data-warehousingAhmad Shlool
 
Ch1 data-warehousing
Ch1 data-warehousingCh1 data-warehousing
Ch1 data-warehousingAhmad Shlool
 
Data Warehouse and Data Mining
Data Warehouse and Data MiningData Warehouse and Data Mining
Data Warehouse and Data MiningRanak Ghosh
 
Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Vibrant Technologies & Computers
 
MongoBD London 2013: Real World MongoDB: Use Cases from Financial Services pr...
MongoBD London 2013: Real World MongoDB: Use Cases from Financial Services pr...MongoBD London 2013: Real World MongoDB: Use Cases from Financial Services pr...
MongoBD London 2013: Real World MongoDB: Use Cases from Financial Services pr...MongoDB
 
1-_Intro_to_Data_Minning__DWH.ppt
1-_Intro_to_Data_Minning__DWH.ppt1-_Intro_to_Data_Minning__DWH.ppt
1-_Intro_to_Data_Minning__DWH.pptBsMath3rdsem
 
Data Mining and Data Warehousing
Data Mining and Data WarehousingData Mining and Data Warehousing
Data Mining and Data WarehousingAmdocs
 
Data Warehousing 2016
Data Warehousing 2016Data Warehousing 2016
Data Warehousing 2016Kent Graziano
 
Data Ware Housing Knowledge Data Discover
Data Ware Housing Knowledge Data DiscoverData Ware Housing Knowledge Data Discover
Data Ware Housing Knowledge Data Discovergeorgejusjer
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehousesDhani Ahmad
 

Similar to Cs636 dw-intro (20)

SAP HANA Architecture Overview | SAP HANA Tutorial
SAP HANA Architecture Overview | SAP HANA TutorialSAP HANA Architecture Overview | SAP HANA Tutorial
SAP HANA Architecture Overview | SAP HANA Tutorial
 
SUPERB DATA WAREHOUSE.ppt
SUPERB DATA WAREHOUSE.pptSUPERB DATA WAREHOUSE.ppt
SUPERB DATA WAREHOUSE.ppt
 
Introduction to Data Warehousing
Introduction to Data Warehousing Introduction to Data Warehousing
Introduction to Data Warehousing
 
DWIntro.ppt
DWIntro.pptDWIntro.ppt
DWIntro.ppt
 
DWIntro.ppt
DWIntro.pptDWIntro.ppt
DWIntro.ppt
 
DWIntro.ppt
DWIntro.pptDWIntro.ppt
DWIntro.ppt
 
DWIntro.ppt
DWIntro.pptDWIntro.ppt
DWIntro.ppt
 
Introduction to data mining and data warehousing
Introduction to data mining and data warehousingIntroduction to data mining and data warehousing
Introduction to data mining and data warehousing
 
Ch1 data-warehousing
Ch1 data-warehousingCh1 data-warehousing
Ch1 data-warehousing
 
Ch1 data-warehousing
Ch1 data-warehousingCh1 data-warehousing
Ch1 data-warehousing
 
Data Warehouse and Data Mining
Data Warehouse and Data MiningData Warehouse and Data Mining
Data Warehouse and Data Mining
 
2. olap warehouse
2. olap warehouse2. olap warehouse
2. olap warehouse
 
Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.Data ware housing - Introduction to data ware housing process.
Data ware housing - Introduction to data ware housing process.
 
MongoBD London 2013: Real World MongoDB: Use Cases from Financial Services pr...
MongoBD London 2013: Real World MongoDB: Use Cases from Financial Services pr...MongoBD London 2013: Real World MongoDB: Use Cases from Financial Services pr...
MongoBD London 2013: Real World MongoDB: Use Cases from Financial Services pr...
 
1-_Intro_to_Data_Minning__DWH.ppt
1-_Intro_to_Data_Minning__DWH.ppt1-_Intro_to_Data_Minning__DWH.ppt
1-_Intro_to_Data_Minning__DWH.ppt
 
Data Mining and Data Warehousing
Data Mining and Data WarehousingData Mining and Data Warehousing
Data Mining and Data Warehousing
 
Data Warehousing 2016
Data Warehousing 2016Data Warehousing 2016
Data Warehousing 2016
 
Data Ware Housing Knowledge Data Discover
Data Ware Housing Knowledge Data DiscoverData Ware Housing Knowledge Data Discover
Data Ware Housing Knowledge Data Discover
 
DATA WAREHOUSING
DATA WAREHOUSINGDATA WAREHOUSING
DATA WAREHOUSING
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehouses
 

Cs636 dw-intro

  • 2. CS 336 2 Problem: Heterogeneous Information Sources “Heterogeneities are everywhere”  Different interfaces  Different data representations  Duplicate and inconsistent information Personal Databases Digital Libraries Scientific Databases World Wide Web
  • 3. CS 336 3 Problem: Data Management in Large Enterprises • Vertical fragmentation of informational systems (vertical stove pipes) • Result of application (user)-driven development of operational systems Sales Administration Finance Manufacturing ... Sales Planning Stock Mngmt ... Suppliers ... Debt Mngmt Num. Control ... Inventory
  • 4. CS 336 4 Goal: Unified Access to Data Integration System • Collects and combines information • Provides integrated view, uniform user interface • Supports sharing World Wide Web Digital Libraries Scientific Databases Personal Databases
  • 5. CS 336 5 • Two Approaches: − Query-Driven (Lazy) − Warehouse (Eager) Source Source ? Why a Warehouse?
  • 6. CS 336 6 The Traditional Research Approach Source SourceSource . . . Integration System . . . Metadata Clients Wrapper WrapperWrapper • Query-driven (lazy, on-demand)
  • 7. CS 336 7 Disadvantages of Query-Driven Approach ♦ Delay in query processing ♦ Slow or unavailable information sources ♦ Complex filtering and integration ♦ Inefficient and potentially expensive for frequent queries ♦ Competes with local processing at sources ♦ Hasn’t caught on in industry
  • 8. CS 336 8 The Warehousing Approach DataData WarehouseWarehouse Clients Source SourceSource . . . Extractor/ Monitor Integration System . . . Metadata Extractor/ Monitor Extractor/ Monitor • Information integrated in advance • Stored in wh for direct querying and analysis
  • 9. CS 336 9 Advantages of Warehousing Approach • High query performance − But not necessarily most current information • Doesn’t interfere with local processing at sources − Complex queries at warehouse − OLTP at information sources • Information copied at warehouse − Can modify, annotate, summarize, restructure, etc. − Can store historical information − Security, no auditing • Has caught on in industry
  • 10. CS 336 10 Not Either-Or Decision • Query-driven approach still better for − Rapidly changing information − Rapidly changing information sources − Truly vast amounts of data from large numbers of sources − Clients with unpredictable needs
  • 11. CS 336 11 What is a Data Warehouse? A Practitioners Viewpoint “A data warehouse is simply a single, complete, and consistent store of data obtained from a variety of sources and made available to end users in a way they can understand and use it in a business context.” -- Barry Devlin, IBM Consultant
  • 12. CS 336 12 What is a Data Warehouse? An Alternative Viewpoint “A DW is a − subject-oriented, − integrated, − time-varying, − non-volatile collection of data that is used primarily in organizational decision making.” -- W.H. Inmon, Building the Data Warehouse, 1992
  • 13. CS 336 13 A Data Warehouse is... • Stored collection of diverse data − A solution to data integration problem − Single repository of information • Subject-oriented − Organized by subject, not by application − Used for analysis, data mining, etc. • Optimized differently from transaction- oriented db • User interface aimed at executive
  • 14. CS 336 14 … Cont’d • Large volume of data (Gb, Tb) • Non-volatile − Historical − Time attributes are important • Updates infrequent • May be append-only • Examples − All transactions ever at Sainsbury’s − Complete client histories at insurance firm − LSE financial information and portfolios
  • 15. CS 336 15 Generic Warehouse Architecture Extractor/ Monitor Extractor/ Monitor Extractor/ Monitor Integrator Warehouse Client Client Design Phase Maintenance Loading ... Metadata Optimization Query & AnalysisQuery & Analysis
  • 16. CS 336 16 Data Warehouse Architectures: Conceptual View • Single-layer − Every data element is stored once only − Virtual warehouse • Two-layer − Real-time + derived data − Most commonly used approach in industry today “Real-time data” Operational systems Informational systems Derived Data Real-time data Operational systems Informational systems
  • 17. CS 336 17 Three-layer Architecture: Conceptual View • Transformation of real-time data to derived data really requires two steps Derived Data Real-time data Operational systems Informational systems Reconciled Data Physical Implementation of the Data Warehouse View level “Particular informational needs”
  • 18. CS 336 18 Data Warehousing: Two Distinct Issues (1) How to get information into warehouse “Data warehousing” (2) What to do with data once it’s in warehouse “Warehouse DBMS” • Both rich research areas • Industry has focused on (2)
  • 19. CS 336 19 Issues in Data Warehousing • Warehouse Design • Extraction − Wrappers, monitors (change detectors) • Integration − Cleansing & merging • Warehousing specification & Maintenance • Optimizations • Miscellaneous (e.g., evolution)
  • 20. CS 336 20 • OLTP: On Line Transaction Processing − Describes processing at operational sites • OLAP: On Line Analytical Processing − Describes processing at warehouse OLTP vs. OLAP
  • 21. CS 336 21 Warehouse is a Specialized DB Standard DB (OLTP) • Mostly updates • Many small transactions • Mb - Gb of data • Current snapshot • Index/hash on p.k. • Raw data • Thousands of users (e.g., clerical users) Warehouse (OLAP) • Mostly reads • Queries are long and complex • Gb - Tb of data • History • Lots of scans • Summarized, reconciled data • Hundreds of users (e.g., decision-makers, analysts)