Professional Documents
Culture Documents
The core of most OLAP databases is the OLAP cube, which allows you to quickly query, report on
and analyze multidimensional data.
The OLAP cube extends the row-by-column format of a traditional relational database schema and
adds layers for other data dimensions.
WHAT IS OLTP?
• Online transactional processing (OLTP) enables the real-time execution of large numbers
of database transactions by large numbers of people, typically over the Internet.
• OLTP systems are behind many of our everyday transactions, from ATMs to in-store
purchases to hotel reservations. OLTP can also drive non-financial transactions, including
password changes and text messages.
• Many organizations use OLTP systems to provide data for OLAP. In other words, a
combination of both OLTP and OLAP are essential in our data-driven world.
• The primary objective is data processing and not data analysis
• Because the type of data stored in a database is different to a data
warehouse, it makes sense that the type of information a database can
provide differs from the information that a data warehouse can provide.
• Think about your parents going to your school and asking your teachers
and the principal the same questions:
1. How is my child doing in class?
• "Who?"
• If we think of the teacher as the database and the principal as the data
warehouse, the teacher gets to see Ramesh everyday. They teach and
interact with Ramesh everyday and so they would have the most up-to-
date information about Ramesh at school.
• On the other hand, if your parents asked the teacher question 2, the
teacher won't have enough data to tell your parents straight away.
• If your parents asked the principal question 2, the principal will say
straight away:
• "Our school has experienced a 95% passing rate over the last 5 years so I
can extremely confident that your child will also succeed at our school."
• The principal (or data warehouse) aggregates all data necessary from
students, teachers, and classes (the databases) over time to make big, bold
claims (analytical statements) like that.
OLTP system (Online
Category for comparison OLAP system (Online Transactional
Analytical Processing)
Processing)
• Easily apply security restrictions on users and objects to comply with regulations and protect sensitive data.
• OLAP tools need cooperation between people of various departments to be effective which might always
be not possible.
Advantages of OLTP method
• If OLTP system faces hardware failures, then online transactions get severely affected.
• OLTP systems allow multiple users to access and change the same data at the same time which many times
created unprecedented situation.
Both, OLAP and OLTP have their unique capabilities and it is not about choosing which one is better. In
any organisation, a combination of both OLTP and OLAP is essential in our data-driven world.