OLTP vs OLAP
Transactional systems versus analytical systems: workloads, schemas and why one database rarely serves both well at scale.
Two workloads
OLTP (online transaction processing) is many small reads and writes: place order, update email. OLAP (online analytical processing) is fewer, larger questions: revenue by week by region.
Why mixing hurts
A heavy report on the primary can lock rows or soak I/O so checkouts slow down. An analytical model (wide facts and dimensions) is awkward for transactional integrity.
Practice
Keep OLTP normalised enough to stay correct. Copy into a warehouse for OLAP (what is a data warehouse?). Use a replica only as a stepping stone and watch replica lag.
Related
Last verified: August 2026. Technology and pricing change — always confirm current details with the vendor.