SlideShare a Scribd company logo
Container only – New Features for
Multitenant in Oracle 21c
MarkusFlechtner
HI!
MARKUS FLECHTNER
PRINCIPAL CONSULTANT
 Trivadis Germany GmbH
 Studied Mathematics a long time ago
 Focus
o Oracle High Availability
o Database Upgrade + Migration
 Teacher: RAC, New Features, Multitenant, PostgreSQL
 Twitter @markusdba
 Blog: markusdba.net
 Co-author of the book The Oracle DBA (2016)
AGENDA
 Introduction
 Upgrade & Migration to Multitenant
 Resource Management & Security
 Multitenant & Oracle GridInfrastructure/RAC
 Multitenant & DataGuard
 Miscellaneous
 Conclusion
6
Introduction
REMEMBER …
 The classical Non-CDB Architecture is desupported with Oracle
Database 21c
 Multitenant Architecture („CDB Architecture“) is the only
architecture
REMEMBER …
 Oracle Database 21c is an "Innovation Release"
o Available for Linux x86-64bit, Windows and HP-UX only
o Use it for testing and evaluating new features, but not for
production systems
 Support for Oracle Database 21c
o Premier Support ends June 30, 2023
o No extended support, error correction ends June 30,2023
 Expected next Long Term Support Release: Oracle Database 23c
9
Upgrade & Migration
to Multitenant
AUTOUPGRADE
10
 AutoUpgrade is a well known tool for upgrading and migrating
your database
o Available since 2019
o Download the latest release from MOS (Note 2485457.1)
o Recommended method for database upgrades
 Automatic upgrade of Oracle Databases
o PreUpgrade Checks & FixUps
o Database Upgrade
o PostUpgrade Tasks (e.g. TimeZone Upgrades)
o Migration from Non-CDB to PDB
USING AUTOUPGRADE FOR A NON-CDB TO PDB
MIGRATION & UPGRADE TO 21C
11
 Create the target CDB (21c) beforehand
 Autoupgrade will
o Plug in the Non-CDB as a PDB
o Upgrade the PDB to 21c
AUTOUPGRADE CONFIGURATION FILE
12
 Example configuration file:
global.autoupg_log_dir=/home/oracle/testconv
testconv1.dbname=NCDB
testconv1.start_time=NOW
testconv1.source_home=/u00/app/oracle/product/19c
testconv1.target_home=/u00/app/oracle/product/21c
testconv1.sid=NCDB
testconv1.log_dir=/home/oracle/testupgrade
testconv1.upgrade_node=localhost
testconv1.target_version=21.4
testconv1.target_cdb=TESTCDB
testconv1.target_pdb_copy_option=file_name_convert=
'('/u01/oradata/NCDB','/u01/oradata/TESTCDB/TPDB')
testconv1.target_pdb_name=TPDB
[..]
„REPLAY UPGRADE“ ON PDB OPEN AND
NON-CDB PLUG-IN
 When plugging an older PDB into a 21c-CDB, the PDB will
automatically be upgraded to 21c
 A plugged-in Non-CDB will automatically be converted to a PDB,
too
 Opening the PDB will take (much) longer and you will see the
following messages in the alert.log file (beside others):
13
[…]
TESTPDB(3):Starting Upgrade on PDB Open
[…]
TESTPDB(3):alter pluggable database application APP$CDB$CATALOG end upgrade
TESTPDB(3):Completed: alter pluggable database application APP$CDB$CATALOG
end upgrade
2021-08-16T22:41:21.815101+02:00
„REPLAY UPGRADE“ (2)
 "Replay Upgrade" is controlled by two new database properties
 After opening the PDB you have to compile all invalid objects in
the PDB with the script utl_rp.sql to make all components in
DBA_REGISTRY "valid".
14
alter database property set UPGRADE_PDB_ON_OPEN='true'
Completed: alter database property set UPGRADE_PDB_ON_OPEN='true'
alter database property set CONVERT_NONCDB_ON_OPEN='true'
Completed: alter database property set CONVERT_NONCDB_ON_OPEN='true'
15
Resource Management
&
Security
MANDATORY USER PROFILE FOR PASSWORD
SECURITY
 A „mandatory profile“ can be
created in CDB$ROOT
 This profile will be used for all users
 The profile can contain
o PASSWORD_VERIFY_FUNCTION
o PASSWORD_GRACE_TIME
 Parameter
MANDATORY_USER_PROFILE has to
be set
 Additional profiles for the database
users can exist
SQL> CREATE MANDATORY PROFILE
2 C##ALL_USER_PROFILE
3 LIMIT PASSWORD_VERIFY_FUNCTION
4 ora12c_stig_verify_function
5 CONTAINER=ALL;
Profile created.
SQL> ALTER SYSTEM SET
2 mandatory_user_profile=
3 'C##ALL_USER_PROFILE';
System altered.
DATABASE RESIDENT CONNECTION POOLING
(DRCP) PER PDB
 Using the new parameter ENABLE_PER_PDB_DRCP you can
decide, wether ..
o There is one connection pool for the entire CDB (default)
o There are isolated connection pools for each PDB
SQL> alter system set ENABLE_PER_PDB_DRCP=true|false;
ORACLE DB NEST
 Control and isolation of…
o ... OS resources used by a PDB
o … File system isolation per PDB
o … Secure computing
 Concept analog to container technologies
like Docker
o Use of Linux Namespaces
o Use of CGROUPS
 Available on Linux x86-64bit
only
KERNEL NAMESPACES
 Linux kernel function for isolation and virtualization of system
resources
 When a DB Nest is launched, Oracle creates a
set of namespaces for that DB Nest
 Processes within a DB Nest see only
its namespace
 Namespaces Types
o Process namespace
o User ID namespace
o Mount namespace
o ..
SSCOMP – SECURE COMPUTING MODESCOMP –
SECURE COMPUTING MODE
20
 Linux kernel feature
 Filter out system calls that are…
