1 VitalSoftTech.com Copyright 2014 By Natik Ameen.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
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
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
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.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Installation – Lecture 2 Copyright System Managers LLC 2007 all rights reserved.
Harvard University Oracle Database Administration Session 2 System Level.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Database Backup and Recovery
RMAN Restore and Recovery
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
Chapter 12 Performing Incomplete Recovery. Background Viewed as one of the more difficult chapters to write Thought it was important to put in material.
Configuring Recovery Manager
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Using RMAN to Perform Recovery
Navigating the Oracle Backup Maze Robert Spurzem Senior Product Marketing Manager
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
Private Database Cloud Database Consolidation Deep Dive in PDB Nitin Vengurlekar Viscosity – CTO/Cloud Charles Kim Viscosity –
CHAPTER 23 Pluggable Databases. Oracle Multitenant (Pluggable Databases) New with Oracle Database 12c is Oracle Multitenant. This feature allows you to.
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.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
ORACLE
9 Copyright © 2004, Oracle. All rights reserved. Flashback 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.
A Guide to Oracle9i1 Database Instance startup and shutdown.
17 Copyright © Oracle Corporation, All rights reserved. Recovery Catalog Creation and Maintenance.
IT Database Administration SECTION 01. Starting Up and Shutting Down the Database Database Administration Facilities – A number of tools are available.
Database Administration 3.Using Administration Tools.
Advanced Databases DBA: Security and Backups Guide to Oracle 10g 1.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
Creating an Oracle Database. Considerations before creating a DB Planning for Database Creation –Select the standard database block size. –Use an undo.
REMINDER Check in on the COLLABORATE mobile app Pluggable Databases : Save money and time by harnessing the power of ORACLE for database consolidation.
Enterprise Manager: Scalable Oracle Management John Kennedy System Management Products, Server Technologies, Oracle Corporation Session id:XXXXX.
Oracle Applications 11i Concepts II Brian Hitchcock OCP 11i DBA -- OCP 10g DBA Sun Microsystems Brian Hitchcock.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
5 th October, 2015 Anuj Mohan Database enthusiast, Public speaker and founder of Oracle12cSIG(IOUG) Technical Account Manager Data Intensity LLC Oracle.
Oracle 12c Container Databases for Beginners to Advanced 20 th Nov, 2013 Anuj Mohan Database enthusiast, Public speaker and founder of Oracle12cSIG(IOUG)
CHAPTER 1 Installing the Oracle Binaries. Introduction to Managing and Safeguarding Your Organization’s Data Efficiently installing Oracle software Create.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
Oracle 12c Container Databases for Beginners to Advanced 14 th May, 2014 Anuj Mohan Database enthusiast, Public speaker and founder of Oracle12cSIG(IOUG)
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
3 Copyright © 2006, Oracle. All rights reserved. Installation and Administration Basics.
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.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle 10g Administration Database Control and Storage Structures Copyright ©2006 Custom Training Institute.
 Database Administration Oracle Database Instance Management Starting Up and Shutting Down أ. ندى الغامدي, أ. ندى الطوالة.
How To Pass Oracle 1z0-060 Exam In First Attempt?
מימוש מערכות מסדי נתונים (236510)
Get Verified Oracle 1z0-062 Study Material - Oracle 1z0-062 Exam Dumps PDF Realexamdumps.com
Database administration
Oracle 12c Multitenant Database
Presentation transcript:

1 VitalSoftTech.com Copyright 2014 By Natik Ameen

 Production DBA 15+ years  RAC, Exadata & GoldenGate  OCP 8 thru 11g  OCE RAC  Free Articles at 2

 Evolution of Databases  12c Features  What does multitenacy offer?  Multitenant Architecture  Getting Started  Basic Administration 3

 Security  Backup and Recovery  Views  Upgrade 4

5

6  7, 8i, 9i, 10g,11g and 12c  i=internet  g=grid  c=cloud

7  DB Size in MB’s  Then Gigabytes  Then Terabytes  Now Petabytes and growing …  DB Sizes doubled in last 2 years alone!

8  CPU’s  Disk Speed  Networks

9  RDBMS  Licensed  Open Source  SQL  NoSQL  Reduce/Mapped

Consolidation, Flexibility & ROI 10

 Mutlitenancy  Plug-in, Plug-out  In-memory  Cloning 11

Consolidation, Flexibility & ROI 12

 Many servers  Dedicated resources  Long provisioning time  Data Segregation requirements  Large Databases Size  Costly 13

 More than … 14

 Database consolidation vs Server consolidation  Reduced resource usage  Separation of User Data  Fewer servers 15

 Easier, faster DB deployments  Fast Cloning for Dev/QA  Quick patching and upgrades  Separation of duties 16

 Hardware, Software Cost Reduction  Fewer support hours 17

How are container DB’s different from non-container DB’s? 18

