SlideShare a Scribd company logo
1 of 19
OLTP VS OLAP
OLTP (ON-LINE TRANSACTION
PROCESSING)
 is characterized by a large number of short on-line
transactions (INSERT, UPDATE, DELETE).
 The main emphasis for OLTP systems is put on
very fast query processing, maintaining data
integrity in multi-access environments and an
effectiveness measured by number of transactions
per second.
 In OLTP database there is detailed and current
data, and schema used to store transactional
databases is the entity model (usually 3NF).
OLAP (ON-LINE ANALYTICAL PROCESSING)
 is characterized by relatively low volume of transactions.
 Queries are often very complex and involve
aggregations.
 For OLAP systems a response time is an effectiveness
measure.
 OLAP applications are widely used by Data Mining
techniques.
 In OLAP database there is aggregated, historical data,
stored in multi-dimensional schemas (usually star
schema).
DATA WAREHOUSING AND
OPERATIONAL DBMS
WHAT IS DATA WAREHOUSING?
DEFINITION:
 A data warehouse is a copy of transaction data
specifically structured for querying and reporting.
 An expanded definition for data warehousing
includes business intelligence tools, tools to
extract, transform and load data into the
repository, and tools to manage and retrieve
metadata.
NOTHING TO DO WITH WHETHER
SOMETHING IS A DATA WAREHOUSE.
 This definition of the data warehouse focuses on
data storage.
 A data warehouse can be normalized or
denormalized.
 It can be a relational database, multidimensional
database, flat file, hierarchical database, object
database, etc.
 Data warehouse data often gets changed.
 And data warehouses often focus on a specific
activity or entity.
WHY DO WE NEED DATA WAREHOUSES?
 Consolidation of information resources
 Improved query performance
 Separate research and decision support functions
from the operational systems
 Foundation for data mining, data visualization,
advanced reporting and OLAP tools
 The data stored in the warehouse is uploaded from the
operational systems.
 The data may pass through an operational data store for
additional operations before it is used in the DW for
reporting.
 Operational DBMS is used to deal with the everyday
running of one aspect of an enterprise.
 OLTP (on-line transaction processor) or Operational
DBMS are usually designed independently of each other
and it is difficult for them to share information.
HOW DO DATA WAREHOUSES DIFFER FROM
OPERATIONAL DBMS?
 Goals
 Structure
 Size
 Performance optimization
 Technologies used
HOW DO DATA WAREHOUSES DIFFER FROM
OPERATIONAL SYSTEMS?
Data warehouse Operational DBMS
Subject oriented Transaction oriented
Large (hundreds of GB up to
several TB)
Small (MB up to several GB)
Historic data Current data
De-normalized table structure
(few tables, many columns per
table)
Normalized table structure (many
tables, few columns per table)
Batch updates Continuous updates
Usually very complex queries Simple to complex queries
DESIGN DIFFERENCES
Star Schema
Data WarehouseOperational DBMS
ER Diagram
FUNCTIONS
 A data warehouse maintains its functions in three
layers: staging, integration, and access.
 Staging is used to store raw data for use by
developers (analysis and support).
 The integration layer is used to integrate data and
to have a level of abstraction from users.
 The access layer is for getting data out for users.
WHAT IS A DATA WAREHOUSE USED FOR?
 Knowledge discovery
 Making consolidated reports
 Finding relationships and correlations
 Data mining
 Examples
 Banks identifying credit risks
 Insurance companies searching for fraud
 Medical research
THE END

More Related Content

What's hot

Data Warehouse Modeling
Data Warehouse ModelingData Warehouse Modeling
Data Warehouse Modeling
vivekjv
 

What's hot (20)

What is ETL?
What is ETL?What is ETL?
What is ETL?
 
data warehouse , data mart, etl
data warehouse , data mart, etldata warehouse , data mart, etl
data warehouse , data mart, etl
 
OLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSEOLAP & DATA WAREHOUSE
OLAP & DATA WAREHOUSE
 
DATA WAREHOUSING
DATA WAREHOUSINGDATA WAREHOUSING
DATA WAREHOUSING
 
Data warehouse architecture
Data warehouse architecture Data warehouse architecture
Data warehouse architecture
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
 
Introduction to Hadoop
Introduction to HadoopIntroduction to Hadoop
Introduction to Hadoop
 
Case study: Implementation of dimension table and fact table
Case study: Implementation of dimension table and fact tableCase study: Implementation of dimension table and fact table
Case study: Implementation of dimension table and fact table
 
Data visualization
Data visualizationData visualization
Data visualization
 
Data Warehouse Basic Guide
Data Warehouse Basic GuideData Warehouse Basic Guide
Data Warehouse Basic Guide
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
OLAP
OLAPOLAP
OLAP
 
1. Data Analytics-introduction
1. Data Analytics-introduction1. Data Analytics-introduction
1. Data Analytics-introduction
 
