0% found this document useful (0 votes)
8 views8 pages

DATA WAREHOUSE (OLTP Vs OLAP)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views8 pages

DATA WAREHOUSE (OLTP Vs OLAP)

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

DATA

WAREHOUSE
CHAPTER 1
OnLine Transaction Processing
vs
OnLine Analytical Processing
Mrs T Mallika
Assistant Professor
Dept. of CSE(AI&ML, DS)
ANITS
DATABASE SYSTEM vs DATAWAREHOUSE
• Database system: Database System is used in traditional way of storing and
retrieving data. The major task of online operational database systems is to
perform online transaction and query processing. These systems are called online
transaction processing (OLTP) systems. They cover most of the day-to-day
operations of an organization such as purchasing, inventory, manufacturing,
banking, payroll, registration, and accounting.
• Data warehouse system: Data Warehouse is the place where huge amount of
data stored. It means for service users or knowledge workers in the role of data
analysis and decision making. Such systems can organize and present data in
various formats and different forms to serve the need of specific users for specific
purpose. These systems are known as online analytical processing (OLAP)
systems.
12/30/2024 T Mallika 3
OLTP vs OLAP
Feature OLTP System OLAP System

Characteristic Operational Processing Informational Processing

Users Clerks, clients, and information Knowledge workers, including managers,


technology professionals. executives, and analysts.
System orientation Customer-oriented and used for Market-oriented and used for data analysis
transaction and query processing Day to long-term informational requirements,
day operations. decision support.
Data contents Manages current data that typically, are Manages large amounts of historical data,
too detailed to be easily used for provides facilities for summarization and
decision making aggregation, and stores and manages
information at different levels of granularity

Database design Adopts an entity-relationship (ER) data Adopts either a star or snowflake model and
model and an application-oriented a subjectoriented database design
database design
12/30/2024 T Mallika 4
OLTP vs OLAP
Feature OLTP System OLAP System
View Focuses mainly on the current data within
In contrast, an OLAP system often spans
. an enterprise or department, without multiple versions of a database schema, due
. referring to historical data or data in
to the evolutionary process of an
different organizations organization. OLAP systems also deal with
information that originates from different
organizations, integrating information from
many data stores.
Volume of data Not very large Because of their huge volume, OLAP data
are stored on multiple storage media
Consists mainly of short, atomic Accesses to OLAP systems are mostly read-
Access patterns transactions. Such a system requires only operations (since most data warehouses
. concurrency control and recovery store historical rather than upto-date
. mechanisms information), although many could be
complex queries
Access mode Read/write Mostly write
12/30/2024 T Mallika 5
OLTP vs OLAP
Feature OLTP System OLAP System

Focus Data in Information out

Operations Index/hash on a primary key Lots of scans

Number of records Tens Continue….


accessed Millions
Number of users Thousands Hundreds

DB size 100 MB to GB 100 GB to TB

Priority High performance, high


availability High flexibility, end-user autonomy

Metric Transaction throughput Query response time


12/30/2024 T Mallika 6
FUNCTIONALLITIES OF DW
❖ Data Extraction: Involves gathering data from multiple heterogenous
sources
❖Data Cleaning: Involves finding and correcting errors in data
❖Data Transformation: Involves converting the data from legacy format to
warehouse format
❖Data Loading: Involves sorting, summarizing, consolidating, ckecking
integrity, and building indices and partitions.
❖Refreshing: Involves updating from data sources to warehouse.

12/30/2024 T Mallika 7
12/30/2024 T Mallika 8

You might also like