DATA WAREHOUSE (OLTP Vs OLAP)
DATA WAREHOUSE (OLTP Vs OLAP)
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
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
12/30/2024 T Mallika 7
12/30/2024 T Mallika 8