Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Introduction

Objectives

After completing this lesson, you should be able to do the


following:
• Discuss the goals of the course
• Identify the environments, database schemas, and tables
that are used in the course

1-2
Questions About You

To ensure that the class can be customized to meet your


specific needs and to encourage interaction among all, answer
the following questions:
• Which organization do you work for?
• What is your role in your organization?
• What is your level of data warehousing and database
administrative expertise?
• What Oracle versions do you use?
• What do you hope to receive from this class?

1-3
Lesson Agenda

• Course objectives and suggested course schedule


• The schemas, appendixes, and the SQL environments
used in this course

1-4
Course Objectives

After completing this course, you should be able to:


• Review the basic concepts of a data warehouse (DW)
• Improve performance or manageability in data warehouses
using Oracle Database features
• Use parallel operations in a data warehouse to reduce
response time for data-intensive operations
• Extract, transform, and load data into an Oracle database
warehouse
• Improve performance using Oracle’s summary
management feature

1-5
Course Topics

1. Introduction 9. ETL: Transformation


2. Data Warehouse Design 10. Materialized Views
Overview 11. Refreshing Materialized
3. Data Warehouse Tuning Views
Considerations 12. Working with
4. Partitioning Concepts Dimensions
5. Parallelism Concepts 13. Query Rewrite
6. Parallel Operations in 14. Using the SQL Access
Data Warehouses Advisor, Compression,
7. ETL: Extraction and and Resumable Session
Transportation
8. ETL: Loading

1-6
Lesson Agenda

• Course objectives and course agenda


• The schemas, appendixes, and the SQL environments
used in this course

1-7
Sample Schemas Used in the Course

The sample schemas that are used in this course:


• Sales History (SH) schema
• Human Resources (HR) schema

1-8
The Human Resources (HR) Schema

DEPARTMENTS LOCATIONS
department_id location_id
department_name street_address
manager_id postal_code
location_id city
state_province
country_id
JOB_HISTORY
employee_id
start_date
EMPLOYEES
employee_id
end_date
first_name
job_id
last_name COUNTRIES
department_id email country_id
phone_number country_name
hire_date region_id
job_id
salary
commission_pct
JOBS manager_id
job_id department_id
job_title REGIONS
min_salary region_id
max_salary region_name

1-9
The Sales History (SH) Schema

TIMES
PROMOTIONS
time_id
promo_id day_name
promo_name day_number_in_week
promo_subcategory day_number_in_month
promo_subcategory_id calendar_week_number
promo_category fiscal_week_number
promo_category_id week_ending_day
promo_cost week_ending_day_id
promo_begin_date calendar_month_number
promo_end_date fiscal_month_number
promo_total calendar_month_desc
promo_total_id calendar_month_id
fiscal_month_id
days_in_cal_month
days_in_fis_month
end_of_cal_month
SALES end_of_fis_month
COSTS calendar_month_name
prod_id prod_id fiscal_month_name
time_id cust_id calendar_quarter_desc
promo_id time_id calendar_quarter_id
channel_id channel_id fiscal_quarter_desc
unit_cost promo_id fiscal_quarter_id
unit_price quantity_sold days_in_cal_quarter
amount_sold days_in_fis_quarter
end_of_cal_quarter
end_of_fis_quarter
calendar_quarter_number
fiscal_quarter_number
CHANNELS calendar_year
channel_id calendar_year_id
channel_desc fiscal_year
channel_class fiscal_year_id
PRODUCTS channel_class_id days_in_cal_year
channel_total days_in_fis_year
channel_total_id end_of_cal_year
end_of_fis_year

1 - 10
The Sales History (SH) Schema

COSTS SALES SALES

PRODUCTS CUSTOMERS
prod_id cust_id
prod_name cust_first_name
prod_desc cust_last_name
prod_subcategory cust_gender
prod_subcategory_id cust_year_of_birth
prod_subcategory_desc cust_marital_status COUNTRIES
prod_category cust_street_address country_id
prod_category_id cust_postal_code country_iso_code
prod_category_desc cust_city country_name
prod_weight_class cust_city_id country_subregion
prod_unit_of_measure cust_state_province country_subregion_id
prod_pack_size cust_state_province_id country_region
supplier_id country_id country_region_id
prod_status cust_main_phone_number country_total
prod_list_price cust_income_level country_total_id
prod_min_price cust_credit_limit country_name_hist
prod_total cust_email
prod_total_id cust_total
prod_src_id cust_total_id
prod_eff_from cust_src_id
prod_eff_to cust_eff_from
prod_valid cust_eff_to
cust_valid

1 - 11
Class Account Information

• Your account IDs are sh and hr.


• The password matches your account ID.
• Each machine has a stand-alone installation of Oracle
Database 11g release 2 Enterprise Edition for Linux with
access to the SH and HR sample schemas.

1 - 12
Activity Guide and Appendixes in the Course

• Activity Guide: Practices and Solutions


• Appendix A: Table Descriptions
• Appendix B: Using SQL Developer
• Appendix C: Using SQL*Plus
• Appendix D: Understanding OLAP Technology

1 - 13
SQL Environments Available in the Course

This course setup provides the following tools for you to execute SQL statements:
• Oracle SQL*Plus
• Oracle SQL Developer
• Oracle Enterprise Manager (EM)

1 - 14
Solutions, Labs, and Code Example Scripts

The solution scripts, labs scripts, and code example scripts are
available to you.

1 - 15
Summary

In this lesson, you should have learned how to:


• Discuss the goals of the course
• Identify the environments that can be used in this course
• Describe the database schemas and tables that are used in the course

1 - 16

You might also like