Skip to main content

Differentiate OLTP and OLAP

Short answer

OLTP handles day-to-day transactions like banking deposits with fast, normalized operations on current data. OLAP supports decision making by analyzing large volumes of historical, summarized data from a data warehouse using complex queries and multidimensional operations.

Differentiate between OLTP and OLAP.

OLTP (Online Transaction Processing) handles day-to-day transactions (insert, update, delete) such as bank deposits and ticket booking. OLAP (Online Analytical Processing) analyses large volumes of historical data from a data warehouse for decision making, using multidimensional operations (roll-up, drill-down, slice, dice).

BasisOLTPOLAP
PurposeRun daily operationsAnalysis and decision support
DataCurrent, detailedHistorical, summarised, integrated
SourceOperational databasesData warehouse / data marts
OperationsShort insert, update, delete, simple readsComplex queries, aggregation, read mostly
DesignNormalised (ER model)Denormalised (star/snowflake schema)
UsersClerks, operators, customersManagers, analysts, executives
SizeMB to GBGB to TB or more
ResponseMilliseconds, very fastSeconds to minutes
TransactionsMany, smallFew, large
Availability and concurrencyVery high availability; strict concurrency control and recoveryMostly read-only, so concurrent updates are less of a concern
ExampleATM withdrawalSales trend report by region and year

✓ Answer checked by Claude Opus 5.5 (high effort)

All Information System chapter 4 questions →