o … unnecessary
o … malicious
 Restrict the actions available within the container
 seccomp uses Berkeley Packet Filters
 Well known / used in Container environments
e.g. Docker
CONTROL GROUPS (CGROUPS)
21
 cgroups is a Linux kernel feature
 mainlined into the Linux kernel since 2007
 Allows to limit that limits, accounts for, and isolates
the resource usage of a collection of processes
 Possibility of limiting and isolating the
consumption of resources
 Heavily used in Container (runc, Docker etc.)
 CPU, memory, maximum
number of PIDs, (network,
disk I/O)
ARCHITECTURE OF A CDB NEST
22
Source: Oracle® Database Security Guide 21c
GOAL OF DB NEST
23
 DB Nest is the Oracle solution for database instance and PDB
protection
 Enables a database instance to run in a protected, virtualized
environment.
 DB Nest isolate database instance from…
o … another database instance
o … other applications
o … as well as PDBs from each other and from the CDB
DB NEST PROPERTIES
24
 Operating system isolation
o OS resources like process ID, user, and mount
 File system isolation
o Visibility for file system entities
o A pivot root in Linux namespaces
is equivalent to chroot
o A bind mount enables the contents
of one directory to be accessible in a
different directory
 Resource management
o Control and monitor the resources of a nest
 Secure computing mode (seccomp)
o seccomp to filter out system calls
CONFIGURATION OVERVIEW
 Introduction of new init.ora parameter
o DBNEST_ENABLE – Enables or disables DB Nest
o DBNEST_PDB_FS_CONF – Specifies the location of an optional
file system configuration file. Set this parameter in the CDB
root.
 Use of a dedicated broker configured in listener.ora by
DEDICATED_THROUGH_BROKER_LISTENER
 Introduction of new commandline tools dbnest and dbnestinit
o Allows to create, initialize and test DB Nests
 Requires additional OS package
o nscd – A Name Service Caching Daemon (nscd)
o sssd – System Security Services Daemon
25
BASIC DB NEST CONFIGURATION
26
ALTER SYSTEM SET use_dedicated_broker=TRUE;
DEDICATED_THROUGH_BROKER_LISTENER=ON
 Configure a dedicated broker in listener.ora
 Enable the broker
ALTER SYSTEM SET dbnest_enable=cdb_resource_pdb_all SCOPE=SPFILE;
 Enable DB Nest and restart the database
Instance running inside DB Nest (TDB200C_TDB200C)
…
PDBHR(3):DB Nest (PDB00003, 2968463207) open successful
 Check the alert.log for DB Nest
CONFIGURATION
THE DB NEST
27
oracle@training21c:~/ [TVDCDB1] dbnest list
--------------------------------------------------------------------------------
Id : Nest : Parent : : Tag : State
--------------------------------------------------------------------------------
1 : ORA_TVDCDB1_TVDCDB1 : : ORA_TVDCDB1_TVDCDB1 : OPEN
Net State :
Namespace State : (pid=0,cnid=4026531836,pnid=4026531836,no namespace,type=0x0)
Resources : (cpu=0)
Property enabled : resources
Seccomp status : (level=none)
FS Isolation : (disabled)
--------------------------------------------------------------------------------
[…]
--------------------------------------------------------------------------------
3 : PDB00003 : ORA_TVDCDB1_TVDCDB1 : PDB01 (uid=2042280984) : OPEN
Net State :
Namespace State : (pid=5791,cnid=4026532249,pnid=4026531836,type=0x7)
Resources : (cpu=0)
Property enabled : namespaces,resources
Seccomp status : (level=strict1)
FS Isolation : (default-config)
--------------------------------------------------------------------------------
CHECK DB NEST (1)
ENTERING DB NESTS
28
oracle@training21c:~/ [TVDCDB1] lsns
NS TYPE NPROCS PID USER COMMAND
4026531835 cgroup 82 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER
4026531836 pid 80 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER
4026531837 user 80 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER
4026531838 uts 82 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER
4026531839 ipc 82 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER
4026531840 mnt 80 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER
4026531992 net 82 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER
4026532247 user 1 5791 oracle dbnestinit PDB00003
4026532248 mnt 1 5791 oracle dbnestinit PDB00003
4026532249 pid 1 5791 oracle dbnestinit PDB00003
4026532250 user 1 6195 oracle dbnestinit PDB00004
4026532251 mnt 1 6195 oracle dbnestinit PDB00004
4026532252 pid 1 6195 oracle dbnestinit PDB00004
 Existing Namespaces with dbnest
CHECK DBNEST (2)
ENTERING DB NESTS
29
oracle@ol7db21:~/ [TDB210C] dbnest enter PDB00001
Entering nest namespace : PDB00001
oracle@ol7db20:~/ [TDB210C] exit
exit
Exiting nest namespace : PDB00001
 Use dbnest to enter the namespace of a nest e.g. opening a shell
in this namespace
 Sqlplus "/ as sysdba" does not work with Dbnest (use passwordfile)
WORKING WITH DBNEST
FILE SYSTEM ISOLATION
30
ALTER SYSTEM SET DBNEST_PDB_FS_CONF=
'/u00/app/oracle/nest/nest_blacklist.txt' SCOPE=spfile;
vi /u00/app/oracle/nest/nest_blacklist.txt
DBNEST_NO_FS_ROOT_MODE
/bin
/usr/bin
 Directories can be excluded from a DB nest
 Create a blacklist file
 Configure the init parameter DBNEST_PDB_FS_CONF to point to
the blacklist file
NEW TOOLS FOR DBNEST
31
 New commandline tools to configure / administer Oracle DB Nests
 Currently not yet documented
 Highly try and error to use it