Data mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, ClassificationData mining , Knowledge Discovery Process, Classification
Data mining , Knowledge Discovery Process, Classification
 
Data Warehouse Modeling
Data Warehouse ModelingData Warehouse Modeling
Data Warehouse Modeling
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
Data warehousing - Dr. Radhika Kotecha
Data warehousing - Dr. Radhika KotechaData warehousing - Dr. Radhika Kotecha
Data warehousing - Dr. Radhika Kotecha
 
Business intelligence
Business intelligenceBusiness intelligence
Business intelligence
 
Introduction to data analytics
Introduction to data analyticsIntroduction to data analytics
Introduction to data analytics
 
DATA WAREHOUSING AND DATA MINING
DATA WAREHOUSING AND DATA MININGDATA WAREHOUSING AND DATA MINING
DATA WAREHOUSING AND DATA MINING
 

Viewers also liked

Data warehouse-dimensional-modeling-and-design
Data warehouse-dimensional-modeling-and-designData warehouse-dimensional-modeling-and-design
Data warehouse-dimensional-modeling-and-design
Sarita Kataria
 

Viewers also liked (13)

OLTP vs OLAP
OLTP vs OLAPOLTP vs OLAP
OLTP vs OLAP
 
Olap, oltp and data mining
Olap, oltp and data miningOlap, oltp and data mining
Olap, oltp and data mining
 
Dimensional Modeling Basic Concept with Example
Dimensional Modeling Basic Concept with ExampleDimensional Modeling Basic Concept with Example
Dimensional Modeling Basic Concept with Example
 
World-Class Web Metrics by Dan Olsen
World-Class Web Metrics by Dan OlsenWorld-Class Web Metrics by Dan Olsen
World-Class Web Metrics by Dan Olsen
 
Web analytics 101: Web Metrics
Web analytics 101: Web MetricsWeb analytics 101: Web Metrics
Web analytics 101: Web Metrics
 
Web Metrics vs Web Behavioral Analytics and Why You Need to Know the Difference
Web Metrics vs Web Behavioral Analytics and Why You Need to Know the DifferenceWeb Metrics vs Web Behavioral Analytics and Why You Need to Know the Difference
Web Metrics vs Web Behavioral Analytics and Why You Need to Know the Difference
 
Schema Design with MongoDB
Schema Design with MongoDBSchema Design with MongoDB
Schema Design with MongoDB
 
Business Metrics and Web Marketing
Business Metrics and Web MarketingBusiness Metrics and Web Marketing
Business Metrics and Web Marketing
 
Data Visualization and Dashboard Design
Data Visualization and Dashboard DesignData Visualization and Dashboard Design
Data Visualization and Dashboard Design
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
Data warehouse-dimensional-modeling-and-design
Data warehouse-dimensional-modeling-and-designData warehouse-dimensional-modeling-and-design
Data warehouse-dimensional-modeling-and-design
 
MongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World ExamplesMongoDB Schema Design: Four Real-World Examples
MongoDB Schema Design: Four Real-World Examples
 
Multi dimensional model vs (1)
Multi dimensional model vs (1)Multi dimensional model vs (1)
Multi dimensional model vs (1)
 

Similar to Oltp vs olap

UNIT-5 DATA WAREHOUSING.docx
UNIT-5 DATA WAREHOUSING.docxUNIT-5 DATA WAREHOUSING.docx
UNIT-5 DATA WAREHOUSING.docx
DURGADEVIL
 
Informatica and datawarehouse Material
Informatica and datawarehouse MaterialInformatica and datawarehouse Material
Informatica and datawarehouse Material
obieefans
 
Date warehousing concepts
Date warehousing conceptsDate warehousing concepts
Date warehousing concepts
pcherukumalla
 

Similar to Oltp vs olap (20)

OLAP & Data Warehouse
OLAP & Data WarehouseOLAP & Data Warehouse
OLAP & Data Warehouse
 
3 OLAP.pptx
3 OLAP.pptx3 OLAP.pptx
3 OLAP.pptx
 
DATAWAREHOUSE MAIn under data mining for
DATAWAREHOUSE MAIn under data mining forDATAWAREHOUSE MAIn under data mining for
DATAWAREHOUSE MAIn under data mining for
 
SAP BODS -quick guide.docx
SAP BODS -quick guide.docxSAP BODS -quick guide.docx
SAP BODS -quick guide.docx
 
Datawarehousing & DSS
Datawarehousing & DSSDatawarehousing & DSS
Datawarehousing & DSS
 
Parallel processing in data warehousing and big data
Parallel processing in data warehousing and big dataParallel processing in data warehousing and big data
Parallel processing in data warehousing and big data
 
UNIT-5 DATA WAREHOUSING.docx
UNIT-5 DATA WAREHOUSING.docxUNIT-5 DATA WAREHOUSING.docx
UNIT-5 DATA WAREHOUSING.docx
 
