Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.

Slides:



Advertisements
Similar presentations
The Architecture of Oracle
Advertisements

ArrayExpress Oracle DBA Ahmet Oezcimen. Agenda 1. Tasks 2. System Overview 3. Oracle DB System 4. Database Monitoring 5. Database Security 6. Performance.
Introduction to Oracle
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Overview of Database Administrator (DBA) Tools
3 Managing an Oracle Instance. Objectives Setting up operating system and password file authentication Creating the parameter file Starting up an instance.
Oracle Architecture. Instances and Databases (1/2)
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2007 all rights.
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 2 System Level.
Oracle Architectural Components
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Backup and Recovery Part 1.
Introduction History The principles of the relational model were first outlined by Dr. E.F Codd in a June 1970 paper is called “A Relational Model of Data.
Oracle Architecture. Database instance When a database is started the current state of the database is given by the data files, a set of background (BG)
INTRODUCTION TO ORACLE. 2 Before Databases  Information was kept in files:  Each field describes one piece of information about student  Fields are.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Managing the Oracle RDBMS Today you will look at the basics, including: –Setting up Enterprise Manager –Using Enterprise Manager –Using Server Manager.
Oracle Overview and Architecture
Oracle Documentation Oracle DBA Course (9i, 10g, 11g) Lecture 1: Oracle Architectural Components.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Basic Oracle Architecture
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.
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
Database Systems Slide 1 Database Systems Lecture 5 Overview of Oracle Database Architecture - Concept Manual : Chapters 1,8 Lecturer : Dr Bela Stantic.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
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.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
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.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Backup and Recovery Overview Supinfo Oracle Lab. 6.
Anton TopurovIT-DB 23 April 2013 Introduction to Oracle2.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Instance and Media Recovery Structures Supinfo Oracle Lab. 7.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Usage and Configuration of the Oracle Shared Server Supinfo Oracle Lab. 5.
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
1 Copyright © 2006, Oracle. All rights reserved. Introduction.
I NTRODUCTION OF W EEK 2  Assignment Discussion  Due this week:  1-1 (Exam Proctor): everyone including in TLC  1-2 (SQL Review): review SQL  Review.
What is Oracle ? Oracle is a relational database management system. It is a management system which uses the relational data model. In the relational data.
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.
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 Architectural Components
Oracle Architecture Overview
Introduction To Oracle 10g
Oracle Memory Internals
Oracle Architectural Components
Index Index.
Database administration
Presentation transcript:

Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools

Oracle9i Database Administrator: Implementation and Administration 2 Objectives Identify the main DBA tools in the Oracle9i software suite Configure Oracle Net to connect to the database List the memory and background process components of the database instance Start using the Enterprise Manager

Oracle9i Database Administrator: Implementation and Administration 3 Overview of DBA tools Tools can be started from the console or as stand-alone components. Important tools to know: Database Configuration Assistant Enterprise Manager Console Log Miner Net Manager and Net Configuration Assistant SQL*Plus and SQL*Plus Worksheet

Oracle9i Database Administrator: Implementation and Administration 4 Overview of DBA tools Important operating system commands: Tool nameUNIX commandWindows command Enterprise Manager console oemapp consoleoemapp.bat console SQL*Plussqlplus / Net Managernetmgr SQL*Plus Worksheet oemapp worksheetoemapp.bat worksheet

Oracle9i Database Administrator: Implementation and Administration 5 Configuring Oracle Net: Architecture Oracle Net must be configured on both the client and the server when using Oracle tools on the client side.

Oracle9i Database Administrator: Implementation and Administration 6 Configuring Oracle Net: Architecture Three methods of connecting: Oracle Net JDBC thin driver Bequeath protocol

Oracle9i Database Administrator: Implementation and Administration 7 Configuring Oracle Net: Net Manager Use Net Manager to configure Oracle Net A service name defines the database’s name, location, and listening port Net Manager contains a wizard to configure a new service name The file tnsnames.ora stores Oracle Net configuration settings

Oracle9i Database Administrator: Implementation and Administration 8 Oracle Memory and Background Processes : Connecting to a Shared Server Red lines trace the path between the client and the instance

