Professional Documents
Culture Documents
Introduction
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
(e
rr
e
m
l
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Objectives
After completing this lesson, you should be able to do the
following:
Discuss the goals of the course
Identify the appendixes in this course
Identify the environments, database schemas, and tables
that are used in the course
Identify some of the Oracle 11g data warehousing
documentation and resources
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
Objectives
de
E
u
o
t
S
c
S course organization. You identify the appendixes,
il to the
In this lesson, you
JOare introduced
a
schemas, and the three
gmSQL environmentsOracle SQL*Plus and Oracle SQL Developer tool
@
al in the course. You briefly review and use the SQL Developer tool. You also
that are available
v
o
r Oracle Database 11g documentation page and the online SQL Developer tutorial as
rthe
access
e
m
l
(eneeded.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
Questions About You
de
E
u
o
t
S
c
ilthis class ifSyou know the backgrounds of your classmates and the
You can benefit
most from
JO
a
issues that they face
ginmthe development and management of a data warehouse. Each student has
@
al
unique perspectives,
experience, and knowledge from which you all can learn.
v
o
r
er
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Lesson Agenda
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Course Objectives
After completing this course, you should be able to do the
following:
Describe the role of data warehousing and business
intelligence (BI) in todays marketplace
Define the terminology and explain the basic concepts of
data warehousing
Define the decision support purpose and end goal of a
data warehouse
Develop familiarity with the various technologies required
to implement a data warehouse
MA o use
A
t
Identify the technology and tools from OracleRtoRimplement
e
s
a successful data warehouse
DE licen
L
VA ble
Identify data warehouse modelingZconcepts
a
E fer
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
this
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Course Objectives
RA se to
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
this
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Required prerequisites:
No required prerequisite
Suggested prerequisites:
Working knowledge of SQL and general knowledge in data
warehouse concepts
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Day 1:
1. Introduction
2. Data Warehousing, Business Intelligence, OLAP, and Data
Mining
3. Defining Data Warehouse Concepts and Terminology
4. Business, Logical, Dimensional, and Physical Modeling
Day 2:
5. Database Sizing, Storage, Performance, and Security
Considerations
6. The ETL Process: Extracting Data
MA
A
7. The ETL Process: Transforming Data
RR nse
E
D lice
8. The ETL Process: Loading Data
AL
Z V rable
E
U sfe
G
I
R -tran
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
s
to u
is
h
t
e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Day 3:
9. Refreshing the Warehouse Data
10. Materialized Views
11. Leaving a Metadata Trail
12. Data Warehouse Implementation Considerations
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Lesson Agenda
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
Ein themCourse
)
Sample Schemas Used
de
E
u
o
t
S
c
S Database Sample Schemas operates worldwide to
il by Oracle
The sample company
JO portrayed
a
fulfill orders for several
gm different products. The company has several divisions, including the
@
l
adivision
Sales History
that tracks business statistics to facilitate business decisions.
v
o
r
Eacheofr these divisions is represented by a schema.
lm
(eAll
scripts necessary to create the SH schema usually reside in the following folder if installed
by your DBA:
$ORACLE_HOME/demo/schema/sales_history
Note
Appendix B: Table Descriptions contains more information about the sample schemas.
The code examples and the practices in this course specify the schema that needs to be
used.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
COSTS
SALES
prod_id
time_id
promo_id
channel_id
unit_cost
unit_price
prod_id
cust_id
time_id
channel_id
promo_id
quantity_sold
amount_sold
TIMES
time_id
day_name
day_number_in_week
day_number_in_month
calendar_week_number
fiscal_week_number
week_ending_day
week_ending_day_id
calendar_month_number
fiscal_month_number
calendar_month_desc
calendar_month_id
fiscal_month_id
days_in_cal_month
days_in_fis_month
end_of_cal_month
end_of_fis_month
calendar_month_name
fiscal_month_name
calendar_quarter_desc
calendar_quarter_id
fiscal_quarter_desc
fiscal_quarter_id
days_in_cal_quarter
days_in_fis_quarter
end_of_cal_quarter
end_of_fis_quarter
calendar_quarter_number
fiscal_quarter_number
calendar_year
calendar_year_id
fiscal_year
fiscal_year_id
days_in_cal_year
days_in_fis_year
end_of_cal_year
end_of_fis_year
is
h
t
e
MA o us
A
CHANNELS
R se t
R
DE licen
L
PRODUCTS
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
Sales History (sh)ESchema
de
u
o
t
S
c
S
l
ivolume
The company does
of business,
so it runs business statistics reports to aid in
JO a high
a
m
decision support. Many
g of these reports are time based and nonvolatile. That is, they analyze
@
l
past data trends.
va The company loads data into its data warehouse regularly to gather statistics for
o
r
the reports.
er The reports include annual, quarterly, monthly, and weekly sales figures by product.
m
l
(eThe company also runs reports on the distribution channels through which its sales are delivered.
channel_id
channel_desc
channel_class
channel_class_id
channel_total
channel_total_id
When the company runs special promotions on its products, it analyzes the impact of the
promotions on sales. It also analyzes sales by geographical area.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
COSTS
SALES
PRODUCTS
prod_id
prod_name
prod_desc
prod_subcategory
prod_subcategory_id
prod_subcategory_desc
prod_category
prod_category_id
prod_category_desc
prod_weight_class
prod_unit_of_measure
prod_pack_size
supplier_id
prod_status
prod_list_price
prod_min_price
prod_total
prod_total_id
prod_src_id
prod_eff_from
prod_eff_to
prod_valid
SALES
CUSTOMERS
cust_id
cust_first_name
cust_last_name
cust_gender
cust_year_of_birth
cust_marital_status
cust_street_address
cust_postal_code
cust_city
cust_city_id
cust_state_province
cust_state_province_id
country_id
cust_main_phone_number
cust_income_level
cust_credit_limit
cust_email
cust_total
cust_total_id
cust_src_id
cust_eff_from
cust_eff_to
cust_valid
COUNTRIES
country_id
country_iso_code
country_name
country_subregion
country_subregion_id
country_region
country_region_id
country_total
country_total_id
country_name_hist
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
is
h
t
e
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E min)the Course
SQL Environments Available
de
E
u
o
t
S
c
O that
l
iprovide
There are manyJtools
an S
environment to execute SQL statements. Oracle provides
a
m
several tools that can
g be used to execute SQL statements. Some of the tools that are available for
@
l
use in this course
va are:
o
r
r SQL*Plus: A window or command-line application
eOracle
m
l
(e Oracle SQL Developer: A free graphical tool
Note: The code and screen examples presented in the course are from the output in the SQL
Developer environment.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E Using
) OracledeSQL*Plus
Entering SQL Statements
m
E
o
tu
S ilc
S
Oracle SQL*Plus
application
that enables you to submit SQL statements and
JOis a command-line
a
m
PL/SQL blocks forgexecution and receive the results in an application or command window.
l@
a
SQL*Plus
is:
v
rro with the database
eShipped
Installed on the database server system and is accessed from an icon or the command line
(elm
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
SQL Developer
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
What Is Oracle SQL E
Developer?
de
u
o
t
S
c
S tool designed to improve productivity and simplify the
Oracle SQL Developer
JO ais ialfree graphical
development of everyday
gm database tasks. With a few clicks, you can easily create and debug
@
al test SQL statements, and view optimizer plans.
stored procedures,
v
o
rr
SQLeDeveloper,
the visual tool for database development, simplifies the following tasks:
m
l
e
( Browsing and managing database objects
Executing SQL statements and scripts
Editing and debugging PL/SQL statements
Creating reports
You can connect to any target Oracle database schema by using standard Oracle database
authentication. When connected, you can perform operations on objects in the database.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
is
h
t
e
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Lesson Agenda
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
us
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
Oracle 11g Useful Documentation
de
E
u
o
t
S
c
S
Navigate to http://www.oracle.com/pls/db111/homepage
and click the Master Book List link in
JO ail
m
the left frame.
g
@
l
You can o
also
vause the http://www.oracle.com/technology/documentation/index.html URL.
r
er
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m
)
Oracle Technology Network
(OTN)
de
E
u
o
t
S
c
S
OTN (http://www.oracle.com/technology/index.html)
hosts the latest news about Oracle
JO ail
m
technology and products.
g Additionally, OTN provides peer-to-peer forums, white papers,
@
l
security bulletins,
va and other information vital to an Oracle professional.
o
r
er to tips and techniques to get the most out of your Oracle software, you can download
In addition
m
l
(ethe software from OTN. All software downloads are free, and each comes with a development
license that allows you to use full versions of the products only when you develop and make
prototypes of your applications.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
Oracle by Example (OBE)
de
E
u
o
t
S
c
S
l
ihands-on,
The OBE seriesJO
provides
step-by-step
instructions on how to use various new features
a
m
of Oracle products.gOBEs help to reduce the time spent on learning a new product capability and
l@ understanding of how the feature can be implemented in their environment.
a
enhance thevusers
rroOBEs are available for Oracle Database, Oracle Application Server, and Oracle
Currently,
e
lm
Suite. OBEs can be accessed at http://www.oracle.com/technology/obe.
(eCollaboration
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
http://www.oracle.com/technology/obe/11gr1_owb/index.htm
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
http://www.oracle.com/technology/products/bi/olap/olap.html
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
http://www.oracle.com/technology/obe/hol08/apex31nf/apexusr31
/apexusr31_otn.htm
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
https://metalink.oracle.com/CSP/ui/index.html
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
)
Technical Support: E
MyE
Oracle
Support:
de
m
u
o
t
S
c
S
https://metalink.oracle.com/CSP/ui/index.html
JO ail
m answers to the most common issues that Oracle administrators and
My Oracle Supportgprovides
@
al and gives resources to solve many of those issues.
developersvface,
o
rr Technology Network, My Oracle Support includes the most recent headlines about
Likee
Oracle
m
l that affect the Oracle professional.
(eissues
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Summary
In this lesson, you should have learned how to:
Discuss the goals of the course
Identify the appendixes in this course
Identify the environments that can be used in this course
Describe the database schemas and tables that are used
in the course
List the documentation and resources
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
E m)
de
E
u
o
t
S
c
S
JO ail
gm
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Practice 1: Overview
This practice covers the following topics:
Reviewing the SQL Developer resources
Starting SQL Developer, creating new database
connections, and browsing tables in the HR and SH
schemas tables
Setting some SQL Developer preferences
Executing SQL statements by using the SQL Worksheet
Accessing and bookmarking the Oracle Database 11g
documentation and other useful Web sites
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O onAll rights reserved.
CopyrightR
2009, Oracle.
e
n
d
i
R
a
ME has nt Gu
L
)
Practice 1: OverviewE E
de
m
u
o
t
S
c
S to execute SQL statements to examine data in the HR
O useaSQL
In this practice,Jyou
il Developer
schema.
gm
@
al
Note
v
o
rr written practices use SQL Developer as the development environment. Although it is
eAll
m
(el recommended that you use SQL Developer, you can also use the SQL*Plus environment
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Practice 1-1
This is the first of many practices in this course. The solutions (if you require them) can be
found in Appendix A: Practices and Solutions. Practices are intended to cover most of the
topics that are presented in the corresponding lesson.
In this practice, you review the available SQL Developer, Oracle Analytic Workspace
Manager (AWM) 11g, Oracle Warehouse Builder (OWB) 11g, and Oracle Application
Express 3.1 resources.
Identifying the Available SQL Developer, Oracle Analytic Workspace Manager (AWM)
11g, Oracle Warehouse Builder (OWB) 11g, Oracle Application Express 3.1, and Oracle
Database 11g Documentation Resources
1. Familiarize yourself with Oracle SQL Developer, as needed, using Appendix C: Using
SQL Developer.
2. Access the online SQL Developer home page on OTN at:
http://www.oracle.com/technology/products/database/sql_developer/index.html
is
3. Bookmark the page for easier future access.
h
t
MA o use
4. Access the online SQL Developer tutorial at:
A
t
http://st-curriculum.oracle.com/tutorial/SQLDeveloper/index.htmRR
e
s
n tutorial as
DE licinethe
L
5. Preview and experiment with the available links and demonstrations
A le
Vand
needed, especially the Creating a Database Connection
Data links.
b
Z
E feraAccessing
U
6. Access the online Oracle OLAP home page
at:
s
IGon OTN
n
R
a
r
t
D
http://www.oracle.com/technology/products/bi/olap/olap.html
O on- e
R
nWorkspace
7. To view a demonstration on R
the Analytic
id Manager, click the Analytic
a
u
E
s
G
Mlink inhthe
a Demonstration
Workspace Manager L
11g
section of the page.
t
n
E
)
e
d
m access.
E forcfuture
8. Bookmark theSpage
u
o
t
S
O
il Warehouse Builder page on OTN at:
J online aOracle
9. Access the
m
g
http://www.oracle.com/technology/products/warehouse/index.html
@
l
va the Warehouse Builder Oracle by Example tutorials, click the Oracle Warehouse
o
10. To
access
r
r
eBuilder
m
11g By Example Course Now Available link.
l
(e
11. To view any of the Oracle Warehouse Builder tutorials, click the tutorial link in the List of
Tutorials section of the page.
12. Access the Oracle Database 11g Release documentation Web page at:
http://www.oracle.com/pls/db111/homepage
13. Bookmark the page for future access.
14. Display the complete list of books available for Oracle Database 11g Release 1.
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O on e
R
R s a n uid
E
LM ) ha ent G
E
SE ilcom Stud
O
J
ma
g
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Practice 1-2
Creating and Using New SQL Developer Database Connections
In this practice, you create two new database connections for the sh and dm schemas.
1. Start up SQL Developer.
2. Create a database connection by using the following information:
a. Connection Name: SH Schema
b. Username: sh
c. Password: sh
d. Hostname: Enter the host name as provided by the instructor.
e. Port: 1521
f. SID: orcl
3. Test the new connection. If the Status is Success, connect to the database by using the new
connection.
a. Double-click the SH Schema icon on the Connections tabbed page.
b. Click the Test button in the New/Select Database Connection window. If the status is
is
Success, click the Connect button.
h
t
MA o use
4. Create a new database connection named DM Schema.
A
t select the
R treesand
a. Right-click the DM Schema connection in the Object Navigation
e
R
DE licen
Properties menu option.
L
VAas theblusername
e
b. Enter DM Schema as the connection name and dm
and password,
Z
a
E
and click Save. This creates the new connection.
U sfer
G
I
c. Repeat step 3 to test the new DM Schema
connection.
R
ran
OD on-t e
R
R s a n uid
E
LM ) ha ent G
E
SE ilcom Stud
O
J
ma
g
@
val
rr
e
m
l
(e
Unauthorized reproduction or distribution prohibited Copyright 2013, Oracle and/or its affiliates
Practice 1-3
Browsing the sh and dm Schemas Tables
1. Browse the structure of the SALES_FACT table in the dm schema and display its data.
a. Double-click the DM Schema database connection.
b. Expand the Tables node by clicking the plus sign next to it.
c. Display the structure and data of the SALES_FACT table.
2. Use the SQL Worksheet to select the SALES_FACT rows, where the SALES is greater
than $10,000. Use both the Execute Statement (F9) and the Run Script (F5) icons to
execute the SELECT statement. Review the results of both methods of executing the
SELECT statements on the appropriate tabbed pages.
Note: Familiarize yourself with the data or consult Appendix B: Table Descriptions,
which provides the description and data for all tables in the sh and dm schemas that you
use in this course.
is
h
t
e
MA o us
A
R se t
R
DE licen
L
VA ble
Z
E fera
U
RIG -trans
D
O on e
R
R s a n uid
E
LM ) ha ent G
E
SE ilcom Stud
O
J
ma
g
@
val
rr
e
m
l
(e