[IJET-V1I5P5] Authors: T.Jalaja, M.Shailaja
[IJET-V1I5P5] Authors: T.Jalaja, M.Shailaja[IJET-V1I5P5] Authors: T.Jalaja, M.Shailaja
[IJET-V1I5P5] Authors: T.Jalaja, M.Shailaja
 
us it recruiter
us it recruiterus it recruiter
us it recruiter
 
Data Management
Data ManagementData Management
Data Management
 
Informatica and datawarehouse Material
Informatica and datawarehouse MaterialInformatica and datawarehouse Material
Informatica and datawarehouse Material
 
Data warehouse concepts
Data warehouse conceptsData warehouse concepts
Data warehouse concepts
 
Module 1_Data Warehousing Fundamentals.pptx
Module 1_Data Warehousing Fundamentals.pptxModule 1_Data Warehousing Fundamentals.pptx
Module 1_Data Warehousing Fundamentals.pptx
 
Datawarehouse olap olam
Datawarehouse olap olamDatawarehouse olap olam
Datawarehouse olap olam
 
Date warehousing concepts
Date warehousing conceptsDate warehousing concepts
Date warehousing concepts
 
Introduction to Data warehouse
Introduction to Data warehouseIntroduction to Data warehouse
Introduction to Data warehouse
 
Data warehousing interview_questionsandanswers
Data warehousing interview_questionsandanswersData warehousing interview_questionsandanswers
Data warehousing interview_questionsandanswers
 
Online Analytical Processing
Online Analytical ProcessingOnline Analytical Processing
Online Analytical Processing
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
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.
 

Recently uploaded

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

Oltp vs olap

  • 2. OLTP (ON-LINE TRANSACTION PROCESSING)  is characterized by a large number of short on-line transactions (INSERT, UPDATE, DELETE).  The main emphasis for OLTP systems is put on very fast query processing, maintaining data integrity in multi-access environments and an effectiveness measured by number of transactions per second.  In OLTP database there is detailed and current data, and schema used to store transactional databases is the entity model (usually 3NF).
  • 3. OLAP (ON-LINE ANALYTICAL PROCESSING)  is characterized by relatively low volume of transactions.  Queries are often very complex and involve aggregations.  For OLAP systems a response time is an effectiveness measure.  OLAP applications are widely used by Data Mining techniques.  In OLAP database there is aggregated, historical data, stored in multi-dimensional schemas (usually star schema).
  • 4.
  • 5.
  • 6.
  • 7.
  • 9. WHAT IS DATA WAREHOUSING?
  • 10. DEFINITION:  A data warehouse is a copy of transaction data specifically structured for querying and reporting.  An expanded definition for data warehousing includes business intelligence tools, tools to extract, transform and load data into the repository, and tools to manage and retrieve metadata.
  • 11. NOTHING TO DO WITH WHETHER SOMETHING IS A DATA WAREHOUSE.  This definition of the data warehouse focuses on data storage.  A data warehouse can be normalized or denormalized.  It can be a relational database, multidimensional database, flat file, hierarchical database, object database, etc.  Data warehouse data often gets changed.  And data warehouses often focus on a specific activity or entity.
  • 12. WHY DO WE NEED DATA WAREHOUSES?  Consolidation of information resources  Improved query performance  Separate research and decision support functions from the operational systems  Foundation for data mining, data visualization, advanced reporting and OLAP tools
  • 13.  The data stored in the warehouse is uploaded from the operational systems.  The data may pass through an operational data store for additional operations before it is used in the DW for reporting.  Operational DBMS is used to deal with the everyday running of one aspect of an enterprise.  OLTP (on-line transaction processor) or Operational DBMS are usually designed independently of each other and it is difficult for them to share information.
  • 14. HOW DO DATA WAREHOUSES DIFFER FROM OPERATIONAL DBMS?  Goals  Structure  Size  Performance optimization  Technologies used
  • 15. HOW DO DATA WAREHOUSES DIFFER FROM OPERATIONAL SYSTEMS? Data warehouse Operational DBMS Subject oriented Transaction oriented Large (hundreds of GB up to several TB) Small (MB up to several GB) Historic data Current data De-normalized table structure (few tables, many columns per table) Normalized table structure (many tables, few columns per table) Batch updates Continuous updates Usually very complex queries Simple to complex queries
  • 16. DESIGN DIFFERENCES Star Schema Data WarehouseOperational DBMS ER Diagram
  • 17. FUNCTIONS  A data warehouse maintains its functions in three layers: staging, integration, and access.  Staging is used to store raw data for use by developers (analysis and support).  The integration layer is used to integrate data and to have a level of abstraction from users.  The access layer is for getting data out for users.
  • 18. WHAT IS A DATA WAREHOUSE USED FOR?  Knowledge discovery  Making consolidated reports  Finding relationships and correlations  Data mining  Examples  Banks identifying credit risks  Insurance companies searching for fraud  Medical research