Professional Documents
Culture Documents
Controlling The Database
Controlling The Database
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
$ 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.
5-3
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-
Listener
$ emctl stop dbconsole TZ set to US/Pacific Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0 Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved. http://edrsr9p1.us.oracle.com:5500/em/console/aboutApplication Stopping Oracle Enterprise Manager 10g Database Control ... ... Stopped.
5-5
5-6
5-7
5-8
5-9
5-10
NOMOUNT
Instance started
SHUTDOWN
5-11
NOMOUNT
Instance started
SHUTDOWN SHUTDOWN
5-12
NOMOUNT
Instance started
SHUTDOWN SHUTDOWN
5-13
No
Yes Yes
Yes
SHUTDOWN Options
During
On the way down: Database buffer cache written to the data files Uncommitted changes rolled back Resources released
SHUTDOWN Options
On the way down: Modified buffers are not written to the data files Uncommitted changes are not rolled back On the way up: Online redo SHUTDOWN ABORT log files used or to reapply Instance Failure changes or STARTUP FORCE Undo segments used to roll back uncommitted changes Resources Inconsistent database released (dirty database)
During
5-17
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
5-22