19

 CDB Instance  CDB$ROOT Container  PDB$SEED  PDBs 20

 Consolidation at Database Level  Share SGA with other PDBs  Share Background processes 21

 SGA  Buffer Cache  Log buffer Cache  Shared Pool  Redo Logs  SYSTEM, SYSAUX & UNDO  DBWR, LGWR, ARCH background processes 22

 System Data Dictionary  One root  Plugin a PDB  Holds common users  CDB Resource Plan  Upto 252 PDB’s 23

 Local Data Dictionary  Metadata link (Data Dictionary Pointer)  Object Link (Data link)  Local Users  Common Users  SYSTEM & SYSAUX 24

 PDB Template  Rapid DB creation  SYSTEM, SYSAUX,TEMP  Common User 25

Create CDB and PDB’s 26

27

 Connect to CDB as sysdba  No need to create and initialize instance  Copies datafiles and creates service  Very fast 28

Connect, Start and shutdown CDB and PDBs 29

 Export ORACLE_SID – CDB Instance name  Connect normally using sqlplust p:// 12c-pdbs-and-cdbs-getting-started/t p:// 12c-pdbs-and-cdbs-getting-started/ 30

 Export CDB ORACLE_SID  Instance name always CDB instance  PDB created has own Service name  Connect using Service Name 31

32

33

 Export ORACLE_SID – CDB Instance name  Connect Normally using sqlplus  Run STARTUPracle-12c-pdbs-and-cdbs- getting-started/racle-12c-pdbs-and-cdbs- getting-started/ 34

 Not automatically started  Even if CDB is up  PDBs in-accessible.  In MOUNT mode 35

Open all pluggable databases 36

Closing all pluggable databases 37

 Shutdown in normal way  All PDB’s shut down automatically 38

39

Is my PDB Really Secure? 40

 Users created in the CDB  User name will always start with C## 41

 Works the same way as users  Roles created in the CDB  Role names will always start with C## 42

 Common users need Privs to connect to each container  Grant Privs to a user cascade Privs across all PDBs  Exception is SEED database 43

 Created inside a specific PDB database  Cannot connect to other PDB’s or CDB  C## in name not required/allowed? 44 ■ Cannot connect to CDB as users are local to PDB only

 Follows same convention as local users  Can only be created in PDBs  Limited to container where created 45

 Can be granted to local or Common users 46  Below privilege granted in PDB, not cascaded to CDB

Now, do I have to learn how to backup the Database? 47

 Connect to the CDB  Same as a non-container backup  One command backs up CDB and ALL PDBs 48 rman target / Recovery Manager: Release Production on Thu Sep 5 13:13: …… RMAN> backup database; Starting backup at 05-SEP-13 ….

 Connect to the CDB RMAN> backup database root; Starting backup at 05-SEP-13 …. 49

 Connect to CDB use pluggable database 50 ■Connect to PDB and run backup or RMAN> backup database; Starting backup at 05-SEP-13 …. RMAN> backup pluggable database pdb12c; Starting backup at 05-SEP-13 ….

 Archive logs can ONLY be backed while connected to CDB  Connect to the CDB 51 RMAN> BACKUP DATABASE PLUSARCHIVE LOG;

 All databases attached can be flashed back  Except past the previous SCN Recovery time of the database  Work around is to offline the datafiles 52 ORA-39866: Data files for pluggable database must be offline to flashback across a PDB point-in-time recovery

 Connect to CDB  Flashback the CDB and ALL PDB’s to same point in time 53

Where do I connect to look at DB info? CDB or PDB?

 New Views start with CDB_*  Only visible when connected to CDB 55

 V$ views  GV$ views  CDB_ views  DBA_HIST* views 56

57 CON_ID References 0 Entire CDB 1 Root 2 SEED PDB's  Is this a CDB? select CDB from V$DATABASE;  Container List >select NAME, CON_ID, DBID, CON_UID, GUID from V$CONTAINERS order by CON_ID;

58  Container History select DB_NAME, CON_ID, PDB_NAME, OPERATION, OP_TIMESTAMP, CLONED_FROM_PDB_NAME from CDB_PDB_HISTORY where CON_ID > 2 order by CON_ID;

Ready to upgrade?

60 Source ReleaseSource Patch SetDirect Upgrade Support? 11gr and laterYes No 11gr Yes No 10g Yes and earlier No. 9i and earlierAllNo

 SQL Plan Management Base  Evolve Plans  Don’t forget to test in non-production 61

62

 Install 12c Oracle binaries  Run catupgrd.sql 63

64 LinkedIn - Google My blog We provide  24hrs Remote DBA Support  Oracle Online Training Worked with  Sony America  UCSD  George Washington University Phone: (800) Skype: ORACLE_IT Phone: (800) Skype: ORACLE_IT Oracle 12c Articles Oracle 12c Articles