Coronel DatabaseSystems 13e Ch13
Coronel DatabaseSystems 13e Ch13
2
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
The Need for Data Analysis
3
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence (1 of 2)
4
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence (2 of 2)
5
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence Architecture (1 of 3)
6
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence Architecture (2 of 3)
Table 13.2
Basic BI Architectural
Components
Component Description
ETL tools Data extraction, transformation, and loading (ETL ) tools collect, filter, integrate, and aggregate internal and external data to be
saved into a data store optimized for decision support.
Data store The data store is optimized for decision support and is generally represented by a data warehouse or a data mart. The data is stored
in structures that are optimized for data analysis and query speed.
Query and This component performs data selection and retrieval, and it is used by the data analyst to create queries that access the database
reporting and create the required reports.
Data visualization This component presents data to the end user in a variety of meaningful and innovative ways. This tool helps the end user select
the most appropriate presentation format, such as summary reports, maps, pie or bar graphs, mixed graphs, and static or
interactive dashboards.
Data monitoring This component allows real-time monitoring of business activities. The BI system will present concise information in a single
and alerting integrated view. This integrated view could include specific metrics about the system performance or activities, such as number of
orders placed in the last four hours, number of customer complaints by product by month, and total revenue by region. Alerts can
be placed on a given metric; once the value of a metric goes below or above a certain baseline, the system will perform a given
action, such as emailing shop floor managers, presenting visual alerts, or starting an application.
Data analytics This component performs data analysis and data-mining tasks using the data in the data store. This tool advises the user as to
which data analysis tool to select and how to build a reliable business data model. Business models are generated by special
algorithms that identify and enhance the understanding of business situations and problems.
7
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence Architecture (3 of 3)
8
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence Benefits
• Improved decision making is the main goal of BI, but BI provides other benefits
• Integrating architecture
• Common user interface for data reporting and analysis
• Common data repository fosters single version of company data
• Improved organizational performance
• Achieving all these benefits takes a lot of human, financial, technological
resources, and time
• BI benefits are not achieved overnight; are the result of a focused company-wide
effort that could take a long time
9
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence Evolution (1 of 2)
10
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence Evolution (2 of 2)
11
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Business Intelligence Technology Trends
12
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Decision Support Data
13
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Operational Data versus Decision Support Data (1 of 3)
14
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Operational Data versus Decision Support Data (2 of 3)
15
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Operational Data versus Decision Support Data (3 of 3)
Table 13.5
Contrasting Operational and Decision
Support Data Characteristics
Characteristic Operational Data Decision Support Data
16
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Decision Support Database Requirements
• Database schema
• Must support complex, non-normalized data representations
• Data must be aggregated and summarized
• Queries must be able to extract multidimensional time slices
• Data extraction and filtering
• Allow batch and scheduled data extraction
• Support different data sources and check for inconsistent data or data validation rules
• Encourage advanced integration, aggregation, and classification
• Database size
• Very large databases (VLDBs)
• Advanced storage technologies
• Multiple-processor technologies
17
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
The Data Warehouse (1 of 3)
• Collection of data
• Provides support for decision making
• Components
• Integrated
• Subject-oriented
• Time-variant
• Nonvolatile
18
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
The Data Warehouse (2 of 3)
Table 13.8
Characteristics of Data
Warehouse Data and
Operational Database Data
Characteristic Operational Database Data Data Warehouse Data
Integrated Similar data can have different representations or Provide a unified view of all data
meanings. For example, Social Security numbers elements with a common definition and
may be stored as ###-##-#### or as #########, and representation for all business units.
a given condition may be labeled as T/F or 0/1 or
Y/N. A sales value may be shown in thousands or in
millions.
Subject-oriented Data is stored with a functional, or process, Data is stored with a subject orientation
orientation. For example, data may be stored that facilitates multiple views of the data
for invoices, payments, and credit amounts. and decision making. For example, sales
may be recorded by product, division,
manager, or region.
Time-variant Data is recorded as current transactions. For Data is recorded with a historical
example, the sales data may be the sale of a perspective in mind. Therefore, a time
product on a given date, such as $342.78 on dimension is added to facilitate data
12-MAY-2016. analysis and various time comparisons.
Nonvolatile Data updates are frequent and common. For Data cannot be changed. Data is added
example, an inventory amount changes with only periodically from historical systems.
each sale. Therefore, the data environment Once the data is properly stored, no
is fluid. changes are allowed. Therefore,
the data environment is relatively static.
19
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
The Data Warehouse (3 of 3)
20
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Data Marts
21
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Twelve Rules That Define a Data Warehouse
Table 13.9 Twelve Rules for a Data Warehouse
22
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Star Schemas (1 of 5)
• Data-modeling technique
• Maps multidimensional decision support data into a relational database
• Creates the near equivalent of multidimensional database schema from existing
relational database
• Yields an easily implemented model for multidimensional data analysis
23
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Star Schemas (2 of 5)
24
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Star Schemas (3 of 5)
25
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Star Schemas (4 of 5)
26
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Star Schemas (5 of 5)
27
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Online Analytical Processing (OLAP)
28
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Multidimensional Data Analysis Techniques
29
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Advanced Database Support
• OLAP tools must have the following features to deliver efficient decision
support:
• Access to many different kinds of DBMSs, flat files, and internal and external data
sources
• Access to aggregated data warehouse data and operational database detail data
• Advanced data navigation features
• Rapid and consistent query response times
• Ability to map end-user requests
• Support for very large databases
30
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Easy-to-Use End-User Interface
31
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
OLAP Architecture (1 of 2)
32
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
OLAP Architecture (2 of 2)
33
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Relational OLAP
34
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Multidimensional OLAP
35
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Relational versus Multidimensional OLAP
Table 13.12
Relational vs.
Multidimensional OLAP
Characteristic ROLAP MOLAP
36
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Data Analytics (1 of 4)
37
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Data Analytics (2 of 4)
38
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Data Analytics (3 of 4)
39
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Data Analytics (4 of 4)
40
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
SQL Analytic Functions (1 of 2)
41
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
SQL Analytic Functions (2 of 2)
• Materialized views
• Dynamic table that contains SQL query command to generate rows and stores the
actual rows
- Created the first time query is run and summary rows are stored in the table
- Automatically updated when base tables are updated
- Requires specified privileges
42
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Data Visualization (1 of 2)
43
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Data Visualization (2 of 2)
44
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Summary (1 of 2)
45
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.
Summary (2 of 2)
46
© 2019 Cengage. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website fo
r classroom use.