Professional Documents
Culture Documents
Managing Multitenant
Architecture
Student Guide
D79128GC10
Edition 1.0
July 2013
D82583
Authors Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Jean-François Verrier This document contains proprietary information and is protected by copyright and
other intellectual property laws. You may copy and print this document solely for your
own use in an Oracle training course. The document may not be modified or altered
Technical Contr ibutors in any way. Except where your use constitutes "fair use" under copyright law, you
and Reviewer s may not use, share, download, upload, copy, print, display, perform, reproduce,
publish, license, post, transmit, or distribute this document in whole or in part without
Bill Millar the express authorization of Oracle.
Branislav Valny
The information contained in this document is subject to change without notice. If you
Gerlinde Frenzen find any problems in the document, please report them in writing to: Oracle University,
500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
Joel Goodman warranted to be error-free.
Harald Van Breederode
Restricted Rights Notice
Maria Billings
Randy Urbano If this documentation is delivered to the United States Government or anyone using
the documentation on behalf of the United States Government, the following notice is
applicable:
Editor s
U.S. GOVERNMENT RIGHTS
Raj Kumar The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or
disclose these training materials are restricted by the terms of the applicable Oracle
Anwesha Ray
license agreement and/or the applicable U.S. Government contract.
Trademark Notice
Gr aphic Designer
Rajiv Chandrabhanu Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names
may be trademarks of their respective owners.
Publisher s
Jobi Varghese
Srividya Rameshkumar
Contents
1 Introduction
Objectives 1-2
Course Structure 1-3
Suggested Schedule 1-4
Enterprise Manager Cloud Control and Other Tools 1-5
Target Discovery: Multitenant Container Database 1-6
Enterprise Manager Cloud Control 1-7
Enterprise Manager Database Express 1-8
Configuring Enterprise Manager Database Express 1-9
Database Configuration Assistant 1-10
SQL*Plus 1-11
Oracle SQL Developer: Connections 1-12
Oracle SQL Developer: DBA Tasks 1-13
Quiz 1-14
Summary 1-15
Practice 1 Overview: Using Enterprise Manager Cloud Control 1-16
8 Performance
Course Structure 8-2
Objectives 8-3
Tuning a Multitenant Container Database 8-4
Tuning Methodology 8-5
General Tuning Session 8-7
Sizing the CDB 8-9
Testing the Estimates 8-10
Allocating Resources in the CDB 8-11
Initialization Parameters in a CDB 8-12
Enterprise Manager Cloud Control 12c: Setting Initialization Parameters 8-13
Tuning CDB Memory 8-14
Enterprise Manager Cloud Control 12c: Memory Advisors 8-15
Memory Advisors 8-16
Limiting PGA Usage 8-17
Tuning SQL 8-18
AWR SQL Reports 8-19
ADDM Tasks 8-20
SQL Advisors 8-21
SQL Tuning Advisor 8-22
Quiz 8-23
Resource Manager and Pluggable Databases 8-24
Managing Resources Between PDBs 8-25
CDB Resource Plan Basics: Share 8-26
CDB Resource Plan Basics: Limits 8-29
CDB Resource Plan: Full Example 8-30
Creating a CDB Resource Plan 8-31
Maintaining a CDB Resource Plan 8-32
Creating CDB Resource Plan: SQL Example 8-33
Viewing CDB Resource Plan Directives 8-36
Enabling a CDB Resource Plan 8-37
Managing Resources Within a PDB 8-38
Managing PDB Resource Plans 8-39
Putting It Together 8-40
Considerations 8-41
Consolidated Database Replay Use Cases 8-42
Use Cases: Source Workloads 8-43
The Big Picture 8-44
Step 1 8-45
Step 2 8-46
Step 3 8-47
Step 4 8-48
Consolidated Replay Steps 8-49
Quiz 8-50
Summary 8-51
Practice 8 Overview: Performance 8-52
9 Miscellaneous
Course Structure 9-2
Objectives 9-3
Using Oracle Data Pump with PDBs 9-4
Exporting from non-CDB and Importing into PDB 9-5
Exporting and Importing Between PDBs 9-6
Exporting from PDB and Importing into non-CDB 9-7
Full Transportable Export/Import: Overview 9-8
Full Transportable Export/Import: Usage 9-9
Full Transportable Export/Import: Example 9-11
Transporting a Database Over the Network: Example 9-12
Using SQL*Loader with PDBs 9-13
Quiz 9-14
Auditing Actions in a CDB and PDBs 9-15
Creating an Audit Policy at CDB/PDB Level 9-16
Enabling / Disabling the Audit Policy 9-17
Viewing the Audit Policy 9-18
Viewing the Audit Records CDB_UNIFIED_AUDIT_TRAIL 9-19
Dropping the Audit Policy 9-20
Audit Cleanup 9-21
Quiz 9-22
Securing Data with Transparent Data Encryption 9-23
The Keystore and Master Keys 9-24
Creating the Keystore 9-25
Opening the Keystore 9-26
Setting Master Encryption Keys 9-27
Unplug and Plug PDB with Encrypted Data 9-28
Securing Data with Oracle Database Vault 9-29
Quiz 9-30
Using Xstreams with a CDB and PDB 9-31
Creating a Standby of a CDB 9-32
Quiz 9-34
Scheduling Operations in a PDB 9-35
Jobs Coordinator and Resources 9-36
Mining Statements of a PDB Using LogMiner 9-37
Summary 9-38
Practice 9 Overview: Miscellaneous 9-39
A Consolidated Database Replay Procedures and Tables
Consolidated Replay Steps A-2
Procedures for Steps 4 and 5 A-3
Procedure to Initialize the Replay A-4
Remap Connections with PDBs A-5
Procedure to Prepare the Replay A-6
Modes of Synchronization A-7
Procedure to Start Replay A-8
Tables A-9