SQL Server Indonesia User Groups Community Must Know : OLAP v.s OLTP - SQL Server Geeks
Welcome to SQL Server User Group Indonesia
Sign in JoinHelp | Sign In Live ID

SQL Server Geeks

I am not SQL Addicted , but I am SQL Geeks

Must Know : OLAP v.s OLTP

The design of a data warehouse database and online analytical processing (OLAP) cubes is fundamentally different than a transactional processingdatabase (OLTP). The data warehouse is specifically designed to facilitate super fast query times and multi-dimensional analysis. The following tablesummarizes the major differences between OLTP and OLAP system design. OLAP vs OLTP 
  OLTP SystemOnline Transaction Processing(Operational System)  OLAP SystemOnline Analytical Processing(Data Warehouse) 
Source of data  Operational data; OLTPs are the original sourceof the data.  Consolidation data; OLAP data comes from thevarious OLTP Databases 
Purpose of data  To control and run fundamental business tasks  To help with planning, problem solving, anddecision support 
What the dataReveals  A snapshot of ongoing business processes  Multi-dimensional views of various kinds ofbusiness activities 
Inserts andUpdates  Short and fast inserts and updates initiated byend users  Periodic long-running batch jobs refresh the data 
Queries  Relatively standardized and simple queriesReturning relatively few records  Often complex queries involving aggregations 
ProcessingSpeed  Typically very fast  Depends on the amount of data involved; batchdata refreshes and complex queries may takemany hours; query speed can be improved bycreating indexes 
SpaceRequirements  Can be relatively small if historical data isarchived  Larger due to the existence of aggregationstructures and history data; requires more indexesthan OLTP 
DatabaseDesign  Highly normalized with many tables  Typically de-normalized with fewer tables; use ofstar and/or snowflake schemas 
Backup andRecovery  Backup religiously; operational data is critical to run the business,data loss is likely to entailsignificant monetary loss and legal liability  Instead of regular backups, some environmentsmay consider simply reloading the OLTP data as arecovery method 
 
Posted: Dec 23 2009, 05:41 AM by KikiNoviandi | with 1 comment(s)
Filed under: ,

Comments

SQL Server Geeks said:

Normalisasi akan meningkatkan data integrity tetapi akan juga meningkatkan Query complexity dan sebaliknya

# December 19, 2010 12:55 PM