You are on page 1of 32

OLAP & RTAP

Lecture 8
Prepared by
Neeraj Kohli

OLAP vs OLTP

OLTP

OLTP (On-line Transaction Processing)


is characterized by a large number of short
on-line transactions (INSERT, UPDATE,
DELETE)..

OLTP

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

OLTP

In OLTP database there is detailed and


current data, and schema used to store
transactional databases is the entity model
(usually 3NF).

Why OLAP

OLAP

OLAP (On-line Analytical Processing)


is characterized by relatively low volume of
transactions.

OLAP

Queries are often very complex and involve


aggregations.

OLAP

In OLAP database there is aggregated,


historical data, stored in multi-dimensional
schemas (usually star schema).

OLTP Vs OLAP
OLTP
Source of data

Purpose of data
What the data does
Inserts and Updates

Queries

OLAP

Consolidation data;
Operational data;
OLAP data comes from
OLTPs are the original
the various OLTP
source of the data.
Database
To control and run
To help with planning,
fundamental business problem solving, and
tasks
decision support
Reveals a snapshot of
Multi-dimensional
ongoing business
views of various kinds
processes
of business activities
Short and fast inserts Periodic long-running
and updates initiated batch jobs refresh the
by end users
data
Relatively standardized
and simple queries
Often complex queries
Returning relatively involving aggregations
few records
Depends on the

Space Requirements

Can be relatively small


if historical data is
archived

Database Design

Highly normalized with


many tables

Backup and Recovery

Backup religiously;
operational data is
critical to run the
business, data loss is
likely to entail
significant monetary
loss and legal liability

Larger due to the


existence of
aggregation structures
and history data;
requires more indexes
than OLTP
Typically de-normalized
with fewer tables; use
of star and/or
snowflake schemas
Instead of regular
backups, some
environments may
consider simply
reloading the OLTP
data as a recovery
method

OLAP

In OLAP data in stored in Cubes called OLAP


Cubes

OLAP

OLAP cubes provide value in a number of


ways, including abstracting report queries
away from the database and providing fast
access to knowledge through techniques
that include pre-aggregated, pre-built
analytics in the cube

RTAP

Problems with OLAP

RTAP

RTAP:Real time Analytic Processing. It is


characterized by the following
data ingested & processed in a real-time, streaming
fashion
real-time data queried and presented in an online
fashion
real-time and history data combined and mined
interactively
predominantly RAM-based processing

OLAP on Hadoop

RTAP

RTAP empowers users to extract analytics


from big data at real time.

RTAP

Analytics and business intelligence are


made easy with RTAP on NoSQL and Hadoop

RTAP

Taking fault tolerance, horizontal scalability,


performance, and flexible data modeling
advantages of NoSQL and Hadoop

RTAP
Intelligent
Secured
Easy Visualization
Data Federation
Data Analytics

RTAP

Intelligence: TAP is a Self-learning and


intelligent platform which becomes smarter
as time goes by.

RTAP

Secure: RTAP has built in user management,


security, and access control which can be
deployed in-premise as well as on cloud.

RTAP

Easy Visualization Visualization Engine


features simple but very powerful intuitive
UI which enables user to represent data in
various charts, maps, etc.

RTAP

Data Federation:Data transformation from


any source which may be RDBMS, Big Data,
Mac.hine Data, or social media data

RTAP

Data Analytics: Makes predictions, text


analytics, and business analysis using
various analytics libraries from the Analytics
Engine.

OLAP or RTAP??

Depending on need can use OLAP or RTAP


or a hybrid soluti.on

Thank

You

You might also like