5 Copyright © 2004, Oracle. All rights reserved. Controlling the Database.

Slides:



Advertisements
Similar presentations
4 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Advertisements

Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
5 Copyright © 2006, Oracle. All rights reserved. Securing Grid Control.
Managing an Oracle Instance
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
5 Copyright © 2006, Oracle. All rights reserved. Database Recovery.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Oracle Database Instance Management Oracle 10g. Ebtisam Alabdulqader Outline Management Framework. Managing Oracle instance through the Enterprise Manager.
Backup and Recovery Part 1.
Chapter 12 Performing Incomplete Recovery. Background Viewed as one of the more difficult chapters to write Thought it was important to put in material.
Using RMAN to Perform Recovery
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
20 Copyright © 2004, Oracle. All rights reserved. Database Recovery.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
CHAPTER 2 Implementing a Database. Introduction to Creating Databases After you’ve installed the Oracle software, the next logical step is to create a.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
1Introduction Objectives 1-2 Course Objectives 1-3 Oracle Products 1-4 Relational Database Systems 1-5 How the Data Is Organized 1-6 Integrity Constraints.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists.
15 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery.
IT Database Administration SECTION 01. Starting Up and Shutting Down the Database Database Administration Facilities – A number of tools are available.
Week 3 Lecture 1 The Redo Log Files and Diagnostic Files.
7 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
4 Copyright © 2007, Oracle. All rights reserved. Managing the Oracle Instance.
8 Copyright © Oracle Corporation, All rights reserved. Configuring the Database Archiving Mode.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
QUIZ DATABASE ADMINISTRATOR. LESS 3 LESS 5 LESS 6 LESS 7.
16 Copyright © 2005, Oracle. All rights reserved. Performing Database Recovery.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
6 Copyright © 2006, Oracle. All rights reserved. Monitoring Grid Control.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
6 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
Copyright  Oracle Corporation, All rights reserved. 3 Oracle Backup and Recovery Configuration.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
Oracle 10g Administration Database Control and Storage Structures Copyright ©2006 Custom Training Institute.
IS232 Lab 7. What Is a Control File? Every Oracle Database has a control file, which is a small binary file that records the physical structure of the.
9 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
10 Copyright © 2007, Oracle. All rights reserved. Managing Undo Data.
 Database Administration Oracle Database Instance Management Starting Up and Shutting Down أ. ندى الغامدي, أ. ندى الطوالة.
3 Copyright © Oracle Corporation, All rights reserved. 管理数据库事例.
Managing an Oracle Instance
Maintaining Online Redo Log Files
Is 221: Database Administration
Performing Database Recovery
Chapter 5 The Redo Log Files.
Presentation transcript:

5 Copyright © 2004, Oracle. All rights reserved. Controlling the Database

5-2 Copyright © 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Start and stop i SQL*Plus Start and stop Enterprise Manager Database Control Start and stop the Oracle Listener Start up and shut down Oracle Database 10g

5-3 Copyright © 2004, Oracle. All rights reserved. Starting and Stopping i SQL*Plus $ isqlplusctl start iSQL*Plus Copyright (c) 2004 Oracle. All rights reserved. Starting iSQL*Plus... iSQL*Plus started. $ isqlplusctl stop iSQL*Plus Copyright (c) 2004 Oracle. All rights reserved. Stopping iSQL*Plus... iSQL*Plus stopped.

5-4 Copyright © 2004, Oracle. All rights reserved. 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) Listener Database Control Management agent Management interface -or-

5-5 Copyright © 2004, Oracle. All rights reserved. Starting and Stopping Database Control $ emctl start dbconsole TZ set to US/Pacific Oracle Enterprise Manager 10g Database Control Release Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved. Starting Oracle Enterprise Manager 10g Database Control started Logs are generated in directory /u01/app/oracle/product/10.1.0/db_1/edrsr9p1.us.oracle.com_orcl/sys man/log $ emctl stop dbconsole TZ set to US/Pacific Oracle Enterprise Manager 10g Database Control Release Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved. Stopping Oracle Enterprise Manager 10g Database Control Stopped.

5-6 Copyright © 2004, Oracle. All rights reserved. Accessing Database Control

5-7 Copyright © 2004, Oracle. All rights reserved. SYSOPER and SYSDBA

5-8 Copyright © 2004, Oracle. All rights reserved. Database Home Page

5-9 Copyright © 2004, Oracle. All rights reserved. Changing the Listener Status

5-10 Copyright © 2004, Oracle. All rights reserved. Startup and Shutdown Click Advanced Options to select startup options and shutdown mode

5-11 Copyright © 2004, Oracle. All rights reserved. Starting Up a Database NOMOUNT OPEN MOUNT NOMOUNT SHUTDOWN Instance started STARTUP

5-12 Copyright © 2004, Oracle. All rights reserved. Starting Up a Database MOUNT OPEN MOUNT NOMOUNT SHUTDOWN Control file opened for this instance Instance started STARTUP SHUTDOWN

5-13 Copyright © 2004, Oracle. All rights reserved. Starting Up a Database OPEN OPEN MOUNT NOMOUNT SHUTDOWN All files opened as described by the control file for this instance Control file opened for this instance Instance started STARTUP SHUTDOWN

5-14 Copyright © 2004, Oracle. All rights reserved. Shutting Down the Database Shutdown mode: A = ABORT I = IMMEDIATE T = TRANSACTIONAL N = NORMAL A No T No Yes I No Yes Shutdown Mode Allow new connections Wait until current sessions end Wait until current transactions end Force a checkpoint and close files N No Yes

5-15 Copyright © 2004, Oracle. All rights reserved. SHUTDOWN Options On the way down: Database buffer cache written to the data files Uncommitted changes rolled back Resources released On the way up: No instance recovery During SHUTDOWN NORMAL or SHUTDOWN TRANSACTIONAL or SHUTDOWN IMMEDIATE Consistent database (clean database)

5-16 Copyright © 2004, Oracle. All rights reserved.

5-17 Copyright © 2004, Oracle. All rights reserved. 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 log files used to reapply changes Undo segments used to roll back uncommitted changes Resources released During SHUTDOWN ABORT or Instance Failure or STARTUP FORCE Inconsistent database (dirty database)

5-18 Copyright © 2004, Oracle. All rights reserved. spfiledb01.ora Initialization Parameter Files

5-19 Copyright © 2004, Oracle. All rights reserved. Viewing Initialization Parameters

5-20 Copyright © 2004, Oracle. All rights reserved. Viewing the Alert Log

5-21 Copyright © 2004, Oracle. All rights reserved. Summary In this lesson, you should have learned how to: Start and stop i SQL*Plus Start and stop Enterprise Manager Database Console Start and stop the listener Start up and shut down the database

5-22 Copyright © 2004, Oracle. All rights reserved. Practice 5: Controlling the Database This practice covers the following topics: Connecting to the database using SQL*Plus and i SQL*Plus Stopping and starting Enterprise Manager Database Control Stopping and starting the database Stopping and starting i SQL*Plus

5-23 Copyright © 2004, Oracle. All rights reserved. Practice 5 – Controlling the Database Full Notes Page

5-24 Copyright © 2004, Oracle. All rights reserved.