DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

24
PRESENDED BY #### (12ad@@@@2) GUIDE @@@@@@@@@@@@

Transcript of DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Page 1: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

PRESENDED BY####(12ad@@@@2)GUIDE@@@@@@@@@@@@

Page 2: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Data warehouse consolidate data inmultidimensional space. the construction ofdata warehouse involves data cleaning ,dataintegration, and data transformation and canview the important preprocessing step for datamining. Moreover data warehouse onlineanalytical processing(OLAP).as well as data warehouse implementation examines generalstrategies for efficient data cube computation,OLAP data indexing and OLAP queryprocessing.

Page 3: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

What is a data warehouse?

Data warehouse implementation

Further development of data cube technology

Page 4: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

“A data warehouse is a collection of subject-

oriented, integrated, time-variant, and

nonvolatile collection of data in support of

management’s decision-making process.”

Data warehouse is a relational database that is

designed for query and analysis.

It usually contain historical data derived from

transaction data ,but it can include data from

other sources.

Page 5: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Organized around major subjects, such as

customer, product, sales.

Focusing on the modeling and analysis of data for

decision makers, not on daily operations or

transaction processing.

Provide a simple and concise view around

particular subject issues by excluding data that

are not useful in the decision support process.

Page 6: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Constructed by integrating multiple, heterogeneousdata sources

relational databases, flat files, on-line transactionrecords

Data cleaning and data integration techniques areapplied.

Ensure consistency in naming conventions,encoding structures, attribute measures, etc. amongdifferent data sources

▪ E.g., Hotel price: currency, tax, breakfastcovered, etc.

Page 7: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

The time horizon for the data warehouse is significantly

longer than that of operational systems.

Operational database: current value data.

Data warehouse data: provide information from a historical

perspective (e.g., past 5-10 years)

Every key structure in the data warehouse

Contains an element of time, explicitly or implicitly

But the key of operational data may or may not contain

“time element”.

Page 8: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

A physically separate store of data transformed from

the operational environment.

Operational update of data does not occur in the data

warehouse environment.

Does not require transaction processing, recovery, and

concurrency control mechanisms

Requires only two operations in data accessing:

▪ initial loading of data and access of data.

Page 9: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

OLTP (on-line transaction processing)

Major task of traditional relational DBMS

Day-to-day operations: purchasing, inventory, banking,

manufacturing, payroll, registration, accounting, etc.

Usage is repetitive.

DB design is application -oriented

OLAP (on-line analytical processing)

Major task of data warehouse system

Data analysis and decision making

Usage is Ad-hoc.

DB design is subject-oriented.

Page 10: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

all

product date country

product,date product,country date, country

product, date, country

0-D(apex) cuboid

1-D cuboids

2-D cuboids

3-D(base) cuboid

Page 11: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

It having the following techniques are

1)Efficient data cube computation.

2)The compute cube operation.

3)Indexing OLAP data :bitmap index.

4)Indexing OLAP data: join indices.

5)Efficient processing OLAP queries.

6)OLAP server architecture.

Page 12: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

)11(

n

ii

LT

•Data cube can be viewed as a lattice of cuboids

The bottom-most cuboids is the base cuboids

The top-most cuboids (apex) contains only one cell

How many cuboids in an n-dimensional cube with L levels?

•Materialization of data cube

Materialize every (cuboids) (full materialization), none (no

materialization), or some (partial materialization)

Selection of which cuboids to materialize

Based on size, sharing, access frequency, etc.

Page 13: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Cube definition and computation in DMQL

define cube sales[item, city, year]: sum(sales-in-dollars)

compute cube sales

Transform it into a SQL-like language (with a new operatorcube by, introduced by Gray et al.’96)

SELECT item, city, year, SUM (amount)

FROM SALES

CUBE BY item, city, year(city, item) (city, year) (item, year)

(city) (item)

()

(city, item, year)

Page 14: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Cust Region Type

C1 Asia Retail

C2 Europe Dealer

C3 Asia Dealer

C4 America Retail

C5 Europe Dealer

Base table

RecIDAsia Europe America

1 1 0 0

2 0 1 0

3 1 0 0

4 0 0 1

5 0 1 0

RecID Retail Dealer

1 1 0

2 0 1

3 0 1

4 1 0

5 0 1

Index on Region Index on Type

•Index on a particular column•Each value in the column has a bit vector: bit-op is fast•The length of the bit vector: # of records in the base table•The i-th bit is set if the i-th row of the base table has the valuefor the indexed column•not suitable for high cardinality domains

Page 15: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Traditional indices map the values to a list of record ids

It materializes relational join in JI file and speeds uprelational join — a rather costly operation

In data warehouses, join index relates the values of thedimensions of a start schema to rows in the fact table.

E.g. fact table: Sales and two dimensions city and product

▪ A join index on city maintains for each distinct city a listof R-IDs of the tuples recording the Sales in the city

Join indices can span multiple dimensions

Page 16: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
Page 17: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Determine which operations should be performed on

the available cuboids:

transform drill, roll, etc. into corresponding SQL and/or

OLAP operations, e.g. dice = selection + projection

Determine to which materialized cuboids(s) the

relevant operations should be applied.

Page 18: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

USE Relational (or)extended relational DBMS

to storage and manage data and OLAP middle

war.

Include optimization of DBMS backend

implementation of aggregation navigation

logic and additional tools and services.

Greater scalability.

Page 19: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Sparse array based multidimensional storage

engine.

Fast indexing to pre-computed summarized

data.

Page 20: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Example of hybrid OLAP is “Micro soft SQL

server”.

It is flexibility ,example low level: relational

,High level: array.

Specialized SQL server(e.g. red bricks).

Specialized support for SQL queries over star

schemas.

Page 21: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Integrating data from multiple sources . Performing new types of analysis. Reducing cost to access historical data.

Disadvantages of data warehousing

The data warehouse can be costly to maintain and thatbecomes a problem if the warehouse is under utilled.

Page 22: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

Their features and capabilities have been

discussed finally various stages and steps in

data warehouse implementation to guide the

reader on how to implement a data warehouse

are also described.

Page 23: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA

S. Agarwal, R. Agrawal, P. M. Deshpande, A.

Gupta, J. F. Naught on, R. Ramakrishna, and

S. Sarawagi. On the computation of

multidimensional aggregates. In Proc. 1996

Int. Conf. Very Large Data Bases, 506-521,

Bombay, India, Sept. 1996.

Page 24: DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA