Oracle 10g Administration Database Control and Storage Structures Copyright ©2006 Custom Training Institute.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

4 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Installation – Lecture 2 Copyright System Managers LLC 2007 all rights reserved.
Backup The flip side of recovery. Types of Failures Transaction failure –Transaction must be aborted System failure –Hardware or software problem resulting.
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.
Database Backup and Recovery
RMAN Restore and Recovery
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
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.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
Configuring Recovery Manager
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
Oracle Database Administration
20 Copyright © 2004, Oracle. All rights reserved. Database Recovery.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
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.
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.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
ORACLE
5 Copyright © 2004, Oracle. All rights reserved. Controlling the Database.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
A Guide to Oracle9i1 Database Instance startup and shutdown.
6 Copyright © 2006, Oracle. All rights reserved. Flashback.
IT Database Administration SECTION 01. Starting Up and Shutting Down the Database Database Administration Facilities – A number of tools are available.
3 Copyright © 2004, Oracle. All rights reserved. Controlling Access to the Oracle Listener.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
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.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
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.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
Oracle 10g Administration Oracle Server Introduction Copyright ©2006, Custom Training Institute.
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.
Control File Information The database name The timestamp of database creation The names and locations of associated datafiles and redo log files Tablespace.
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. 管理数据库事例.
Is 221: Database Administration
Performing Tablespace Point-in-Time Recovery
RAC Backup and Recovery Lab
Performing Database Recovery
Database administration
Presentation transcript:

Oracle 10g Administration Database Control and Storage Structures Copyright ©2006 Custom Training Institute.

Database Control Console Listener Agents Instance

Copyright ©2006 Custom Training Institute. Agent Structure Two parts: Generic code that talks to an Oracle "service" Driver code that talks to a remote process or database

Copyright ©2006 Custom Training Institute. Agent Structure Heterogeneous Services component Agent generic code Agent driver code

Copyright ©2006 Custom Training Institute. Conceptual Layout of Agents Single "point of contact" within the server. All information going to / from kernel goes through the Agent Driver Transparent "middle" layer. Brokers / translates calls between Agent Driver and remote database Application-specific third layer. Calls directly into remote database's API

Copyright ©2006 Custom Training Institute. Heterogeneous Agents vs. Multithreaded Agents Heterogeneous agents are "dedicated." Specific connection from Oracle to outside process or database Multithreaded agents are "shared." A single multithreaded agent has a pool of agent threads Small pool of threads can service many client requests

Copyright ©2006 Custom Training Institute. Controlling Multithreaded Agents Agent Control command ( agtctl ) Delete Exit Help Set Show Shutdown Startup Unset

Copyright ©2006 Custom Training Institute. Multithreaded Agent Architecture Copyright ©2006, Custom Training Institute.

Copyright ©2006 Custom Training Institute. Controlling the Database Startup Mechanisms Shutdown Mechanism Restricted Access

Copyright ©2006 Custom Training Institute. Startup Mechanisms Start instance only: STARTUP NOMOUNT Start instance and mount controlfile: STARTUP MOUNT Start instance, mount controlfile, open datafiles: STARTUP

Copyright ©2006 Custom Training Institute. STARTUP NOMOUNT Instance is running; controlfile is closed; datafile is closed. Situation: Database creation Corrupted control file

Copyright ©2006 Custom Training Institute. STARTUP MOUNT Instance is running; control file is open; data files are NOT open. Situations: Full database recovery Working with redo log files

Copyright ©2006 Custom Training Institute. STARTUP Instance is running; controlfile is open; data files are open. Situation: "Normal" operation of the database

Copyright ©2006 Custom Training Institute. Shutdown Mechanisms SHUTDOWN SHUTDOWN IMMEDIATE SHUTDOWN TRANSACTIONAL SHUTDOWN ABORT

Copyright ©2006 Custom Training Institute. SHUTDOWN NORMAL No new connections. Database will not shut down until all users log off. Situation: "Standard" shutdown

Copyright ©2006 Custom Training Institute. SHUTDOWN IMMEDIATE No new connections. Uncommitted transactions rolled back. Situation: Force users off immediately Leave database in "clean" state

Copyright ©2006 Custom Training Institute. SHUTDOWN TRANSACTIONAL No new connections. Existing transactions permitted to complete. Each user will be automatically logged off when current transaction completes. Situation: Orderly shutdown desired Do not wish to force existing users to immediately log off

Copyright ©2006 Custom Training Institute. SHUTDOWN ABORT No new connections. Existing transactions NOT permitted to complete. Situation: "Last Resort" No other type of SHUTDOWN works

Copyright ©2006 Custom Training Institute. Listener Brokers connections between Oracle's clients and Oracle server. Configured through listener.ora file. Manipulated through Listener Control ( lsnrctl ) utility.

Copyright ©2006 Custom Training Institute. Controlling the Console Enterprise Manager Console: "Ecosystem" of software and hardware Management Agent communicates with "targets" Management Repository collects information

Copyright ©2006 Custom Training Institute. Oracle Enterprise Manager Framework

Copyright ©2006 Custom Training Institute. Controlling the Listener Listener Control ( lsnrctl ): change_password / set password / save_config services stop / start set / show exit

Copyright ©2006 Custom Training Institute. Database Storage Structures Tablespace Creation Tablespace Management Tablespace Information

Copyright ©2006 Custom Training Institute. Tablespace Creation CREATE TABLESPACE tablespace_name DATAFILE name Size

Copyright ©2006 Custom Training Institute. Tablespace Information Views USER_TABLESPACES Tablespaces to which the end user has access DBA_TABLESPACES All tablespaces on system

Copyright ©2006 Custom Training Institute. Tablespace Management Questions: What would be the advantage of separating static and dynamic tables into separate tablespaces? What would be the advantage of separating tables and indexes into separate tablespaces?

Copyright ©2006 Custom Training Institute. Tablespace Management Object Space Utilization RECYCLEBIN view DBA_RECYCLEBIN view System-Managed Undo CREATE UNDO TABLESPACE … RETENTION GUARANTEE …

Copyright ©2006 Custom Training Institute. Restoring Objects from the Recycle Bin Use FLASHBACK TABLE command: FLASHBACK TABLE theTable TO BEFORE DROP; FLASHBACK TABLE theTable TO BEFORE DROP RENAME TO theNewTableName; FLASHBACK TABLE command requires same privileges ( DROP TABLE; DROP ANY TABLE ) as were required to drop table originally.

Copyright ©2006 Custom Training Institute. Summary Database Control and Storage Structures: Tablespace Information and management Recycle Bin/ Flashback Multithreaded Agents Listeners