Oracle9i Database Administrator: Implementation and Administration 9 Oracle Memory and Background Processes : Connecting to a Dedicated Server Red lines trace the path between the client and the instance

Oracle9i Database Administrator: Implementation and Administration 10 Oracle Memory : PGA & SGA The PGA has private areas for each application The SGA is allocated when the instance starts up

Oracle9i Database Administrator: Implementation and Administration 11 Oracle Memory : SGA Components The shared pool stores parsed SQL commands for possible reuse The buffer cache stores data blocks read from the datafiles

Oracle9i Database Administrator: Implementation and Administration 12 Oracle Memory : SGA Components The cursor pool is optional and provides extra memory for program cursors The redo log buffer stores all changes to data before the changes are written to the datafiles The large pool is optional and adds more memory for better response time

Oracle9i Database Administrator: Implementation and Administration 13 Background Processes : PMON & SMON PMON (Process Monitor) cleans up remaining resources after the server and user processes end SMON (System Monitor) handles recovery if needed, cleans up old temporary tables, and restores space

Oracle9i Database Administrator: Implementation and Administration 14 Background Processes : DBWn & CKPT DBWn (Database Writer) writes modified buffers to the datafiles CKPT (Checkpoint Process) signals the DBWn process and assigns SCN

Oracle9i Database Administrator: Implementation and Administration 15 Background Processes : ARCn & LGWR ARCn (Archiver) copies redo log files to archive log files LGWR (Log Writer) writes redo log buffers to the redo log files

Oracle9i Database Administrator: Implementation and Administration 16 Background Processes : RECO & LMS RECO (Recoverer Process) fixes errors if changes across distributed databases fail LMS (Lock Manager Service) handles updates that affect data in multiple clustered databases

Oracle9i Database Administrator: Implementation and Administration 17 Introducing Enterprise Manager Central clearinghouse of DBA tools Windows-like interface with little or no SQL coding required Centered around the Enterprise Manager console Optionally, uses the Enterprise Management Server

Oracle9i Database Administrator: Implementation and Administration 18 Enterprise Manager console Important features

Oracle9i Database Administrator: Implementation and Administration 19 Enterprise Manager: Instance Manager Instance Manager handles these tasks (and more): Setting initialization parameters Starting and shutting down the database Monitoring and adjusting memory usage Locating redo log files

Oracle9i Database Administrator: Implementation and Administration 20 Enterprise Manager: Schema Manager Schema Manager handles these tasks (and more): Adding and removing columns on tables or views Creating new tables, indexes, views, and object types Adding constraints to tables Viewing statistics on tables

Oracle9i Database Administrator: Implementation and Administration 21 Enterprise Manager: Security Manager Security Manager handles these tasks (and more): Creating new users and roles Changing user passwords Assigning and revoking user privileges Adjusting user storage quotas

Oracle9i Database Administrator: Implementation and Administration 22 Enterprise Manager: Storage Manager Storage Manager handles these tasks (and more): Creating new tablespaces Adjusting size of data files Taking tablespaces offline Monitoring storage usage

Oracle9i Database Administrator: Implementation and Administration 23 Chapter Summary Oracle’s DBA tools are available inside the Enterprise Manager console or stand-alone Oracle Net is the most common way to communicate between client and database server Other methods of communicating are JDBC driver and Bequeath protocol Net Manager provides a tool for configuring Oracle Net The tnsnames.ora file stores Oracle Net configuration information

Oracle9i Database Administrator: Implementation and Administration 24 Chapter Summary Database servers are either in shared server mode or dedicated mode User processes and server processes handle connections and user sessions Oracle memory is made up of the PGA and the SGA The PGA has private areas for each application The SGA is part of the database instance

Oracle9i Database Administrator: Implementation and Administration 25 Chapter Summary The SGA stores data blocks read from the data files and stores changed data blocks The background processes run the database functions such as reading and writing datafiles The Enterprise Manager console is the center of Oracle’s DBA tool set The console can run stand-alone or as part of the Enterprise Management Server

Oracle9i Database Administrator: Implementation and Administration 26 Chapter Summary The four main tools within the Enterprise Management console are: Instance Manager Schema Manager Security Manager Storage Manager