4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.

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
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
1 - Oracle Server Architecture Overview
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.
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
Oracle9i Database Administrator: Implementation and Administration
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.
2 Copyright © 2006, Oracle. All rights reserved. Performance Tuning: Overview.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
DBMS Transactions and Rollback Recovery Helia / Martti Laiho.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
5 Copyright © 2004, Oracle. All rights reserved. Controlling the Database.
7202ICT – Database Administration
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.
IT Database Administration SECTION 01. Starting Up and Shutting Down the Database Database Administration Facilities – A number of tools are available.
8 Copyright © 2005, Oracle. All rights reserved. Managing Data.
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.
Instance and Media Recovery Structures Supinfo Oracle Lab. 7.
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.
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.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
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.
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
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
Oracle 10g Administration Database Control and Storage Structures Copyright ©2006 Custom Training Institute.
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. 管理数据库事例.
Running a Forms Developer Application
Maintaining Online Redo Log Files
Is 221: Database Administration
Oracle9i Database Administrator: Implementation and Administration
Performing Database Recovery
Chapter 5 The Redo Log Files.
Presentation transcript:

4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance

4-2 Copyright © 2004, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Use Windows Services to check Oracle processes Administer two databases by using Enterprise Manager –Modify initialization parameters –Start and stop the Oracle listener –Start up and shut down an Oracle Database 10g instance –Compare automatic and manual memory management of the SGA –View the alert log Access databases with SQL*Plus and i SQL*Plus

4-3 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-

4-4 Copyright © 2004, Oracle. All rights reserved. Starting and Stopping Database Control The dbconsole process starts automatically. To view, start, or stop the dbconsole process, select and open the Windows 2000 Services window:

4-5 Copyright © 2004, Oracle. All rights reserved. Accessing Oracle Enterprise Manager

4-6 Copyright © 2004, Oracle. All rights reserved. Database Home Page Property pages

4-7 Copyright © 2004, Oracle. All rights reserved. Starting and Stopping the Listener

4-8 Copyright © 2004, Oracle. All rights reserved. Starting the Oracle DB Instance Use one of the following to start up and shut down the database: 1.Oracle Enterprise Manager (next page) 2.Oracle Administration Assistant for Windows 3.Windows Services: OracleService

4-9 Copyright © 2004, Oracle. All rights reserved. Startup and Shutdown

4-10 Copyright © 2004, Oracle. All rights reserved. Starting Up an Oracle DB Instance: NOMOUNT OPEN MOUNT NOMOUNT SHUTDOWN Instance started STARTUP

4-11 Copyright © 2004, Oracle. All rights reserved. Starting Up an Oracle DB Instance: MOUNT OPEN MOUNT NOMOUNT SHUTDOWN Control file opened for this instance Instance started STARTUP SHUTDOWN

4-12 Copyright © 2004, Oracle. All rights reserved. Starting Up an Oracle DB Instance: 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

4-13 Copyright © 2004, Oracle. All rights reserved. Shutting Down an Oracle DB Instance 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

4-14 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)

4-15 Copyright © 2004, Oracle. All rights reserved. Full Notes Page

4-16 Copyright © 2004, Oracle. All rights reserved. SHUTDOWN Options On the way down: Modified buffers not written to the data files Uncommitted changes 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)

4-17 Copyright © 2004, Oracle. All rights reserved. SPFILEMTG.ORA Initialization Parameter Files

4-18 Copyright © 2004, Oracle. All rights reserved. Viewing and Modifying Initialization Parameters

4-19 Copyright © 2004, Oracle. All rights reserved. Managing Memory Components Automatic Shared Memory Management: –Is recommended to simplify management –Enables you to specify the total SGA memory through one initialization parameter –Helps the Oracle server to manage the amount of memory allocated to the shared pool, Java pool, buffer cache, and the large pool Manually setting shared memory management –Size the components through multiple individual initialization parameters. –Use the Memory Advisor to make recommendations.

4-20 Copyright © 2004, Oracle. All rights reserved. Enabling Automatic Shared Memory Management Click Enable to enable Automatic Shared Memory Management.

4-21 Copyright © 2004, Oracle. All rights reserved. Manually Setting Shared Memory Management

4-22 Copyright © 2004, Oracle. All rights reserved. Viewing the Alert Log

4-23 Copyright © 2004, Oracle. All rights reserved. Viewing the Alert History

4-24 Copyright © 2004, Oracle. All rights reserved. Using SQL*Plus and i SQL*Plus to Access Your Database SQL*Plus and i SQL*Plus provide additional interfaces to your database to: Perform database management operations Execute SQL commands to query, insert, update, and delete data in your database

4-25 Copyright © 2004, Oracle. All rights reserved. Using i SQL*Plus

4-26 Copyright © 2004, Oracle. All rights reserved. Using i SQL*Plus

4-27 Copyright © 2004, Oracle. All rights reserved. Using SQL*Plus

4-28 Copyright © 2004, Oracle. All rights reserved. Summary In this lesson, you should have learned how to: Use Windows Services to check Oracle processes Administer two databases by using Enterprise Manager: –Modify initialization parameters –Start and stop the Oracle listener –Start up and shut down an Oracle Database 10g instance –Compare automatic and manual memory management of the SGA –View the alert log Access databases with SQL*Plus and i SQL*Plus

4-29 Copyright © 2004, Oracle. All rights reserved. Practice Overview: Managing the Oracle Instance This practice covers the following topics: Accessing Windows Services Navigating in Enterprise Manager Stopping and starting the Oracle listener Viewing and modifying initialization parameters Stopping and starting the database instance Viewing the alert log Setting OracleServiceMTG to Manual Connecting to the database by using SQL*Plus

4-30 Copyright © 2004, Oracle. All rights reserved.