Professional Documents
Culture Documents
11000120032-Soham Chakraborty
11000120032-Soham Chakraborty
• INTRODUCTION TO DATABASE
• INTRODUCTION TO DATA WAREHOUSE
• DIFFERENCE BETWEEN DATABASE AND DATA WAREHOUSE
• WHAT IS OLAP?
• WHAT IS OLTP?
• DIFFERENCE BETWEEN OLTP AND OLAP
• ADVANTAGES AND DISADVANTAGES OF OLAP
• ADVANTAGES AND DISADVANTAGES OF OLTP
Database
• Database System is used in traditional way of storing and retrieving data.
• The major task of database system is to perform query processing.
• These systems are generally referred as online transaction processing
system.
• These systems are used day to day operations of any organization.
Data warehouse
• A data warehouse is a system that
aggregates data from different sources
into a single, central, consistent data store
to support data analysis, data mining,
artificial intelligence (AI), and machine
learning.
• A data warehouse system enables an
organization to run powerful analytics on
huge volumes (terabytes and petabytes)
of historical data in ways that a
standard database cannot.
Generally speaking, data warehouses
have a three-tier architecture, which
consists of a:
• Bottom tier: The bottom tier consists
of a data warehouse server which
collects, cleanses, and transforms data
from multiple data sources through a
Architecture process known as Extract, Transform,
of Data and Load (ETL).
• Middle tier: The middle tier consists of
Warehouse an OLAP (i.e. online analytical
processing) server which enables fast
query speeds.
• Top tier: The top tier is represented by
some kind of front-end user interface or
reporting tool, which enables end users
to conduct ad-hoc data analysis on
their business data.
Database System Data Warehouse
• Think about your parents going to your school and asking your teachers and
the principal the same questions:
• If your parents asked your teacher question 1, they would probably get a
response that is along the lines of,
• “Oh, Ramesh is doing very well in class at the moment. You should be proud of him."
• If your parents asked the principal question 1, they would probably respond
with,
• "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
OLAP system (Online
Category for comparison 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.