Objectives
After completing this lesson, you should be able to do
the following:
Start and stop iSQL*Plus
Start and stop Enterprise Manager Database
Control
Start and stop the Oracle Listener
Start up and shut down Oracle Database 10g
5-2
5-3
$ isqlplusctl start
iSQL*Plus 10.1.0.2.0
Copyright (c) 2004 Oracle.
Starting iSQL*Plus ...
iSQL*Plus started.
$ isqlplusctl stop
iSQL*Plus 10.1.0.2.0
Copyright (c) 2004 Oracle.
Stopping iSQL*Plus ...
iSQL*Plus stopped.
Management Framework
The three components of the Oracle Database 10g
management framework are:
Database instance
Listener
Management interface
Database Control
Management agent (when using Grid Control)
Management
agent
-or-
Database
Control
Management interface
5-4
Listener
5-5
5-6
5-7
5-8
5-9
5-10
Starting Up a Database
NOMOUNT
OPEN
STARTUP
MOUNT
NOMOUNT
Instance
started
SHUTDOWN
5-11
Starting Up a Database
MOUNT
OPEN
STARTUP
MOUNT
NOMOUNT
Control file
opened for this
instance
Instance
started
SHUTDOWN
SHUTDOWN
5-12
Starting Up a Database
OPEN
OPEN
STARTUP
MOUNT
NOMOUNT
Control file
opened for this
instance
Instance
started
SHUTDOWN
SHUTDOWN
5-13
No
No
No
No
No
No
No
Yes
No
No
Yes
Yes
No
Yes Yes
Yes
Shutdown mode:
A = ABORT
I = IMMEDIATE
T = TRANSACTIONAL
N = NORMAL
5-14
SHUTDOWN Options
During
SHUTDOWN
NORMAL
or
SHUTDOWN
TRANSACTIONAL
or
SHUTDOWN
IMMEDIATE
Consistent database
(clean database)
5-15
SHUTDOWN Options
On the way down:
Modified
buffers
are not
written to the
data files
Uncommitted
changes are
not rolled
back
5-17
During
spfiledb01.ora
5-18
5-19
5-20
Summary
In this lesson, you should have learned how to:
Start and stop iSQL*Plus
Start and stop Enterprise Manager Database
Console
Start and stop the listener
Start up and shut down the database
5-21
Practice 5:
Controlling the Database
This practice covers the following topics:
Connecting to the database using SQL*Plus and
iSQL*Plus
Stopping and starting Enterprise Manager
Database Control
Stopping and starting the database
Stopping and starting iSQL*Plus
5-22