oracle@db21:/u00/app/oracle/nest/ [TCPU21C] dbnest -h
Usage : dbnest <command> [options]
List of options and commands.
init [options] Initialize nest environment
--stage <staging area path> Nest staging area path, Used for
storing nest conf files, skeleton
directories for nests etc.
--cgroup <base cgroups> Valid base cgroup path if
required to override the default
path available on the system.
TOOL DBNEST (1)
NEW TOOLS FOR DBNEST
32
oracle@training21c:~/ [rdbms21] dbnest -h
[…]
create <nest> [options] Create a nest
--parent <parent_nest> Parent nest name
--nstype <combination of nstypes> Combination of required namespace
types. Defaults to user, pid and
mount.
--cpu <cpu count> Number of cpus required for nest
--cpuids <list> Comma delimited cpuid range/list
e.g: 0,1-2 1-3,5 2-3 1-3,5-7 2,3
--cpu_excl <1|0> Alloc the CPUs exclusively or not
1 : alloc exclusive
0 : alloc shared (default)
--cpu_from_end <1|0> Start CPU allocation from the end
1 : alloc from end
0 : alloc from cpu0 (default)
--cpushares <cpushares> CPU shares for this nest
--max_mem <maximum memory> Max memory (in MB) for the nest
--max_swap <maximum memory> Max swap (in MB) for the nest
[..]
TOOL DBNEST (2)
33
Multitenant
&
Oracle GridInfrastructure/RAC
PDB AS A CLUSTER RESOURCE (1)
 PDBs are now cluster resources
 Example (Oracle Restart):
grid@fenrir:~/ [grinf21] crsctl stat res -t -w "TYPE = ora.pdb.type"
-------------------------------------------------------------------------------
Name Target State Server State details
-------------------------------------------------------------------------------
Cluster Resources
-------------------------------------------------------------------------------
ora.remcdb.pdb1.pdb
1 ONLINE ONLINE fenrir STABLE
ora.remcdb.pdb2a.pdb
1 ONLINE ONLINE fenrir STABLE
-------------------------------------------------------------------------------
PDB AS A CLUSTER RESOURCE (2)
 There are new commands within the well-known tool srvctl
o srvctl add pdb
o srvctl modify pdb
o srvctl config pdb
o srvctl modify pdb
o srvctl start pdb
o srvctl status pdb
o srvctl stop pdb
o srvctl enable pdb
o srvctl disable pdb
 New PDBs are automatically added as cluster resources
PDB AS A CLUSTER RESOURCE (3) - EXAMPLE
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- --------------------- ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB1 READ WRITE NO
4 PDB2A READ WRITE NO
SQL> !srvctl stop pdb -db REMCDB -pdb PDB1
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- --------------------- ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB1 MOUNTED
4 PDB2A READ WRITE NO
37
Multitenant & DataGuard
PDB SIDE RECOVERY (1)
 Until 19c
o MRP got stuck when there was a hot-cloned, flashbacked or
recovered (PITR) PDB
o Reason: an recovery process was running but there was
already MRP running in the background
o Result: ORA-1153 an incompatible media recovery is active
PDB SIDE RECOVERY (2)
 In 21c (Active DataGuard):
1. PDB on standby is automatically marked as "disabled"
2. PDB is recovered in a separate session
("PDB side recovery", "PDB recovery isolation")
3. PDB is re-enabled again
 In 21c (without ADG):
o PDB files are copied
o PDB ist marked "DISABLED AUTOMATIC RECOVERY" on Standby
o MRP does not stop
o DBA-Action:
o Recover PDB from service (Primary)
o Enable Recovery for PDB
PDB SIDE RECOVERY (3) - EXAMPLE
 On Primary
 On Standby (ADG)
SQL> create pluggable database TESTPDB from DGPDB
2 file_name_convert=('DGPDB','TESTPDB');
Pluggable database created.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 DGPDB MOUNTED
4 TESTPDB MOUNTED
SQL> select process,status,sequence# from v$managed_standby where
2 process like 'MRP%';
PROCESS STATUS SEQUENCE#
--------- ------------ ----------
MRP0 APPLYING_LOG 20
PDB SIDE RECOVERY (4) – ALERT.LOG - STANDBY
TESTPDB(4):Datafile #11 has been copied to the standby.
2021-11-10T21:17:31.873127+01:00
TESTPDB(4):PDB Side Media Recovery started for pdbid(4)
TESTPDB(4):.... (PID:7306): Managed Recovery starting Real Time Apply [krsm.c:15901]
TESTPDB(4):max_pdb is 4
TESTPDB(4):.... (PID:7306): Media Recovery Waiting for T-1.S-20 (in transit)
[krsm.c:6191]
2021-11-10T21:17:31.949889+01:00
[…]
TESTPDB(4):.... (PID:7306): Side Recovery Complete [krds.c:1584]
2021-11-10T21:17:53.329342+01:00
all data files of pdbid 4 are brought online.
Started logmerger process
2021-11-10T21:17:53.361688+01:00
PDB SIDE RECOVERY (5) - EXAMPLE
 Without ADG (after creating a PDB as r/w-clone):
SQL> select name,RECOVERY_STATUS from v$pdbs;
NAME RECOVERY_STATUS
---------- --------------------------
PDB$SEED ENABLED
DGPDB ENABLED
TESTPDB ENABLED
TESTPDB2 DISABLED AUTOMATIC RECOVER
SQL> select process,status,sequence# from v$managed_standby where
process like 'MRP%';
PROCESS STATUS SEQUENCE#
--------- ------------ ----------
MRP0 APPLYING_LOG 23
43
Miscellaneous
PDB POINT-IN-TIME RECOVERY
 In 21c a PDB can be recovered "to any time in the recent past"
 Flashback & Redolog-data must be available
 No Resetlogs on CDB-level
 Examples:
