Administrare Oracle 9i Suport de curs

Slides:



Advertisements
Similar presentations
The Architecture of Oracle
Advertisements

Introduction to Oracle
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.
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)
ITEC474 Control File Maintenance
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
Managing an Oracle Instance
10 Copyright © 2006, Oracle. All rights reserved. Automatic Shared Memory Management.
ITEC474 Redo Log Files.
CHAPTER 5 Managing Control Files, Online Redo Logs, and Archiving.
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)
7 Maintaining Redo Log Files. 7-2 Objectives Explaining the use of online redo log files Obtaining log and archive information Controlling log switches.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Oracle Overview and Architecture
Oracle Database Workshop 1 Presented to IBRI CAS 27-Nov-2011 By Abdullah Alkalbani.
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.
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.
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.
Database Administration 3.Using Administration Tools.
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.
11 Copyright © 2006, Oracle. All rights reserved. Checkpoint and Redo Tuning.
Creating an Oracle Database. Considerations before creating a DB Planning for Database Creation –Select the standard database block size. –Use an undo.
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.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
1 Copyright © 2006, Oracle. All rights reserved. Introduction.
13 Copyright © 2004, Oracle. All rights reserved. Optimizing Database Performance.
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.
Control File Information The database name The timestamp of database creation The names and locations of associated datafiles and redo log files Tablespace.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
 Database Administration Oracle Database Instance Management Starting Up and Shutting Down أ. ندى الغامدي, أ. ندى الطوالة.
3 Copyright © Oracle Corporation, All rights reserved. 管理数据库事例.
Managing an Oracle Instance
Initialization Parameters
Instance and Media Recovery Structures
Oracle Architectural Components
Introduction To Oracle 10g
Microsoft SQL Server 2014 for Oracle DBAs Module 2
Administrare Oracle 9i Suport de curs
Oracle Memory Internals
Index Index.
Performing Database Recovery
ISYS366, Oracle Disk Internals
Presentation transcript:

Administrare Oracle 9i Suport de curs January 29, 2019

Ziua 3 Administrare Oracle I January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle - SGA SGA – Shared Global Area – zona de memorie comuna tuturor proceselor Oracle. Shared Pool (min 16MB/64MB-64bit) LC – Library Cache Dictionary Data Buffer Cache (52MB) – db_block Large Pool Java Pool Redolog Buffer - Memoria este alocata in granule 4-16MB January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle - PGA PGA – Private Global Area – zona de memorie privata proceselor de tip server Oracle. Private SQL Area Session Memory SQL Work Area January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Procese Oracle January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Procese Oracle DatabaseWriter (DBW0 or DBWn) Log Writer (LGWR) Checkpoint (CKPT) System Monitor (SMON) Process Monitor (PMON) Archiver (ARCn) Recoverer (RECO) Lock Manager Server (LMS) - Real Application Clusters only Queue Monitor (QMNn) Dispatcher (Dnnn) Server (Snnn) January 29, 2019

Administrare Oracle 9i January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Structura Fizica Structura Fizica – Fisiere in sistemul de fisiere sau RAW Fisiere de initializare init.ora, spfile.ora Fisiere de Control Fisiere Redolog Fisiere de Date Fisiere Temporare Fisiere Undo ( RollBack) January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Structura Logica Structura Logica – La nivelul utilizatorilor Sql Block de Date Extent Segment Tablepace January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Structura Logica January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Shutdown instance January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Startup Startup nomount Startup mount Startup Startup Force Startup Restricted Startup mount pfile=‘/opt/oracle/admin/pfile/init.ora’; Alter database open January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Fisier Initializare Pfile – fisier text de initalizare (init$SID.ora) Spfile – fisier binar de initalizare (spfile$SID.ora) Locatia default: $ORACLE_HOME/dbs Ordinea in care oracle cauta dupa fisierul de initializare: spfile$SID.ora spfile.ora init$SID.ora Init.ora January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Fisier Initializare 2 Create spfile from pfile Alter system set time_statistics=TRUE scope=memory|spfile|both; Alter system set undo_tablespace=undo2 scope=spfile; Select * from v$parameter; Show parameter … January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Fisiere Dump Alert LOG – fisier foarte important de log a bazei de date Destinatia: Backgroud_dump_dest din init.ora Evenimente: startup/shutdown Non-default init parameters Errors… January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Fisier Initializare 2 Alti parametrii: User_dump_dest Core_dump_dest Shared_pool_size=200M DB_Cache_Size=200M Large_Pool_Size=16M Java_Pool_Size=20M Etc…. January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Checkpoint Checkpoint – se asigura ca toate blocurile de date mai vechi de un interval de timp sunt scrise pe disk. Checkpoint -partial – update doar controlfile - Full – update controlfile si headere datafile (shutdown, alter system checkpoint, altele…). Blocarea Accesului: Alter system enable restricted session; Alter system kill session ‘SID,SERIAL#’; January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Fisiere de Control Fisiere binare de marime mica folosite pentru controlul bazei de date. Marimea fisierelor de control este determinata la crearea bazei de date: Maxlogfiles, MaxDatafiles, MaxInstances, etc Zona fixa si o zona reutilizabila circular pentru RMAN. Contine toate informatiile importante din baza de date: DB Name, SID, Tablespaces, fisiere de date, seq redolog, informatie checkpoint,etc. Maxim 8 fisiere de Control (Multiplexate), care trebuie specificate in fisierul de initializare. January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Fisiere de Control Mutare/Adaugare fisiere de control Shutdown immediate Copy control01.ctl control02.ctl Modifica pfile controlfiles=(“…”) Startup In cazul in care se foloseste spfile -> trebuie Alter system set control_files=‘…’ scope=spfile; Shutdown… January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Fisiere RedoLog January 29, 2019

Administrare Oracle 9i Arhitectura Server Oracle – Fisiere RedoLog Alter database add logfile group 3 (‘……’,’…….’) size 20M; Alter database add logfile member ‘……..’ to group 1; Alter database drop logfile group 3; ( not current!!!!) Alter database drop logfile member ‘……’; January 29, 2019