Docsity

Data Warehouse - Database Management - Lecture Slides, Slides of Database Management Systems (DBMS)

Partial preview of the text

Download Data Warehouse - Database Management - Lecture Slides and more Slides Database Management Systems (DBMS) in PDF only on Docsity!

The Data Warehouse

Objectives

  • Compare the data needs of transaction processing systems with those of decision support systems.
  • Describe the data warehouse concept and list its main features.
  • Compare the enterprise data warehouse with the data mart.

Objectives

  • List the types of expertise needed to

administer a data warehouse.

  • List the challenges in data warehousing.

Application Systems

  • Transaction Processing Systems (TPS)
    • Everyday application systems that support banking and insurance operations, manage the parts inventory on manufacturing assembly lines, keep track of airline and hotel reservations, support Web-based sales, etc.
  • Decision Support Systems (DSS)
    • specifically designed to aid managers in decision- making tasks.

Characteristics of

Data Warehouse Data

  • The data is subject oriented
  • The data is integrated
  • The data is non-volatile
  • The data is time variant
  • The data must be high quality
  • The data may be aggregated
  • The data is often denormalized
  • The data is not necessarily absolutely current

The Data is Subject Oriented

  • Data warehouses are organized around

subjects, really the major entities of concern in the business environment.

  • Sales, customers, orders, claims, accounts, employees, other entities that are central to the company’s business.

The Data is Non-Volatile

  • Once data is added to the data warehouse, it

doesn’t change.

  • It will never change. Changing it would be like

going back and rewriting history.

The Data is Time Variant

  • Data warehouse data, with its historic nature, always includes some kind of a timestamp.
  • If we are storing sales data on a weekly or monthly basis and we have accumulated ten years of such historic data, each weekly or monthly sales figure must be accompanied by a timestamp indicating the week or month (and year!) that it represents.

The Data May Be Aggregated

  • The type of data that management requires for decision making is generally summarized data.
  • The sheer volume of all the historic detail data would make the data warehouse unacceptably huge in many cases.
  • If the detail data was stored in the data warehouse, the amount of time that it would take to summarize the data for management every time a query was posed would often be unacceptable.

The Data is Often Denormalized

  • If a company is willing to tolerate the substantial additional space taken up by the redundant denormalized data, it can gain the advantage of the improved query performance that redundancy provides without paying the penalties of increased update time and potential data integrity problems.
  • This works because the data integrity problems that can be caused by redundant data only arise when the data is updated. The historic data in the data warehouse will not be updated.

Types of Data Warehouses

  • Enterprise Data Warehouse (EDW)
  • Data Mart (DM)

Enterprise Data Warehouse

  • Large-scale; incorporates the data of an entire company or of a major division, site, or activity of a company.
  • A full scale EDW is built around several different subjects.
  • Support a wide variety of DSS applications and serve as a data resource with which company managers can explore new ways of using the company’s data to its advantage.

Which to Choose:

The EDW, the DM, or Both?

  • It depends from company to company.
  • Top-down development implies that the EDW was created first and then later data was extracted from an EDW to create one or more DMs.
  • A company that has deliberately or as a matter of circumstance developed a series of independent DMs may decide, in a bottom-up development fashion to build an EDW out of the existing DMs.

Designing a Data Warehouse

  • Two characteristics of data warehouses are central to any design: - The subject orientation. - The historic nature of the data.
  • Data warehouses are often referred to as multidimensional databases because each occurrence of the subject is referenced by an occurrence of each of several dimensions or characteristics of the subject, one of which is time.