o "Flashback" to a point in time before a PDB resetlogs
operation
o Point-In-Time-Recovery to a point in time before a PDB
resetlogs operation
TIMEZONE SUPPORT IN DBCA
 A PDB can run in a different timezone than CDB$ROOT (since Oracle
Database 12c)
 21c: you can configure the timezone of a PDB with dbca
o Similar with "-configurePluggableDatabase"
SQL> alter database set timezone='Europe/Berlin';
oracle@tvd21c:~/ dbca -createPluggableDatabase -help
-createPluggableDatabase - Command to Create a pluggable database.
-pdbName <Pluggable database name>
[..]
[-pdbTimezone <Specify PDB specific timezone offset from UTC or
timezone region. +HH:MM | -HH:MM | Region >]
[..]
46
Conclusion
CONCLUSION
47
 "Replay Upgrade" makes upgrade and migration to Multitenant
"more smooth"
 Oracle DB Nest is …
o a meaningful approach
o definitely still a little shaky
o highly depend on the OS
o poor documentation
 PDB as cluster resource
 PDB side recovery
 and there's more to come ("PDB level DataGuard")
REFERENCES & MORE INFORMATION
48
 Oracle Database 21c Documentation
o "Learning Database 21c New Features"
o Security Guide – Ch. 15: Securing and Isolating Resources Using
DbNest
 MOS-Note "PDB Side Recovery (Doc ID 2649208.1)"
 DB Nest
o https://mahmoudhatem.wordpress.com/2020/10/13/oracle-20c-
dbnest-linux-namespaces-seccomp-capabilites-cgroups/
o https://mahmoudhatem.wordpress.com/2020/10/20/a-first-hands-on-
oracle-20c-dbnest-preview/
o .. And many more blog posts by Hatem Mahmoud
 Information on Linux Namespaces:
http://ifeanyi.co/posts/linux-namespaces-part-1/
QUESTIONS & ANSWERS
MARKUS FLECHTNER
 Markus.flechtner@trivadis.com
 Twitter @markusdba
 Blog: markusdba.net
TOGETHER WE ARE
#1 PARTNER FOR BUSINESSES TO
HARNESS THE POWER OF DATA
FOR A SMARTER LIFE

More Related Content

What's hot

監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜
Michitoshi Yoshida
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
Carlos Sierra
 
Oracle GoldenGateでの資料採取(トラブル時に採取すべき資料)
Oracle GoldenGateでの資料採取(トラブル時に採取すべき資料)Oracle GoldenGateでの資料採取(トラブル時に採取すべき資料)
Oracle GoldenGateでの資料採取(トラブル時に採取すべき資料)
オラクルエンジニア通信
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
Anil Nair
 
Oracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cOracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12c
Nabeel Yoosuf
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant Environments
Stefan Oehrli
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
Simon Huang
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
Anil Nair
 
SQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12cSQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12c
Tanel Poder
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360
Carlos Sierra
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBHow a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
Carlos Sierra
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
Markus Michalewicz
 
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
オラクルエンジニア通信
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao
 
Oracle GoldenGate Veridata概要
Oracle GoldenGate Veridata概要Oracle GoldenGate Veridata概要
Oracle GoldenGate Veridata概要
オラクルエンジニア通信
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
Maria Colgan
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Markus Michalewicz
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
Bobby Curtis
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 

What's hot (20)

監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜監査ログをもっと身近に!〜統合監査のすすめ〜
監査ログをもっと身近に!〜統合監査のすすめ〜
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Oracle GoldenGateでの資料採取(トラブル時に採取すべき資料)
Oracle GoldenGateでの資料採取(トラブル時に採取すべき資料)Oracle GoldenGateでの資料採取(トラブル時に採取すべき資料)
Oracle GoldenGateでの資料採取(トラブル時に採取すべき資料)
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
Oracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12cOracle Transparent Data Encryption (TDE) 12c
Oracle Transparent Data Encryption (TDE) 12c
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant Environments
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
SQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12cSQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12c
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBHow a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
 
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Oracle GoldenGate Veridata概要
Oracle GoldenGate Veridata概要Oracle GoldenGate Veridata概要
Oracle GoldenGate Veridata概要
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 

Similar to New Features for Multitenant in Oracle Database 21c

Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Markus Flechtner
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Markus Flechtner
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
Pini Dibask
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecture
Pini Dibask
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
pasalapudi
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
Pini Dibask
 
Presentation 12c pdb
Presentation 12c pdbPresentation 12c pdb
Presentation 12c pdb
Jacques Kostic
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
Pini Dibask
 
OUGN winning performnace challenges in oracle Multitenant
OUGN   winning performnace challenges in oracle MultitenantOUGN   winning performnace challenges in oracle Multitenant
OUGN winning performnace challenges in oracle Multitenant
Pini Dibask
 
Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-features
mkorremans
 
0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial
KlausePaulino
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
Francisco Alvarez
 
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdfClone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
Alireza Kamrani
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
Pini Dibask
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
Pini Dibask
 
12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions
Franck Pachot
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
Deepti Singh
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
Deepti Singh
 
Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...
Pini Dibask
 
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
BertrandDrouvot
 

Similar to New Features for Multitenant in Oracle Database 21c (20)

Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecture
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
 
Presentation 12c pdb
Presentation 12c pdbPresentation 12c pdb
Presentation 12c pdb
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
 
OUGN winning performnace challenges in oracle Multitenant
OUGN   winning performnace challenges in oracle MultitenantOUGN   winning performnace challenges in oracle Multitenant
OUGN winning performnace challenges in oracle Multitenant
 
Vijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-featuresVijfhart thema-avond-oracle-12c-new-features
Vijfhart thema-avond-oracle-12c-new-features
 
0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial0396 oracle-goldengate-12c-tutorial
0396 oracle-goldengate-12c-tutorial
 
