Académique Documents
Professionnel Documents
Culture Documents
Who are my customers Who are my customers and what products and what products are they buying? are they buying?
What product promWhat product prom-otions have the biggest -otions have the biggest impact on revenue? impact on revenue? What impact will What impact will new products/services new products/services have on revenue have on revenue and margins? and margins?
Which customers Which customers are most likely to go are most likely to go to the competition ?? to the competition
Data, Data everywhere yet ... I cant find the data I need
data is scattered over the network many versions, subtle differences
OLTP
OLTP = online transaction processing The process of moving data around to handle day-to-day affairs
Scheduling classes Registering students Tracking benefits Recording payments, etc. ATM
OLTP
Run the business in real time OLTP systems captures transaction immediately as they occur. Database Systems have been used traditionally for OLTP. Optimized to handle large numbers of simple read/write transactions
Limitations of OLTP
OLTP does not have repositories of facts and historical data for business analysis. Cannot quickly answer adhoc queries. Data is inconsistent and changing. Duplicate entries exists.
10
More than just reporting Reporting is just one (static) product of OLAP
11
OLAP Databases
OLAP systems require support databases These databases typically
Support fewer simultaneous users than OLTP back ends Are structured simply; i.e., denormalized Can grow large
Hold snapshots of data in OLTP systems Provide history/time depth to our analyses
Are optimized for read (not write) access Updated via periodic batch (e.g., nightly) ETL processes
12
Multi-dimensional Data
HeyI sold $100M worth of goods
W S N Juice Cola Milk Cream Toothpaste Soap 1 2 34 5 6 7
Re gi on
Product
Category
Region
Quarter
Product
City Office
Month Day
Week
13
Month
14
gi e
ns o
Europe
Sales Channel
15
Drill-Down
Roll Up
Low-level Details
16
17
18
19
Operational Database
Loans Credit Card Trust Savings Customer
Data Warehouse
21
OLTP Users Function DB Design View Usage Unit of work Access Records Accessed Users Day to day operations Application oriented Detailed, flat relational Structured, repetitive Simple transactions Read/Write Tens Thousands
OLAP Decision support Subject oriented Summarized, multidimensional Adhoc Complex queries Read Millions Hundreds 100 GB-TB
22
To summarize ...
OLTP Systems are used to run a business
University Questions
Q. Differentiate between OLTP and OLAP.
24
THANK YOU
25