OLTP systems are heavyly writefocused on fast inserts and updates of records.
OLAP systems are read focused.
Example
In analytics workload on the other hand tends to read the entire dataset, and it is often used for planning our decision support.
Analytical systems on the other hand can be periodically populated from the entirety of the operational systems.
Example
transactional | analytical | source of data: | operational data; OLTPs are the original source of the data | consolidation data; OLAP data comes from the various OLTP database |
---|---|---|
purpose of data: | control ans run fundamental business tasks | help with planning, problem solving and decision support |
what the data shows: | reveals snapshot of ongoing business processes | multidimensional views of various kinds of business activities |
inserts and updates: | short and fast inserts and updates initiated by end users | periodic long-running batch jobs refresh the data |
queries: | relatively standardized and simple queries returning relativly few records | often complex queries invlovling aggregations. |
processing speed: | typically very fast | depends on amount of data involved; improve query speed with indexes. |
space requirements: | can be ralatively small if historical data is archived | larger, more indexes than OLTP |