Friday, January 3, 2014

Business Intelligence - OLTP vs OLAP (Differences)

Before I go to bed, I would like to share about OLTP and OLAP. This article is taken from 2 source: MicroStrategy and Datawarehouse4u. I think this article will be useful for us in order to understand more about the foundation of Business Intelligence. Enjoy. :)


#Source Systems (OLTP)

Source systems are typically databases, file sources, web sources or mainframes that store transaction processing data. As such, they are an OnLine Transaction Processing System (OLTP). Transaction processing involves simple recording of transaction like sales, inventory, withdrawals, deposits, and so forth.

The data in source systems have the following characteristics:
  • Data access is read/write (numerous selects, inserts, updates, and deletes).
  • Data is aligned by application (business activities and workflow).
  • Data formats are not necessarily uniform across different source systems.
  • Data history is typically limited to recent or current data.
A bank is one example of a business with many different types of source systems. The average bank offers their customers a variety of services and, therefore, needs these different type of source systems to support their services, each of which has a different workflow.

For example, consider the Automated Teller Machine (ATM) and the bank teller. At an ATM, you can withdraw or deposit money as well as check your account balance. However, if you need a money order, you have to go inside and speak with a bank teller. The bank has different operational system, each design to perform tasks that are specific to the service.

To take our example further, if a bank wanted to see a unified view of a particular customer - such as a customer's ATM activity, loan status, account balances, money market account information, and so forth - all of the customer's information from each of the different source systems would have to be collected. After this data is collected, it is stored in a centralized data warehouse.

#Data Warehouse (OLAP)

A well-designed and robust data warehouse lies at the heart of the business intelligence system and enables its users to leverage the competitive advantage that business intelligence provides. A data warehouse is an example of an OnLine Analytical Processing System (OLAP).

While source systems are designed and optimized for transaction processing, data warehouses are designed and optimized for analytical

processing. Analytical processing involves manipulating transaction records to calculate sales trends, growth patterns, percent to total contribution, trend report, profit analysis and so forth.

The data in a data warehouse have the following characteristics:
  • Data access is typically read-only (IN-SQL, mostly selects are used. Generally very few inserts, updates, or deletes are used).
  • Data is aligned by business subjects.
  • Data format are uniformly integrated.
  • Data history extends long term, usually 2 to 5 years.
A data warehouse is populated with data from the existing operational systems with an ETL process.

#Summary of Differences - OLTP VS OLAP

The following table summarizes the differences between OLTP and OLAP systems:

#ETL Process

The extraction, transformation, and loading (ETL) process contains information that facilitates the transfer of the data from the source systems to the data data warehouse.

Specifically, the ETL Process does the following:
  • Store information about the source system structure and content
  • Store information about the data warehouse structure and content
  • Correlates source system structure and content to that of the data warehouse
  • Provides information to the data extraction tools that physically execute the transfer of data from the source systems to the data warehouse



We can divide IT systems into transactional (OLTP) and analytical (OLAP). In general we can assume that OLTP systems provide source data to data warehouses, whereas OLAP systems help to analyze it.

OLTP (On-line Transaction Processing) is characterized by a large number of short on-line transactions (INSERT, UPDATE, DELETE). The main emphasis for OLTP systems is put on very fast query processing, maintaining data integrity in multi-access environments and an effectiveness measured by number of transactions per second. In OLTP database there is detailed and current data, and schema used to store transactional databases is the entity model (usually 3NF).

OLAP (On-line Analytical Processing) is characterized by relatively low volume of transactions. Queries are often very complex and involve aggregations. For OLAP systems a response time is an effectiveness measure. OLAP applications are widely used by Data Mining techniques. In OLAP database there is aggregated, historical data, stored in multi-dimensional schemas (usually star schema).

The following table summarizes the major differences between OLTP and OLAP system design.


  1. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.

    Data Science Training in Bangalore

  2. Play online casinos with fun and money fun slots Fun money, take while there.

  3. Nice post.Thanks for sharing this post. Pridesys Business Intelligence (BI) is offering you easy-to-use analytics and business intelligence tools. With these tools you can explore your data. Create new patterns, rich visual and insights. to know more information visit: Pridesys IT Ltd

  4. Hi, thank you very much for new information, i learned something new. Very well written.It was so good to read and usefull to improve knowledge.Keep posting. If you are looking for any big data hadoop related information please visit our website.
    big data hadoop training in bangalore.

  5. On the off chance that you had concluded that you'd needed to be a business examiner, it would have been impossible that you would have considered music, show, medication, or some other apparently irrelevant subjects.
    business analysis

  6. Thanks for sharing useful information. I learned something new from your bog. Its very interesting and informative. keep updating. If you are looking for any apache spark scala related information, please visit our website apache spark scala training institute in bangalore

  7. Nice blog,I understood the topic very clearly,And want to study more like this.
    Data Scientist Course

  8. This comment has been removed by the author.

  9. Attend The Data Analytics Courses From ExcelR. Practical Data Analytics Courses Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Data Analytics Courses.
    Data Analytics Courses
    Data Science Interview Questions

  10. Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. ้›…ๆ€ไปฃ่€ƒ

  11. I am looking for and I love to post a comment that "The content of your post is awesome" Great work!

    Correlation vs Covariance

  12. All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks Pakistan Stock Exchange


Share Your Inspiration...