Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

OLTP OLAP

 On-Line Transaction  On-Line Analytical

Processing systems are those systems Processing systems are those

that support online transactions in categories of software that provide

databases on a real-time basis. Its analytical platforms to derive useful

primary objective is to process data, not insights for business purposes.

analyse it.  

 Transactional: OLTP is transactional  Analytical: OLAP systems are used

data processing, and this mainly covers for analytical purposes, where you

writing into databases. perform analytical tasks to derive


  useful insights from the given data.
  OLAP is more of an offline datastore
  where you perform analytics on a
  data set.

 CRUD Operations: It supports the  Aggregation Operation: OLAP

CRUD operations, in which you can systems are not meant to perform

create, retrieve, update or delete data CRUD operations because OLAP


from a database. does not alter the existing database.
  You can only perform aggregation of
  data on the existing data sets to
  derive useful insights.

 Longer Query Time: OLAP systems


 Less Query Time: OLTP should take
have longer query time, as they need
less query time because it has to be fast
to process big data simultaneously at
to work on a real-time basis.
a particular point in time.

 Normalised Data: An OLTP system  Mostly Denormalised Data: Data

mostly contains the normalised form of available in this system is mostly

data to perform the CRUD operations denormalised and is available in a


easily. Normalization eliminates data single table only to get the required

redundancy in a relational database. inferences from that table.

You can read more about it in this link  


   
   
   

 There is no strict data integrity in an


 Strict Data Integrity: The operations
OLAP system.
are performed on a transactional basis,
 
and hence, there has to be strict data
 
integrity and a well-defined structure of
 
tables.
 

Examples: Examples:
  Bank transactions  An e-commerce company wants
 Online flight ticket booking system to perform an analysis of their
on Paytm sales, products in order to make
 Adding items to your cart on the marketing strategies.
Amazon app  The Government of India wants
  to perform a demographic
  analysis of Aadhar card data to
  know the sex ratio in a particular
  state.

You might also like