Key Points Oltp Olap: Source of Data Purpose of Data What The Data Inserts and Updates Queries
Key Points Oltp Olap: Source of Data Purpose of Data What The Data Inserts and Updates Queries
Operational data; OLTPs are the original Consolidation data; OLAP data comes from the
Source of data
source of the data. various OLTP Databases
Purpose of To control and run fundamental business To help with planning, problem solving, and
data tasks decision support
Reveals a snapshot of ongoing business Multi-dimensional views of various kinds of
What the data
processes business activities
Inserts and Short and fast inserts and updates initiated
Periodic long-running batch jobs refresh the data
Updates by end users
Relatively standardized and simple queries
Queries Often complex queries involving aggregations
Returning relatively few records
Depends on the amount of data involved; batch
Processing data refreshes and complex queries may take
Typically very fast
Speed many hours; query speed can be improved by
creating indexes
Larger due to the existence of aggregation
Space Can be relatively small if historical data is
structures and history data; requires more
Requirements archived
indexes than OLTP
Database Typically de-normalized with fewer tables; use of
Highly normalized with many tables
Design star and/or specific schemas
Backup religiously; operational data is
Instead of regular backups, some environments
Backup and critical to run the business, data loss is
may consider simply reloading the OLTP data as a
Recovery likely to entail significant monetary loss
recovery method
and legal liability