What is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? PresentationWhat is new on 12c for Backup and Recovery? Presentation
What is new on 12c for Backup and Recovery? Presentation
 
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdfClone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
Clone_a_remote_PDB_in_Data_Guard_Environments_19c_1698741799.pdf
 
Winning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenantWinning performance challenges in oracle multitenant
Winning performance challenges in oracle multitenant
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 
12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions12cR2 Single-Tenant: Multitenant Features for All Editions
12cR2 Single-Tenant: Multitenant Features for All Editions
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
 
Oracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid cloneOracle applications 11i hot backup cloning with rapid clone
Oracle applications 11i hot backup cloning with rapid clone
 
Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...
 
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...
 

More from Markus Flechtner

My SYSAUX tablespace is full, please
My SYSAUX tablespace is full, pleaseMy SYSAUX tablespace is full, please
My SYSAUX tablespace is full, please
Markus Flechtner
 
Rolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19cRolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19c
Markus Flechtner
 
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 MinutenOracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
Markus Flechtner
 
Container Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21cContainer Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21c
Markus Flechtner
 
Oracle Datenbank-Architektur
Oracle Datenbank-ArchitekturOracle Datenbank-Architektur
Oracle Datenbank-Architektur
Markus Flechtner
 
Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?
Markus Flechtner
 
OraChk
OraChkOraChk
TFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorTFA - Trace File Analyzer Collector
TFA - Trace File Analyzer Collector
Markus Flechtner
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2
Markus Flechtner
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
Markus Flechtner
 
Datenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerDatenbank-Hausputz für Einsteiger
Datenbank-Hausputz für Einsteiger
Markus Flechtner
 
Should I stay or should I go?
Should I stay or should I go?Should I stay or should I go?
Should I stay or should I go?
Markus Flechtner
 
Privilege Analysis with the Oracle Database
Privilege Analysis with the Oracle DatabasePrivilege Analysis with the Oracle Database
Privilege Analysis with the Oracle Database
Markus Flechtner
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issues
Markus Flechtner
 
Einführung in den SQL-Developer
Einführung in den SQL-DeveloperEinführung in den SQL-Developer
Einführung in den SQL-Developer
Markus Flechtner
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
Markus Flechtner
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and Migrations
Markus Flechtner
 
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und GeschichteCodd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Markus Flechtner
 
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryDatenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Markus Flechtner
 
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Markus Flechtner
 

More from Markus Flechtner (20)

My SYSAUX tablespace is full, please
My SYSAUX tablespace is full, pleaseMy SYSAUX tablespace is full, please
My SYSAUX tablespace is full, please
 
Rolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19cRolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19c
 
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 MinutenOracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
 
Container Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21cContainer Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21c
 
Oracle Datenbank-Architektur
Oracle Datenbank-ArchitekturOracle Datenbank-Architektur
Oracle Datenbank-Architektur
 
Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?
 
OraChk
OraChkOraChk
OraChk
 
TFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorTFA - Trace File Analyzer Collector
TFA - Trace File Analyzer Collector
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
 
Datenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerDatenbank-Hausputz für Einsteiger
Datenbank-Hausputz für Einsteiger
 
Should I stay or should I go?
Should I stay or should I go?Should I stay or should I go?
Should I stay or should I go?
 
Privilege Analysis with the Oracle Database
Privilege Analysis with the Oracle DatabasePrivilege Analysis with the Oracle Database
Privilege Analysis with the Oracle Database
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issues
 
Einführung in den SQL-Developer
Einführung in den SQL-DeveloperEinführung in den SQL-Developer
Einführung in den SQL-Developer
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and Migrations
 
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und GeschichteCodd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
 
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryDatenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
 
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
 

Recently uploaded

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
flufftailshop
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Jeffrey Haguewood
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 

Recently uploaded (20)

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 

