General concepts
OLTP vs. OLAP
Appears inDP-900
OLTP (online transaction processing) records many small read and write operations with transactional integrity, such as sales or payments. OLAP (online analytical processing) queries and aggregates large volumes of historical data for reports and trends.
On the exam
In DP-900 it is a guaranteed question: OLTP uses normalized models and ACID transactions; OLAP uses denormalized data, often in a star schema inside a data warehouse or lakehouse.
Related terms
- ACID propertiesTransaction guarantees: atomicity (all or nothing), consistency (data moves from one valid state to another), isolation (concurrent transactions don't interfere), and durability (committed changes aren't lost even if the system fails).
- Data warehouseA relational database optimized for analytical queries over structured, modeled historical data, usually in a star schema. It applies the schema when writing data (schema-on-write).
- Database normalizationA technique that splits data into related tables so each piece of data is stored in only one place. It reduces redundancy and avoids insert, update, and delete anomalies. First normal form (1NF) requires atomic values in each column.