oracle database administration part i covering both oracle 11g r2 and 12c r1
TRANSCRIPT
Oracle DBA Part I11g r2 & 12c r1
Webinar TrailerJohn Boyle
Over 30 years IT Experience
11 Years in IT Management - followed by the last :15 Years in Training & Consultancy - of which : 6 Years working for Oracle University UK
Training Courses have been provided : • Throughout the UK & Ireland• Europe : Paris, Brussels, Utrecht, Milan & Helsinki• USA : Tampa FL, Monroe LA, Memphis TN, Chicago IL, Minneapolis MN & Madison WIPlus :• San Francisco : Oracle Leadership Circle
Copyright©2015 Stormtime Ltd
Database Administration Part I Oracle 11g Release 2Oracle 12c Release 1
Introduction
The Course Topics
Copyright©2015 Stormtime Ltd
Sources of Experience & Knowledge
John Boyle of Stormtime Ltd.
Oracle 11g r2 & 12c r1 DBA Part I WebinarOracle 11g r2 & 12c r1 DBA Part II Webinar
CoursesPublic ScheduledOn-SiteSelf Study
Internet SitesText BooksOracle DocumentationOracle Technology Network (OTN)Oracle By Example (OBE)Stormtime.co.uk Website
Database Administration Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
[mis]information (concepts)[in]correct (reference)[un]intelligible[ir]relevant[out of][up to] date[doctored][actual] output listing[un]realistic usage scenario[expanded][concise] syntax listing[deprecated | desupported][new] features
Sources of knowledge ?
Copyright©2015 Stormtime Ltd
Stormtime Admin I and Admin II Webinars each cover bothOracle 11g r2 & Oracle 12c r1
Yes this Admin I Webinar is designed to
Produce ‘Good’ Oracle DBA’s at both releases
Plus with Experience and the Stormtime Admin II Webinar
Produce ‘Exceptional’ Oracle DBA’s at both releases
Database Administration Webinars Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Database Administration Part I Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
New Features Guide 11g Release 2 (11.2) E41360-03 4.4.1.7 Oracle Restart Oracle Restart ………. ..provides improved reliability and automated management ……
BUT
Upgrade Guide 12c Release 1 (12.1) E17642-14
8.1.16 Deprecation of Oracle Restart Oracle Restart is deprecated in Oracle Database 12c. …… and is subject to desupport in future releases.
Database Administration Part I Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Upgrade Guide 12c Release 1 (12.1) E17642-14
8.1.2 Desupport of Oracle Enterprise Manager Database Control
.....Enterprise Manager Database Control is desupported and is no longer available. ……Enterprise Manager Database Express (Oracle EM Express) as a replacement. Oracle EM Express is installed when you upgrade to Oracle Database 12c.
Therefore much less functionality from the EM GUI – more reliance on the Command Line Interface.
Certification Ambitions ?
1Z0-052 11g Oracle Certified Associate
1Z0-062 12c Administrator Certified Associatebut also one of
1Z0-061 12c SQL Fundamentals or1Z0-051 11g SQL Fundamentals or1Z0-047 SQL Expert (10g, 11g, 12c)
Database AdministrationPart I
Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 1 - Concepts Oracle Database Product Family 11g r2 & 12c r1Oracle Universal Installer (OUI)Optimal Flexible Architecture (OFA)Oracle Managed Files (OMF)Database Config Assistant (DBCA) Oracle Enterprise Manager (OEM)
12c EM Express 11g Database Control (OEM DC)
The Oracle Instance, Database, Background Processes and Memory Summary of the Oracle Database Architecture & TerminologyThe Data Dictionary (DD) – Contents & NavigationDemonstrations
Creation of an 11g Database using the SQL*Plus Command LineCreation of a 12c Database using DBCA
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 2 - Managing the Oracle Instance Background Processes – What the DBA needs to know Initialisation Parameters
Important ParametersViewing & Modifying Current Values
Privileged Database Connections 11g & 12c and Shutdown Options
SYSDBA, SYSASM 12c SYSBACKUP
Instance Startup and Shutdown OptionsALERT Log Contents
Viewing Text BasedUsing Automatic Diagnostic Repository Command Line Interface (ADRCI)
Demonstrations Startup & Shutdown Parameter ChangesCreation of a login.sql
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Text format• Unstructured• Provided for backward compatibility only• No assurance re future availability / format• Usage currently discouraged by Oracle• diag/rdbms/db_unique_name/sid/trace/alert_sid.log
11g Enterprise Manager Database Control (OEM DC)12c Enterprise Manager Cloud Control (OEM CC)
Both 11g & 12cAutomatic Diagnostic Repository Command Interpreter (ADRCI)XML-formatDisplayed in ADRCI with XML tags omitteddiag/rdbms/db_unique_name/sid/alert/
Alert Log 11g & 12c
Copyright©2015 Stormtime Ltd
ADRHOME
diagrdbmsDB_UNIQUE_NAMESIDalert ( XML alert log)trace ( Text alert log)
-
Automatic Diagnostic Repository Structure
Copyright©2015 Stormtime Ltd
ADR BASE is set to the value of
1. The Oracle parameter diagnostic_dest if set, otherwise
2. diagnostic_dest will be set to value of theenvironment variable ORACLE_BASE if set, otherwise
3. diagnostic_dest will be set to value of theenvironment variable ORACLE_HOME/log
Automatic Diagnostic Repository
Copyright©2015 Stormtime Ltd
Module 3 – Database Storage Structures Database Blocks, Extents, SegmentsTablespaces / DatafilesControlfile ConfigurationTablespaces
Space Management“Critical” Tablespaces SYSTEM , UNDO ( & SYSAUX ?)
Redo Log FilesConfiguration of On-LineArchived
Fast Recovery Area (FRA) Automatic Storage Management (ASM)
ArchitectureASM InstanceUsing ASM Storage
Demonstration
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 4 – Database Access and Protection Users & Schema ObjectsPre-Defined Users
Protecting the DatabaseData Manipulation Language (DML)Data Definition Language (DDL)Data Control Language (DCL)Transaction Commit & Rollback – Implicit & ExplicitResolving Locks & DeadlocksPrivileges
System & ObjectViewing , Granting & RevokingUtilising Roles
Profiles Demonstrations
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 5 - Concepts of Undo and Redo Database Checkpoints
FullPartialIncremental
Managing Undo TablespacePurposeConfiguration (Size / Retention)
For Certain Flashback Functionality12c Temporary Undo for Global Temporary Tables
On-Line Redo Log File PurposeConfigurations (Groups / Members)
Database PL/SQL Triggers Database Auditing OptionsDemonstrations
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 6 - Performance Tuning Performance Tuning Overview The Oracle Time Model
DB TIME Average Active Sessions (AAS)
Performance Tuning via SQL*Plus & STATSPACK Automatic Workload Repository (AWR)Active Session History (ASH)Automatic Database Diagnostic Monitor (ADDM)Proactive & Reactive Tuning with OEM & the Diagnostic Pack
Via OEM DCVia OEM Express
Overview of other Advisors & The Tuning PackDemonstrations
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 7 – Memory & Recovery Issues Oracle Instance Memory
System Global Area (SGA) Program Global Area (PGA)Automatic Shared Memory Management (ASMM)Automatic Memory Management (AMM)Automatic PGA Memory Management
Archivelog ModeRecovery Manager (RMAN) Command Line Utility
11g RMAN via OEM Database Control Backups - Hot & ColdBackup Types – Copy, Backupset, Compressed BackupsetMore Backup Options
Recover - Database , Tablespace & Datafile Level12c Recover Table & Table Partition LevelComplete / Incomplete Database RecoveryData Recovery Advisor (DRA)
Demonstrations
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 8 – Oracle Utilities Directory ObjectsOracle Data Pump
ExportImport
SQL*LoaderExternal TablesAutomatic Diagnostic Repository Command Interpreter (ADRCI)Database Verification Utility (DBVERIFY) Oracle Network Environment
Command Line SetupNet Manager Net Configuration Assistant
Transportable TablespaceTransportable DatabaseDemonstrations
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 9 – Oracle 12c r1 changes from Oracle 11g r2 NEW in Oracle 12c
Multitenant ArchitectureContainer Database (CDB)Pluggable Database(s) (PDB)
ENHANCEMENTS in Oracle 12cRMANSecurity Performance High AvailabilityOracle Utilities
DEPRECATED in Oracle 12cOracle Restart Oracle Streams Oracle Advanced Replication Deprecated Parameters / Views
DE-SUPPORTED in Oracle 12cOracle Enterprise Manager Database Control
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Module 10 – Summary & Conclusion
Course Content ReviewThe ‘real world’ after TrainingThe Database Administrator
`The ‘good’ Oracle DBA - `The Oracle Certified Professional DBAThe ‘good’ Oracle Certified DBAThe ‘exceptional’ DBA
Sources of further information / knowledge
Introduction to Content & Purpose of the Follow-on Webinar
Database Administration Part II Oracle 11g r2 & 12c r1
Course Topic List Oracle 11g & 12c
Copyright©2015 Stormtime Ltd
Oracle Database Administration Part IWebinar
11g r2 & 12c r1
John [email protected]
www.Stormtime.co.uk
Copyright©2015 Stormtime Ltd