0% found this document useful (0 votes)
7 views

Olap vs Oltp

Uses
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Olap vs Oltp

Uses
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Online Analytical Processing (OLAP):

Online Analytical Processing consists of a type of software tools that are


used for data analysis for business decisions. OLAP provides an
environment to get insights from the database retrieved from multiple
database systems at one time. Examples – Any type of Data warehouse
system is an OLAP system. The uses of OLAP are as follows:
 Spotify analyzed songs by users to come up with a personalized
homepage of their songs and playlist.
 Netflix movie recommendation system.

Online transaction processing (OLTP):


Online transaction processing provides transaction-oriented applications in
a 3-tier architecture. OLTP administers the day-to-day transactions of an
organization.
Examples: Uses of OLTP are as follows:
 ATM center is an OLTP application.
 OLTP handles the ACID properties during data transactions via the
application.
 It’s also used for Online banking, Online airline ticket booking, sending
a text message, add a book to the shopping cart.

Difference between OLAP and OLTP (AKTU Question)


Sr. Category OLAP (Online analytical OLTP (Online
No. processing) transaction processing)
1. Definition It is well-known as an It is well-known as an
online database query online database modifying
management system. system.
2. Data source Consists of historical dataConsists of only of
from various Databases. operational current data. In
In other words, different other words, the original
OLTP databases are used data source is OLTP and
as data sources for OLAP. its transactions.
3. Method used It makes use of a data It makes use of a standard
warehouse. database management
system (DBMS).
4. Application It is subject-oriented. It is application-oriented.
Used for Data Mining, Used for business tasks.
Analytics, Decisions
making, etc.
5. Normalized In an OLAP database, In an OLTP database,
tables are not normalized. tables are normalized
(3NF).
6. Usage of The data is used in The data is used to perform
data planning, problem- day-to-day fundamental
solving, and decision- operations.
making.
9. Volume of A large amount of data is The size of the data is
data stored typically in TB, PB relatively small as the
historical data is archived.
For ex MB, GB
10. Queries Relatively slow as the Very Fast as the queries
amount of data involved is operate on 5% of the data.
large. Queries may take
hours.
11. Update The OLAP database is The data integrity
not often updated. As a constraint must be
result, data integrity is maintained in an OLTP
unaffected. database.
12. Backup and It only need backup from Backup and recovery
Recovery time to time as compared process is maintained
to OLTP. rigorously
13. Processing The processing of It is comparatively fast in
time complex queries can take processing because of
a lengthy time. simple and straightforward
queries.
14. Types of This data is generally This data is managed by
users managed by CEO, MD, clerks, managers.
GM.

You might also like