Oracle BI - Topic - Data Warehousing
Oracle BI - Topic - Data Warehousing
Oracle BI - Topic - Data Warehousing
Data Mart
Online Analytical Processing (OLAP)
Online Transaction Processing (OLTP)
Predictive Analysis
Data Mart
Data Mart is the simplest form of DW and it normally focuses on a single functional
area, such as sales, finance or marketing. Hence, data mart usually gets data only
from few data sources.
Sources could be an internal transaction system, a central data warehouse, or an
external data source application. De-normalization is the norm for data modeling
techniques in this system.
What is Aggregation?
We save tables with aggregated data like yearly (1 row), quarterly (4 rows), monthly
(12 rows) and now we want to compare data, like Yearly only 1 row will be processed.
However, in an un-aggregated data, all the rows will be processed.
OLAP system normally stores data in multidimensional schemas like Star Schema,
Galaxy schemas (with Fact and Dimensional tables are joined in logical manner).
In an OLAP system, response time to execute a query is an effectiveness measure.
OLAP applications are widely used by Data Mining techniques to get data from OLAP
systems. OLAP databases store aggregated historical data in multi-dimensional
schemas. OLAP systems have data latency of a few hours as compared to Data Marts
where latency is normally closer to few days.
Online Transaction Processing (OLTP)
An OLTP system is known for large number of short online transactions like insert,
update, delete, etc. OLTP systems provide fast query processing and also responsible
to provide data integrity in multi-access environment.
For an OLTP systems, effectiveness is measured by the number of transactions
processed per second. OLTP systems normally contain only current data. The schema
used to store transactional databases is the entity model. Normalization is used for
data modeling techniques in OLTP system.
OLTP vs OLAP
The following illustration shows the key differences between an OLTP and OLAP
system.
Indexes − In an OLTP system, there are only few indexes while in an OLAP system
there are many indexes for performance optimization.
Joins − In an OLTP system, large number of joins and data is normalized; however, in
an OLAP system there are less joins and de-normalized.
Aggregation − In an OLTP system, data is not aggregated while in an OLAP database
more aggregations are used.