New Features for Multitenant in Oracle Database 21c

  • 1. Container only – New Features for Multitenant in Oracle 21c MarkusFlechtner
  • 2. HI! MARKUS FLECHTNER PRINCIPAL CONSULTANT  Trivadis Germany GmbH  Studied Mathematics a long time ago  Focus o Oracle High Availability o Database Upgrade + Migration  Teacher: RAC, New Features, Multitenant, PostgreSQL  Twitter @markusdba  Blog: markusdba.net  Co-author of the book The Oracle DBA (2016)
  • 3. AGENDA  Introduction  Upgrade & Migration to Multitenant  Resource Management & Security  Multitenant & Oracle GridInfrastructure/RAC  Multitenant & DataGuard  Miscellaneous  Conclusion
  • 5. REMEMBER …  The classical Non-CDB Architecture is desupported with Oracle Database 21c  Multitenant Architecture („CDB Architecture“) is the only architecture
  • 6. REMEMBER …  Oracle Database 21c is an "Innovation Release" o Available for Linux x86-64bit, Windows and HP-UX only o Use it for testing and evaluating new features, but not for production systems  Support for Oracle Database 21c o Premier Support ends June 30, 2023 o No extended support, error correction ends June 30,2023  Expected next Long Term Support Release: Oracle Database 23c
  • 8. AUTOUPGRADE 10  AutoUpgrade is a well known tool for upgrading and migrating your database o Available since 2019 o Download the latest release from MOS (Note 2485457.1) o Recommended method for database upgrades  Automatic upgrade of Oracle Databases o PreUpgrade Checks & FixUps o Database Upgrade o PostUpgrade Tasks (e.g. TimeZone Upgrades) o Migration from Non-CDB to PDB
  • 9. USING AUTOUPGRADE FOR A NON-CDB TO PDB MIGRATION & UPGRADE TO 21C 11  Create the target CDB (21c) beforehand  Autoupgrade will o Plug in the Non-CDB as a PDB o Upgrade the PDB to 21c
  • 10. AUTOUPGRADE CONFIGURATION FILE 12  Example configuration file: global.autoupg_log_dir=/home/oracle/testconv testconv1.dbname=NCDB testconv1.start_time=NOW testconv1.source_home=/u00/app/oracle/product/19c testconv1.target_home=/u00/app/oracle/product/21c testconv1.sid=NCDB testconv1.log_dir=/home/oracle/testupgrade testconv1.upgrade_node=localhost testconv1.target_version=21.4 testconv1.target_cdb=TESTCDB testconv1.target_pdb_copy_option=file_name_convert= '('/u01/oradata/NCDB','/u01/oradata/TESTCDB/TPDB') testconv1.target_pdb_name=TPDB [..]
  • 11. „REPLAY UPGRADE“ ON PDB OPEN AND NON-CDB PLUG-IN  When plugging an older PDB into a 21c-CDB, the PDB will automatically be upgraded to 21c  A plugged-in Non-CDB will automatically be converted to a PDB, too  Opening the PDB will take (much) longer and you will see the following messages in the alert.log file (beside others): 13 […] TESTPDB(3):Starting Upgrade on PDB Open […] TESTPDB(3):alter pluggable database application APP$CDB$CATALOG end upgrade TESTPDB(3):Completed: alter pluggable database application APP$CDB$CATALOG end upgrade 2021-08-16T22:41:21.815101+02:00
  • 12. „REPLAY UPGRADE“ (2)  "Replay Upgrade" is controlled by two new database properties  After opening the PDB you have to compile all invalid objects in the PDB with the script utl_rp.sql to make all components in DBA_REGISTRY "valid". 14 alter database property set UPGRADE_PDB_ON_OPEN='true' Completed: alter database property set UPGRADE_PDB_ON_OPEN='true' alter database property set CONVERT_NONCDB_ON_OPEN='true' Completed: alter database property set CONVERT_NONCDB_ON_OPEN='true'
  • 14. MANDATORY USER PROFILE FOR PASSWORD SECURITY  A „mandatory profile“ can be created in CDB$ROOT  This profile will be used for all users  The profile can contain o PASSWORD_VERIFY_FUNCTION o PASSWORD_GRACE_TIME  Parameter MANDATORY_USER_PROFILE has to be set  Additional profiles for the database users can exist SQL> CREATE MANDATORY PROFILE 2 C##ALL_USER_PROFILE 3 LIMIT PASSWORD_VERIFY_FUNCTION 4 ora12c_stig_verify_function 5 CONTAINER=ALL; Profile created. SQL> ALTER SYSTEM SET 2 mandatory_user_profile= 3 'C##ALL_USER_PROFILE'; System altered.
  • 15. DATABASE RESIDENT CONNECTION POOLING (DRCP) PER PDB  Using the new parameter ENABLE_PER_PDB_DRCP you can decide, wether .. o There is one connection pool for the entire CDB (default) o There are isolated connection pools for each PDB SQL> alter system set ENABLE_PER_PDB_DRCP=true|false;
  • 16. ORACLE DB NEST  Control and isolation of… o ... OS resources used by a PDB o … File system isolation per PDB o … Secure computing  Concept analog to container technologies like Docker o Use of Linux Namespaces o Use of CGROUPS  Available on Linux x86-64bit only
  • 17. KERNEL NAMESPACES  Linux kernel function for isolation and virtualization of system resources  When a DB Nest is launched, Oracle creates a set of namespaces for that DB Nest  Processes within a DB Nest see only its namespace  Namespaces Types o Process namespace o User ID namespace o Mount namespace o ..
  • 18. SSCOMP – SECURE COMPUTING MODESCOMP – SECURE COMPUTING MODE 20  Linux kernel feature  Filter out system calls that are… o … unnecessary o … malicious  Restrict the actions available within the container  seccomp uses Berkeley Packet Filters  Well known / used in Container environments e.g. Docker
  • 19. CONTROL GROUPS (CGROUPS) 21  cgroups is a Linux kernel feature  mainlined into the Linux kernel since 2007  Allows to limit that limits, accounts for, and isolates the resource usage of a collection of processes  Possibility of limiting and isolating the consumption of resources  Heavily used in Container (runc, Docker etc.)  CPU, memory, maximum number of PIDs, (network, disk I/O)
  • 20. ARCHITECTURE OF A CDB NEST 22 Source: Oracle® Database Security Guide 21c
  • 21. GOAL OF DB NEST 23  DB Nest is the Oracle solution for database instance and PDB protection  Enables a database instance to run in a protected, virtualized environment.  DB Nest isolate database instance from… o … another database instance o … other applications o … as well as PDBs from each other and from the CDB
  • 22. DB NEST PROPERTIES 24  Operating system isolation o OS resources like process ID, user, and mount  File system isolation o Visibility for file system entities o A pivot root in Linux namespaces is equivalent to chroot o A bind mount enables the contents of one directory to be accessible in a different directory  Resource management o Control and monitor the resources of a nest  Secure computing mode (seccomp) o seccomp to filter out system calls
  • 23. CONFIGURATION OVERVIEW  Introduction of new init.ora parameter o DBNEST_ENABLE – Enables or disables DB Nest o DBNEST_PDB_FS_CONF – Specifies the location of an optional file system configuration file. Set this parameter in the CDB root.  Use of a dedicated broker configured in listener.ora by DEDICATED_THROUGH_BROKER_LISTENER  Introduction of new commandline tools dbnest and dbnestinit o Allows to create, initialize and test DB Nests  Requires additional OS package o nscd – A Name Service Caching Daemon (nscd) o sssd – System Security Services Daemon 25
  • 24. BASIC DB NEST CONFIGURATION 26 ALTER SYSTEM SET use_dedicated_broker=TRUE; DEDICATED_THROUGH_BROKER_LISTENER=ON  Configure a dedicated broker in listener.ora  Enable the broker ALTER SYSTEM SET dbnest_enable=cdb_resource_pdb_all SCOPE=SPFILE;  Enable DB Nest and restart the database Instance running inside DB Nest (TDB200C_TDB200C) … PDBHR(3):DB Nest (PDB00003, 2968463207) open successful  Check the alert.log for DB Nest CONFIGURATION
  • 25. THE DB NEST 27 oracle@training21c:~/ [TVDCDB1] dbnest list -------------------------------------------------------------------------------- Id : Nest : Parent : : Tag : State -------------------------------------------------------------------------------- 1 : ORA_TVDCDB1_TVDCDB1 : : ORA_TVDCDB1_TVDCDB1 : OPEN Net State : Namespace State : (pid=0,cnid=4026531836,pnid=4026531836,no namespace,type=0x0) Resources : (cpu=0) Property enabled : resources Seccomp status : (level=none) FS Isolation : (disabled) -------------------------------------------------------------------------------- […] -------------------------------------------------------------------------------- 3 : PDB00003 : ORA_TVDCDB1_TVDCDB1 : PDB01 (uid=2042280984) : OPEN Net State : Namespace State : (pid=5791,cnid=4026532249,pnid=4026531836,type=0x7) Resources : (cpu=0) Property enabled : namespaces,resources Seccomp status : (level=strict1) FS Isolation : (default-config) -------------------------------------------------------------------------------- CHECK DB NEST (1)
  • 26. ENTERING DB NESTS 28 oracle@training21c:~/ [TVDCDB1] lsns NS TYPE NPROCS PID USER COMMAND 4026531835 cgroup 82 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER 4026531836 pid 80 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER 4026531837 user 80 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER 4026531838 uts 82 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER 4026531839 ipc 82 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER 4026531840 mnt 80 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER 4026531992 net 82 1972 oracle /u00/app/oracle/product/21c/bin/tnslsnr LISTENER 4026532247 user 1 5791 oracle dbnestinit PDB00003 4026532248 mnt 1 5791 oracle dbnestinit PDB00003 4026532249 pid 1 5791 oracle dbnestinit PDB00003 4026532250 user 1 6195 oracle dbnestinit PDB00004 4026532251 mnt 1 6195 oracle dbnestinit PDB00004 4026532252 pid 1 6195 oracle dbnestinit PDB00004  Existing Namespaces with dbnest CHECK DBNEST (2)
  • 27. ENTERING DB NESTS 29 oracle@ol7db21:~/ [TDB210C] dbnest enter PDB00001 Entering nest namespace : PDB00001 oracle@ol7db20:~/ [TDB210C] exit exit Exiting nest namespace : PDB00001  Use dbnest to enter the namespace of a nest e.g. opening a shell in this namespace  Sqlplus "/ as sysdba" does not work with Dbnest (use passwordfile) WORKING WITH DBNEST
  • 28. FILE SYSTEM ISOLATION 30 ALTER SYSTEM SET DBNEST_PDB_FS_CONF= '/u00/app/oracle/nest/nest_blacklist.txt' SCOPE=spfile; vi /u00/app/oracle/nest/nest_blacklist.txt DBNEST_NO_FS_ROOT_MODE /bin /usr/bin  Directories can be excluded from a DB nest  Create a blacklist file  Configure the init parameter DBNEST_PDB_FS_CONF to point to the blacklist file
  • 29. NEW TOOLS FOR DBNEST 31  New commandline tools to configure / administer Oracle DB Nests  Currently not yet documented  Highly try and error to use it oracle@db21:/u00/app/oracle/nest/ [TCPU21C] dbnest -h Usage : dbnest <command> [options] List of options and commands. init [options] Initialize nest environment --stage <staging area path> Nest staging area path, Used for storing nest conf files, skeleton directories for nests etc. --cgroup <base cgroups> Valid base cgroup path if required to override the default path available on the system. TOOL DBNEST (1)
  • 30. NEW TOOLS FOR DBNEST 32 oracle@training21c:~/ [rdbms21] dbnest -h […] create <nest> [options] Create a nest --parent <parent_nest> Parent nest name --nstype <combination of nstypes> Combination of required namespace types. Defaults to user, pid and mount. --cpu <cpu count> Number of cpus required for nest --cpuids <list> Comma delimited cpuid range/list e.g: 0,1-2 1-3,5 2-3 1-3,5-7 2,3 --cpu_excl <1|0> Alloc the CPUs exclusively or not 1 : alloc exclusive 0 : alloc shared (default) --cpu_from_end <1|0> Start CPU allocation from the end 1 : alloc from end 0 : alloc from cpu0 (default) --cpushares <cpushares> CPU shares for this nest --max_mem <maximum memory> Max memory (in MB) for the nest --max_swap <maximum memory> Max swap (in MB) for the nest [..] TOOL DBNEST (2)
  • 32. PDB AS A CLUSTER RESOURCE (1)  PDBs are now cluster resources  Example (Oracle Restart): grid@fenrir:~/ [grinf21] crsctl stat res -t -w "TYPE = ora.pdb.type" ------------------------------------------------------------------------------- Name Target State Server State details ------------------------------------------------------------------------------- Cluster Resources ------------------------------------------------------------------------------- ora.remcdb.pdb1.pdb 1 ONLINE ONLINE fenrir STABLE ora.remcdb.pdb2a.pdb 1 ONLINE ONLINE fenrir STABLE -------------------------------------------------------------------------------
  • 33. PDB AS A CLUSTER RESOURCE (2)  There are new commands within the well-known tool srvctl o srvctl add pdb o srvctl modify pdb o srvctl config pdb o srvctl modify pdb o srvctl start pdb o srvctl status pdb o srvctl stop pdb o srvctl enable pdb o srvctl disable pdb  New PDBs are automatically added as cluster resources
  • 34. PDB AS A CLUSTER RESOURCE (3) - EXAMPLE SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- --------------------- ---------- ---------- 2 PDB$SEED READ ONLY NO 3 PDB1 READ WRITE NO 4 PDB2A READ WRITE NO SQL> !srvctl stop pdb -db REMCDB -pdb PDB1 SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- --------------------- ---------- ---------- 2 PDB$SEED READ ONLY NO 3 PDB1 MOUNTED 4 PDB2A READ WRITE NO
  • 36. PDB SIDE RECOVERY (1)  Until 19c o MRP got stuck when there was a hot-cloned, flashbacked or recovered (PITR) PDB o Reason: an recovery process was running but there was already MRP running in the background o Result: ORA-1153 an incompatible media recovery is active
  • 37. PDB SIDE RECOVERY (2)  In 21c (Active DataGuard): 1. PDB on standby is automatically marked as "disabled" 2. PDB is recovered in a separate session ("PDB side recovery", "PDB recovery isolation") 3. PDB is re-enabled again  In 21c (without ADG): o PDB files are copied o PDB ist marked "DISABLED AUTOMATIC RECOVERY" on Standby o MRP does not stop o DBA-Action: o Recover PDB from service (Primary) o Enable Recovery for PDB
  • 38. PDB SIDE RECOVERY (3) - EXAMPLE  On Primary  On Standby (ADG) SQL> create pluggable database TESTPDB from DGPDB 2 file_name_convert=('DGPDB','TESTPDB'); Pluggable database created. SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 DGPDB MOUNTED 4 TESTPDB MOUNTED SQL> select process,status,sequence# from v$managed_standby where 2 process like 'MRP%'; PROCESS STATUS SEQUENCE# --------- ------------ ---------- MRP0 APPLYING_LOG 20
  • 39. PDB SIDE RECOVERY (4) – ALERT.LOG - STANDBY TESTPDB(4):Datafile #11 has been copied to the standby. 2021-11-10T21:17:31.873127+01:00 TESTPDB(4):PDB Side Media Recovery started for pdbid(4) TESTPDB(4):.... (PID:7306): Managed Recovery starting Real Time Apply [krsm.c:15901] TESTPDB(4):max_pdb is 4 TESTPDB(4):.... (PID:7306): Media Recovery Waiting for T-1.S-20 (in transit) [krsm.c:6191] 2021-11-10T21:17:31.949889+01:00 […] TESTPDB(4):.... (PID:7306): Side Recovery Complete [krds.c:1584] 2021-11-10T21:17:53.329342+01:00 all data files of pdbid 4 are brought online. Started logmerger process 2021-11-10T21:17:53.361688+01:00
  • 40. PDB SIDE RECOVERY (5) - EXAMPLE  Without ADG (after creating a PDB as r/w-clone): SQL> select name,RECOVERY_STATUS from v$pdbs; NAME RECOVERY_STATUS ---------- -------------------------- PDB$SEED ENABLED DGPDB ENABLED TESTPDB ENABLED TESTPDB2 DISABLED AUTOMATIC RECOVER SQL> select process,status,sequence# from v$managed_standby where process like 'MRP%'; PROCESS STATUS SEQUENCE# --------- ------------ ---------- MRP0 APPLYING_LOG 23
  • 42. PDB POINT-IN-TIME RECOVERY  In 21c a PDB can be recovered "to any time in the recent past"  Flashback & Redolog-data must be available  No Resetlogs on CDB-level  Examples: o "Flashback" to a point in time before a PDB resetlogs operation o Point-In-Time-Recovery to a point in time before a PDB resetlogs operation
  • 43. TIMEZONE SUPPORT IN DBCA  A PDB can run in a different timezone than CDB$ROOT (since Oracle Database 12c)  21c: you can configure the timezone of a PDB with dbca o Similar with "-configurePluggableDatabase" SQL> alter database set timezone='Europe/Berlin'; oracle@tvd21c:~/ dbca -createPluggableDatabase -help -createPluggableDatabase - Command to Create a pluggable database. -pdbName <Pluggable database name> [..] [-pdbTimezone <Specify PDB specific timezone offset from UTC or timezone region. +HH:MM | -HH:MM | Region >] [..]
  • 45. CONCLUSION 47  "Replay Upgrade" makes upgrade and migration to Multitenant "more smooth"  Oracle DB Nest is … o a meaningful approach o definitely still a little shaky o highly depend on the OS o poor documentation  PDB as cluster resource  PDB side recovery  and there's more to come ("PDB level DataGuard")
  • 46. REFERENCES & MORE INFORMATION 48  Oracle Database 21c Documentation o "Learning Database 21c New Features" o Security Guide – Ch. 15: Securing and Isolating Resources Using DbNest  MOS-Note "PDB Side Recovery (Doc ID 2649208.1)"  DB Nest o https://mahmoudhatem.wordpress.com/2020/10/13/oracle-20c- dbnest-linux-namespaces-seccomp-capabilites-cgroups/ o https://mahmoudhatem.wordpress.com/2020/10/20/a-first-hands-on- oracle-20c-dbnest-preview/ o .. And many more blog posts by Hatem Mahmoud  Information on Linux Namespaces: http://ifeanyi.co/posts/linux-namespaces-part-1/
  • 47. QUESTIONS & ANSWERS MARKUS FLECHTNER  Markus.flechtner@trivadis.com  Twitter @markusdba  Blog: markusdba.net
  • 48. TOGETHER WE ARE #1 PARTNER FOR BUSINESSES TO HARNESS THE POWER OF DATA FOR A SMARTER LIFE

Editor's Notes

  1. Version 21c of the Oracle database is the version by which Oracle cuts off old heads and says goodbye to the classic architecture, also known as the non-CDB architecture. Now there are only container databases, and 21c brings with it some new features. New features include better integration into Oracle Cluster, improved isolation of pluggable databases, extended flashback and recovery opportunities.  The presentation provides an overview of the new features and shows the current migration methods you can use to migrate to the container database architecture.