Oracle Database 21c introduces several new features for multitenant databases:
- PDBs can now be upgraded automatically when plugged into a 21c CDB or opened, replaying the upgrade process.
- Resource management is improved with options like mandatory user profiles, per-PDB database resident connection pooling, and Oracle DB Nest for isolating PDBs using Linux namespaces and cgroups.
- Multitenant enhancements for high availability include PDBs being managed as cluster resources and improved PDB-level recovery when using Active Data Guard.
Oracle Database performance tuning using oratopSandesh Rao
Oratop is a text-based user interface tool for monitoring basic database operations in real-time. This presentation will go into depth on how to use the tool and some example scenarios. It can be used for both RAC and single-instance databases and in combination with top to get a more holistic view of system performance and identify any bottlenecks.
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTanel Poder
From Tanel Poder's Troubleshooting Complex Performance Issues series - an example of Oracle SEG$ internal segment contention due to some direct path insert activity.
Oracle Latch and Mutex Contention TroubleshootingTanel Poder
This is an intro to latch & mutex contention troubleshooting which I've delivered at Hotsos Symposium, UKOUG Conference etc... It's also the starting point of my Latch & Mutex contention sections in my Advanced Oracle Troubleshooting online seminar - but we go much deeper there :-)
This document discusses Oracle Multitenant 19c and pluggable databases. It begins with an introduction to the speaker and overview of pluggable databases. It then describes the traditional Oracle database architecture and the multitenant architecture in Oracle 19c. It discusses the different components of a container database including the root, seed PDB, and application containers. It also covers how to create pluggable databases from scratch, through cloning locally and remotely, relocating PDBs, and plugging in unplugged PDBs.
Oracle Database performance tuning using oratopSandesh Rao
Oratop is a text-based user interface tool for monitoring basic database operations in real-time. This presentation will go into depth on how to use the tool and some example scenarios. It can be used for both RAC and single-instance databases and in combination with top to get a more holistic view of system performance and identify any bottlenecks.
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTanel Poder
From Tanel Poder's Troubleshooting Complex Performance Issues series - an example of Oracle SEG$ internal segment contention due to some direct path insert activity.
Oracle Latch and Mutex Contention TroubleshootingTanel Poder
This is an intro to latch & mutex contention troubleshooting which I've delivered at Hotsos Symposium, UKOUG Conference etc... It's also the starting point of my Latch & Mutex contention sections in my Advanced Oracle Troubleshooting online seminar - but we go much deeper there :-)
This document discusses Oracle Multitenant 19c and pluggable databases. It begins with an introduction to the speaker and overview of pluggable databases. It then describes the traditional Oracle database architecture and the multitenant architecture in Oracle 19c. It discusses the different components of a container database including the root, seed PDB, and application containers. It also covers how to create pluggable databases from scratch, through cloning locally and remotely, relocating PDBs, and plugging in unplugged PDBs.
1) The document discusses Oracle database auditing features before and after version 12.1. It describes migrating the audit trail to the unified audit trail and using the SYS.UNIFIED_AUDIT_TRAIL table.
2) It provides steps to configure syslog auditing on Linux for Oracle database audit records. Procedures are created to output messages to syslog and call it from a fine-grained auditing policy handler.
3) An example fine-grained auditing policy is created to audit access to the SECDEMO.CUSTOMER table and call the syslog handler for non-application users.
This document provides an overview of Oracle performance tuning fundamentals. It discusses key concepts like wait events, statistics, CPU utilization, and the importance of understanding the operating system, database, and business needs. It also introduces tools for monitoring performance like AWR, ASH, and dynamic views. The goal is to establish a foundational understanding of Oracle performance concepts and monitoring techniques.
This document provides a summary of a presentation on Oracle Real Application Clusters (RAC) integration with Exadata, Oracle Data Guard, and In-Memory Database. It discusses how Oracle RAC performance has been optimized on Exadata platforms through features like fast node death detection, cache fusion optimizations, ASM optimizations, and integration with Exadata infrastructure. The presentation agenda indicates it will cover these RAC optimizations as well as integration with Oracle Data Guard and the In-Memory database option.
Oracle Transparent Data Encryption (TDE) 12cNabeel Yoosuf
This presentation provides an introduction to Oracle Transparent Data Encryption technology in 12c. It is provided as part of Oracle Advanced Security.
DOAG Oracle Unified Audit in Multitenant EnvironmentsStefan Oehrli
Oracle Audit is a well-known and proven database functionality. Or maybe not? What does auditing look like in combination with Oracle Multitenant Databases? Does database and Unified Audit work analogous to existing configurations? In the context of this presentation the auditing in the environment of container databases will be examined more closely. It will be shown what has to be considered and how an auditing concept has to be adapted to the new architecture. With focus on the current versions of the Oracle database, specific problems and workarounds in the area of Unified Audit will be shown. The presentation will be complemented by corresponding examples and live demos.
This document discusses Oracle database performance tuning. It covers identifying common Oracle performance issues such as CPU bottlenecks, memory issues, and inefficient SQL statements. It also outlines the Oracle performance tuning method and tools like the Automatic Database Diagnostic Monitor (ADDM) and performance page in Oracle Enterprise Manager. These tools help administrators monitor performance, identify bottlenecks, implement ADDM recommendations, and tune SQL statements reactively when issues arise.
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
Oracle Real Application Clusters 19c provides best practices and new features for upgrading to Oracle 19c. It discusses upgrading Oracle RAC to Linux 7 with minimal downtime using node draining and relocation techniques. Oracle 19c allows for upgrading the Grid Infrastructure management repository and patching faster using a new Oracle home. The presentation also covers new resource modeling for PDBs in Oracle 19c and improved Clusterware diagnostics.
This presentation talks about the different ways of getting SQL Monitoring reports, reading them correctly, common issues with SQL Monitoring reports - and plenty of Oracle 12c-specific improvements!
Understanding oracle rac internals part 1 - slidesMohamed Farouk
This document discusses Oracle RAC internals and architecture. It provides an overview of the Oracle RAC architecture including software deployment, processes, and resources. It also covers topics like VIPs, networks, listeners, and SCAN in Oracle RAC. Key aspects summarized include the typical Oracle RAC software stack, local and cluster resources, how VIPs and networks are configured, and the role and dependencies of listeners.
Understanding my database through SQL*Plus using the free tool eDB360Carlos Sierra
This session introduces eDB360 - a free tool that is executed from SQL*Plus and generates a set of reports providing a 360-degree view of an Oracle database; all without installing anything on the database.
If using Oracle Enterprise Manager (OEM) is off-limits for you or your team, and you can only access the database thorough a SQL*Plus connection with no direct access to the database server, then this tool is a perfect fit to provide you with a broad overview of the database configuration, performance, top SQL and much more. You only need a SQL*Plus account with read access to the data dictionary, and common Oracle licenses like the Diagnostics or the Tuning Pack.
Typical uses of this eDB360 tool include: databases health-checks, performance assessments, pre or post upgrade verifications, snapshots of the environment for later use, compare between two similar environments, documenting the state of a database when taking ownership of it, etc.
Once you learn how to use eDB360 and get to appreciate its value, you may want to execute this tool on all your databases on a regular basis, so you can keep track of things for long periods of time. This tool is becoming part of a large collection of goodies many DBAs use today.
During this session you will learn the basics about the free eDB360 tool, plus some cool tricks. The target audience is: DBAs, developers and consultants (some managers could also benefit).
How a Developer can Troubleshoot a SQL performing poorly on a Production DBCarlos Sierra
This session is about some free small scripts you can execute from SQL*Plus, which provide you with some basics about a SQL statement, like the Execution Plan from multiple child cursors, their SQL Monitor report if your site has the Tuning Pack, and some useful Active Session History (ASH) summaries for your SQL if your site has the Diagnostics Pack. And if you have neither the Tuning nor the Diagnostics Pack then you may want to learn about some alternatives to collect important performance metrics.
Oracle RAC 19c - the Basis for the Autonomous DatabaseMarkus Michalewicz
Oracle Real Application Clusters (RAC) has been Oracle's premier database availability and scalability solution for more than two decades as it provides near linear horizontal scalability without the need to change the application code. This session explains why Oracle RAC 19c is the basis for Oracle's Autonomous Database by introducing some of its latest features, some of which were specifically designed for ATP-D, as well as by taking a peek under the hood of the dedicated Autonomous Database Service (ATP-D).
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
What to Expect From Oracle database 19cMaria Colgan
The Oracle Database has recently switched to an annual release model. Oracle Database 19c is only the second release in this new model. So what can you expect from the latest version of the Oracle Database? This presentation explains how Oracle Database 19c is really 12.2.0.3 the terminal release of the 12.2 family and the new features you can find in this release.
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
This presentation discusses the support guidelines for using Oracle Real Application Clusters (RAC) in virtualized environments, for which general Oracle Database support guidelines are discussed shortly first.
First presented during DOAG 2021 User Conference, this presentation replaces its predecessor from 2016: https://www.slideshare.net/MarkusMichalewicz/how-to-use-oracle-rac-in-a-cloud-a-support-question
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
The document provides an overview of Oracle database performance tuning best practices for DBAs and developers. It discusses the connection between SQL tuning and instance tuning, and how tuning both the database and SQL statements is important. It also covers the connection between the database and operating system, how features like data integrity and zero downtime updates are important. The presentation agenda includes topics like identifying bottlenecks, benchmarking, optimization techniques, the cost-based optimizer, indexes, and more.
The document discusses new features in Oracle Database 12c Release 2 related to Oracle Multitenant architecture. Key points include:
- PDBs can now have local undo tablespaces for improved flashback and other features.
- PDBs can be plugged/unplugged into archive files, cloned with hot cloning, refreshed periodically, and relocated between CDBs.
- New features allow restricting access and limiting resources on a per-PDB basis through lockdown profiles and I/O/memory limits.
The document discusses new features in Oracle Database 12c Release 2 related to Oracle Multitenant architecture. Key points include:
- PDBs can now have local undo tablespaces for improved flashback and other features.
- PDBs can be plugged/unplugged into archive files, cloned with hot cloning, refreshed periodically, and relocated between CDBs.
- New resource management features allow limiting I/O rates, configuring memory usage, and assigning performance profiles for PDBs.
- PDB lockdown profiles provide a way to restrict features and operations on a per-PDB basis.
1) The document discusses Oracle database auditing features before and after version 12.1. It describes migrating the audit trail to the unified audit trail and using the SYS.UNIFIED_AUDIT_TRAIL table.
2) It provides steps to configure syslog auditing on Linux for Oracle database audit records. Procedures are created to output messages to syslog and call it from a fine-grained auditing policy handler.
3) An example fine-grained auditing policy is created to audit access to the SECDEMO.CUSTOMER table and call the syslog handler for non-application users.
This document provides an overview of Oracle performance tuning fundamentals. It discusses key concepts like wait events, statistics, CPU utilization, and the importance of understanding the operating system, database, and business needs. It also introduces tools for monitoring performance like AWR, ASH, and dynamic views. The goal is to establish a foundational understanding of Oracle performance concepts and monitoring techniques.
This document provides a summary of a presentation on Oracle Real Application Clusters (RAC) integration with Exadata, Oracle Data Guard, and In-Memory Database. It discusses how Oracle RAC performance has been optimized on Exadata platforms through features like fast node death detection, cache fusion optimizations, ASM optimizations, and integration with Exadata infrastructure. The presentation agenda indicates it will cover these RAC optimizations as well as integration with Oracle Data Guard and the In-Memory database option.
Oracle Transparent Data Encryption (TDE) 12cNabeel Yoosuf
This presentation provides an introduction to Oracle Transparent Data Encryption technology in 12c. It is provided as part of Oracle Advanced Security.
DOAG Oracle Unified Audit in Multitenant EnvironmentsStefan Oehrli
Oracle Audit is a well-known and proven database functionality. Or maybe not? What does auditing look like in combination with Oracle Multitenant Databases? Does database and Unified Audit work analogous to existing configurations? In the context of this presentation the auditing in the environment of container databases will be examined more closely. It will be shown what has to be considered and how an auditing concept has to be adapted to the new architecture. With focus on the current versions of the Oracle database, specific problems and workarounds in the area of Unified Audit will be shown. The presentation will be complemented by corresponding examples and live demos.
This document discusses Oracle database performance tuning. It covers identifying common Oracle performance issues such as CPU bottlenecks, memory issues, and inefficient SQL statements. It also outlines the Oracle performance tuning method and tools like the Automatic Database Diagnostic Monitor (ADDM) and performance page in Oracle Enterprise Manager. These tools help administrators monitor performance, identify bottlenecks, implement ADDM recommendations, and tune SQL statements reactively when issues arise.
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
Oracle Real Application Clusters 19c provides best practices and new features for upgrading to Oracle 19c. It discusses upgrading Oracle RAC to Linux 7 with minimal downtime using node draining and relocation techniques. Oracle 19c allows for upgrading the Grid Infrastructure management repository and patching faster using a new Oracle home. The presentation also covers new resource modeling for PDBs in Oracle 19c and improved Clusterware diagnostics.
This presentation talks about the different ways of getting SQL Monitoring reports, reading them correctly, common issues with SQL Monitoring reports - and plenty of Oracle 12c-specific improvements!
Understanding oracle rac internals part 1 - slidesMohamed Farouk
This document discusses Oracle RAC internals and architecture. It provides an overview of the Oracle RAC architecture including software deployment, processes, and resources. It also covers topics like VIPs, networks, listeners, and SCAN in Oracle RAC. Key aspects summarized include the typical Oracle RAC software stack, local and cluster resources, how VIPs and networks are configured, and the role and dependencies of listeners.
Understanding my database through SQL*Plus using the free tool eDB360Carlos Sierra
This session introduces eDB360 - a free tool that is executed from SQL*Plus and generates a set of reports providing a 360-degree view of an Oracle database; all without installing anything on the database.
If using Oracle Enterprise Manager (OEM) is off-limits for you or your team, and you can only access the database thorough a SQL*Plus connection with no direct access to the database server, then this tool is a perfect fit to provide you with a broad overview of the database configuration, performance, top SQL and much more. You only need a SQL*Plus account with read access to the data dictionary, and common Oracle licenses like the Diagnostics or the Tuning Pack.
Typical uses of this eDB360 tool include: databases health-checks, performance assessments, pre or post upgrade verifications, snapshots of the environment for later use, compare between two similar environments, documenting the state of a database when taking ownership of it, etc.
Once you learn how to use eDB360 and get to appreciate its value, you may want to execute this tool on all your databases on a regular basis, so you can keep track of things for long periods of time. This tool is becoming part of a large collection of goodies many DBAs use today.
During this session you will learn the basics about the free eDB360 tool, plus some cool tricks. The target audience is: DBAs, developers and consultants (some managers could also benefit).
How a Developer can Troubleshoot a SQL performing poorly on a Production DBCarlos Sierra
This session is about some free small scripts you can execute from SQL*Plus, which provide you with some basics about a SQL statement, like the Execution Plan from multiple child cursors, their SQL Monitor report if your site has the Tuning Pack, and some useful Active Session History (ASH) summaries for your SQL if your site has the Diagnostics Pack. And if you have neither the Tuning nor the Diagnostics Pack then you may want to learn about some alternatives to collect important performance metrics.
Oracle RAC 19c - the Basis for the Autonomous DatabaseMarkus Michalewicz
Oracle Real Application Clusters (RAC) has been Oracle's premier database availability and scalability solution for more than two decades as it provides near linear horizontal scalability without the need to change the application code. This session explains why Oracle RAC 19c is the basis for Oracle's Autonomous Database by introducing some of its latest features, some of which were specifically designed for ATP-D, as well as by taking a peek under the hood of the dedicated Autonomous Database Service (ATP-D).
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
What to Expect From Oracle database 19cMaria Colgan
The Oracle Database has recently switched to an annual release model. Oracle Database 19c is only the second release in this new model. So what can you expect from the latest version of the Oracle Database? This presentation explains how Oracle Database 19c is really 12.2.0.3 the terminal release of the 12.2 family and the new features you can find in this release.
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
This presentation discusses the support guidelines for using Oracle Real Application Clusters (RAC) in virtualized environments, for which general Oracle Database support guidelines are discussed shortly first.
First presented during DOAG 2021 User Conference, this presentation replaces its predecessor from 2016: https://www.slideshare.net/MarkusMichalewicz/how-to-use-oracle-rac-in-a-cloud-a-support-question
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
The document provides an overview of Oracle database performance tuning best practices for DBAs and developers. It discusses the connection between SQL tuning and instance tuning, and how tuning both the database and SQL statements is important. It also covers the connection between the database and operating system, how features like data integrity and zero downtime updates are important. The presentation agenda includes topics like identifying bottlenecks, benchmarking, optimization techniques, the cost-based optimizer, indexes, and more.
The document discusses new features in Oracle Database 12c Release 2 related to Oracle Multitenant architecture. Key points include:
- PDBs can now have local undo tablespaces for improved flashback and other features.
- PDBs can be plugged/unplugged into archive files, cloned with hot cloning, refreshed periodically, and relocated between CDBs.
- New features allow restricting access and limiting resources on a per-PDB basis through lockdown profiles and I/O/memory limits.
The document discusses new features in Oracle Database 12c Release 2 related to Oracle Multitenant architecture. Key points include:
- PDBs can now have local undo tablespaces for improved flashback and other features.
- PDBs can be plugged/unplugged into archive files, cloned with hot cloning, refreshed periodically, and relocated between CDBs.
- New resource management features allow limiting I/O rates, configuring memory usage, and assigning performance profiles for PDBs.
- PDB lockdown profiles provide a way to restrict features and operations on a per-PDB basis.
Database Consolidation using the Oracle Multitenant ArchitecturePini Dibask
The document discusses Oracle's Multitenant architecture, which allows multiple pluggable databases (PDBs) to consolidate within a single multitenant container database (CDB). It describes how Multitenant provides advantages like simplified upgrades, cloning, and migration of PDBs. The document also covers ensuring quality of service for PDBs using resource management, and how RAC supports high availability and scalability in a Multitenant environment. It concludes with a discussion of performance monitoring of workloads across PDBs.
OOW 17 - database consolidation using the oracle multitenant architecturePini Dibask
This document discusses database consolidation using Oracle Multitenant. It begins with an introduction to multitenant architecture and concepts. It then covers ensuring quality of service in multitenant environments using Oracle Resource Manager. The document also discusses using RAC with multitenant databases and performance monitoring for multitenant environments.
Oracle Database 12c introduces several new features including pluggable databases (PDB) that allow multiple isolated databases to be consolidated within a single container database (CDB). It also introduces new administrative privileges (SYSBACKUP, SYSDG, SYSKM) and features such as transparent data encryption, invisible columns, object tables, and enhancements to RMAN and SQL.
Winning Performance Challenges in Oracle MultitenantPini Dibask
Pini Dibask, a senior product manager at Quest Software, gave a presentation on winning performance challenges in Oracle Multitenant. The presentation covered Oracle Multitenant concepts, ensuring quality of service in multitenant environments through resource management, using RAC with multitenant, and performance monitoring tools. It discussed how Oracle Resource Manager can be used to allocate resources between pluggable databases at the container database level. The presentation also showed how tools from Quest such as Foglight can provide performance monitoring across multiple databases.
How to convert schema to pluggable database to increase isolation. - Presentation - Advantages - Demo
Benefits of pluggable database for upgrade process. - To new platform - To new hardware -
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantPini Dibask
This document discusses winning performance challenges in Oracle Multitenant environments. It begins with introducing the speaker, Pini Dibask, who is a Product Manager for Database Tools at Quest Software. It then provides an overview of Quest Software and their database management solutions. The remainder of the document outlines the agenda, which includes introductions to database consolidation, Oracle Multitenant concepts, ensuring quality of service in multitenant environments, RAC and multitenancy, and performance monitoring for multitenant environments.
OUGN winning performnace challenges in oracle MultitenantPini Dibask
This document provides an overview and introduction to Oracle 12c Multitenant architecture. It discusses key features such as pluggable databases (PDBs), container databases (CDBs), and the benefits of consolidation. The document also covers best practices for ensuring quality of service (QoS) between PDBs using resource management. It describes using the Oracle resource manager to allocate resources at the CDB and PDB level. Lastly, it summarizes performance monitoring in multitenant environments with Automatic Workload Repository (AWR) functionality in 12c Release 1 and 2.
This document outlines the agenda for a training on Oracle RDBMS 12c new features. The training will cover 6 chapters: introduction, multitenant architecture, upgrade features, Flex Cluster, Global Data Service, and an overview of RDBMS features. The agenda provides a high-level overview of topics to be discussed in each chapter, including multitenant architecture concepts, upgrade options and tools, Flex Cluster configurations, Global Data Service components, and new features such as temporary undo and multiple indexes on the same columns.
This document provides instructions for replicating data from an Oracle multitenant container database (CDB) to another CDB using Oracle GoldenGate. It outlines prerequisites, tasks to prepare the databases and environment, and steps for initial load and ongoing replication of data changes in near real-time. Key steps include creating GoldenGate users, adding supplemental logging, configuring Extract and Replicat processes, and monitoring replication status. The goal is to familiarize the reader with setting up a basic Oracle to Oracle replication setup using GoldenGate in a multitenant environment.
What is new on 12c for Backup and Recovery? PresentationFrancisco Alvarez
Francisco Munoz Alvarez is an Oracle ACE Director and president of several Oracle user groups. He has many Oracle certifications and experience beta testing various Oracle products.
The presentation covers new features in Oracle Database 12c for backup and recovery including the multitenant container database, enhancements to RMAN and Data Pump, and changes to privileges for backups. It also discusses pluggable databases, container and PDB backup/restore, multisection backups, active duplicate, and SQL usage in RMAN.
Winning performance challenges in oracle multitenantPini Dibask
This document provides an overview of winning performance challenges in Oracle Multitenant environments. It discusses Oracle Multitenant concepts, ensuring quality of service in multitenant databases, using RAC with multitenant, and performance monitoring for multitenant databases. The speaker is Pini Dibask, Product Manager for Database Monitoring at Quest Software.
12cR2 Single-Tenant: Multitenant Features for All EditionsFranck Pachot
Multitenant architecture is available even without Oracle's multitenant option. In this session take a look at the overhead and the 12.2 new features so that you can choose among single-tenant or non-container databases. These features include agility in data movement, easy flashback, and fast upgrade.
Oracle applications 11i hot backup cloning with rapid cloneDeepti Singh
This document provides instructions for cloning an Oracle Applications 11i production system (PRODSERVER) to a test system (TESTSERVER) using Rapid Clone hot backup methodology. It outlines 7 stages: 1) prerequisites, 2) prepare source, 3) backup database, 4) copy apps files, 5) copy files to target, 6) configure target database, 7) configure target app tier. Key steps include applying patches, running preclone scripts, putting source database in backup mode, copying files, recovering database on target, and configuring target system.
Oracle applications 11i hot backup cloning with rapid cloneDeepti Singh
This document provides instructions for cloning an Oracle Applications 11i environment from a production system called PRODSERVER to a test system called TESTSERVER using Rapid Clone hot backup methodology. It involves 7 stages: 1) preparing the source system, 2) putting the database in backup mode and copying files, 3) copying application files, 4) copying files to the target, 5) configuring the target database, 6) configuring the target application tier, and 7) finishing tasks like updating profiles. Key steps include applying required patches, running preclone scripts, copying database and application files, recovering the database using the backup control file, and configuring the cloned application and database tiers.
Collaborate 17 - Database consolidation using the oracle multitenant architec...Pini Dibask
The document provides an overview of database consolidation using Oracle Multitenant architecture. It discusses challenges with prior consolidation approaches and how Multitenant addresses these. Key concepts covered include pluggable databases, container databases, and resource management capabilities at the CDB and PDB level. The document also discusses how Multitenant supports high availability features like RAC and performance monitoring tools like AWR.
Reduce Resource Consumption & Clone in Seconds your Oracle Virtual Environmen...BertrandDrouvot
Bertrand Drouvot will present how to minimize resource consumption on a laptop by using Linux containers (LXC) and the btrfs file system. This allows quickly cloning an Oracle virtual environment, software, and databases in seconds using few disk space. Specific use cases that will be demonstrated include cloning a database software home to apply CPU updates, cloning a database to apply CPU updates, and cloning a PDB. The benefits of using LXC for cloning will also be compared to cloning without LXC.
Similar to New Features for Multitenant in Oracle Database 21c (20)
Before version 9i of the Oracle database, more and more Oracle components stored their tables in the SYSTEM tablespace. This lead to a high space consumption in this important tablespace. In Oracle database 10g introduced the SYSAUX tablespace and moved everything which is not part of the data dictionary from the SYSTEM tablespace to SYSAUX. Since then, more and more database components populate the SYSAUX tablespace and it keeps growing ... - and if the DBA is not careful, the tablespace SYSAUX tablespace can become really huge
The presentation shows how to analyze and reduce the occupancy of the SYSAUX tablespace and how to avoid it in advance by suitable settings.
The document provides an overview of OraChk, a tool for checking Oracle database configurations against best practices. It discusses what OraChk checks for, how to install and run it, and how to configure options like running checks automatically as a daemon. It also demonstrates how to add custom checks and view results through the Collection Manager GUI. Administrators can use OraChk to audit their Oracle configurations and compare environments.
The document discusses Trace File Analyzer (TFA) and the Oracle Support Tools Bundle. TFA collects trace and log files from Oracle databases and clusters to help diagnose issues. It was originally released in 2013 as a standalone tool, but is now part of the Autonomous Health Framework (AHF). AHF provides a centralized way to collect, analyze, and manage diagnostic data across an enterprise Oracle environment. The document provides an overview of TFA's capabilities, how to install and configure AHF/TFA, and demonstrates how to use TFA to collect diagnostic data from a single node cluster.
The document discusses two options for achieving high availability for Oracle Database Standard Edition 2 (SE2):
1) Standard Edition High Availability (SEHA) provides an out-of-the-box failover cluster configuration using Oracle Grid Infrastructure that supports automatic failover between two nodes.
2) Using refreshable pluggable databases (PDBs) allows cloning a PDB from a primary database to a secondary database for read-only reporting or to refresh the secondary PDB periodically to propagate changes.
The document provides information on how to reduce the size of the SYSAUX tablespace in an Oracle database. It discusses which database components occupy space in SYSAUX, including top offenders like SM/AWR and SM/OPTSTAT. It then describes various methods to cleanup the SYSAUX tablespace such as reorganizing tables and indexes, moving components to other tablespaces using provided procedures, and reducing retention periods for components like AWR and advisors to delete old data. Proper sizing of the SYSAUX tablespace is also discussed.
The document discusses factors to consider when deciding whether to migrate away from an Oracle database platform. It outlines some common reasons companies consider migrating, such as high costs of Oracle licenses and support. However, it also notes that migrating involves costs for migration, training, and operating on a new platform. The document advises evaluating database products and scenarios carefully before deciding to migrate or stay with the existing Oracle platform. It concludes that not every application needs Oracle and alternatives exist, but simplicity should be prioritized over unnecessary changes.
This document provides an overview and summary of Oracle Database privilege analysis. It introduces the concept of privilege analysis and the principle of least privilege. It describes the Oracle package DBMS_PRIVILEGE_CAPTURE that is used to define capture policies and run analyses. It outlines the workflow including defining policies, running applications to capture privileges, generating results, and evaluating the results. The document also discusses some considerations and examples of using privilege analysis to adopt a least privilege model for database users and applications.
Trivadis is an IT consulting firm with over 650 employees across 15 locations. The document provides an overview of Trivadis' mission, expertise, products, key figures, and introduces Markus Flechtner, a principal consultant specializing in Oracle database performance tuning. It then outlines an agenda for a performance issues checklist, covering how to specify problems, performance analysis methodology, and the tools Statspack and Tuning Pack.
This document provides a checklist for troubleshooting database connection issues. It begins with basic checks like ensuring the database and listener are running. It then covers checking the network infrastructure and Oracle Net configuration. This includes verifying the listener configuration, domain names, services registration, timeouts and tnsnames.ora. The document recommends using tools like tnsping and SQL*Plus to test connections. It also suggests testing connectivity using Oracle Instant Client to rule out application configuration issues.
The document provides information about Trivadis, an IT consulting company, and discusses database upgrade and migration. It begins with an overview of Trivadis' mission to reduce complexity for customers through technological expertise. The next sections cover Trivadis' key figures, the experience of consultant Markus Flechtner, and an agenda for discussing database upgrade and migration methods and steps. The checklist then reviews choosing the right upgrade/migration methods, considerations for using DataPump, preparing clients and databases, creating a project plan, testing, and post-upgrade checks.
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...Markus Flechtner
Datenbank-Migrationen und -Upgrades scheitern oft nicht an Fehlern in der Datenbank-Software oder in den jeweiligen Prozeduren. Oft sind es (vemeintlich) kleinere Dinge wie veraltete Clients oder fehlende Netzwerk-Anpassungen, die eine Migration zum Scheitern bringen. Der Vortrag bringt Beispiele und Tipps zur Vermeidung.
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxSitimaJohn
Ocean Lotus cyber threat actors represent a sophisticated, persistent, and politically motivated group that poses a significant risk to organizations and individuals in the Southeast Asian region. Their continuous evolution and adaptability underscore the need for robust cybersecurity measures and international cooperation to identify and mitigate the threats posed by such advanced persistent threat groups.
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfChart Kalyan
A Mix Chart displays historical data of numbers in a graphical or tabular form. The Kalyan Rajdhani Mix Chart specifically shows the results of a sequence of numbers over different periods.
Have you ever been confused by the myriad of choices offered by AWS for hosting a website or an API?
Lambda, Elastic Beanstalk, Lightsail, Amplify, S3 (and more!) can each host websites + APIs. But which one should we choose?
Which one is cheapest? Which one is fastest? Which one will scale to meet our needs?
Join me in this session as we dive into each AWS hosting service to determine which one is best for your scenario and explain why!
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfflufftailshop
When it comes to unit testing in the .NET ecosystem, developers have a wide range of options available. Among the most popular choices are NUnit, XUnit, and MSTest. These unit testing frameworks provide essential tools and features to help ensure the quality and reliability of code. However, understanding the differences between these frameworks is crucial for selecting the most suitable one for your projects.
Fueling AI with Great Data with Airbyte WebinarZilliz
This talk will focus on how to collect data from a variety of sources, leveraging this data for RAG and other GenAI use cases, and finally charting your course to productionalization.
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on automated letter generation for Bonterra Impact Management using Google Workspace or Microsoft 365.
Interested in deploying letter generation automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
This presentation provides valuable insights into effective cost-saving techniques on AWS. Learn how to optimize your AWS resources by rightsizing, increasing elasticity, picking the right storage class, and choosing the best pricing model. Additionally, discover essential governance mechanisms to ensure continuous cost efficiency. Whether you are new to AWS or an experienced user, this presentation provides clear and practical tips to help you reduce your cloud costs and get the most out of your budget.
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Tatiana Kojar
Skybuffer AI, built on the robust SAP Business Technology Platform (SAP BTP), is the latest and most advanced version of our AI development, reaffirming our commitment to delivering top-tier AI solutions. Skybuffer AI harnesses all the innovative capabilities of the SAP BTP in the AI domain, from Conversational AI to cutting-edge Generative AI and Retrieval-Augmented Generation (RAG). It also helps SAP customers safeguard their investments into SAP Conversational AI and ensure a seamless, one-click transition to SAP Business AI.
With Skybuffer AI, various AI models can be integrated into a single communication channel such as Microsoft Teams. This integration empowers business users with insights drawn from SAP backend systems, enterprise documents, and the expansive knowledge of Generative AI. And the best part of it is that it is all managed through our intuitive no-code Action Server interface, requiring no extensive coding knowledge and making the advanced AI accessible to more users.
5th LF Energy Power Grid Model Meet-up SlidesDanBrown980551
5th Power Grid Model Meet-up
It is with great pleasure that we extend to you an invitation to the 5th Power Grid Model Meet-up, scheduled for 6th June 2024. This event will adopt a hybrid format, allowing participants to join us either through an online Mircosoft Teams session or in person at TU/e located at Den Dolech 2, Eindhoven, Netherlands. The meet-up will be hosted by Eindhoven University of Technology (TU/e), a research university specializing in engineering science & technology.
Power Grid Model
The global energy transition is placing new and unprecedented demands on Distribution System Operators (DSOs). Alongside upgrades to grid capacity, processes such as digitization, capacity optimization, and congestion management are becoming vital for delivering reliable services.
Power Grid Model is an open source project from Linux Foundation Energy and provides a calculation engine that is increasingly essential for DSOs. It offers a standards-based foundation enabling real-time power systems analysis, simulations of electrical power grids, and sophisticated what-if analysis. In addition, it enables in-depth studies and analysis of the electrical power grid’s behavior and performance. This comprehensive model incorporates essential factors such as power generation capacity, electrical losses, voltage levels, power flows, and system stability.
Power Grid Model is currently being applied in a wide variety of use cases, including grid planning, expansion, reliability, and congestion studies. It can also help in analyzing the impact of renewable energy integration, assessing the effects of disturbances or faults, and developing strategies for grid control and optimization.
What to expect
For the upcoming meetup we are organizing, we have an exciting lineup of activities planned:
-Insightful presentations covering two practical applications of the Power Grid Model.
-An update on the latest advancements in Power Grid -Model technology during the first and second quarters of 2024.
-An interactive brainstorming session to discuss and propose new feature requests.
-An opportunity to connect with fellow Power Grid Model enthusiasts and users.
Digital Marketing Trends in 2024 | Guide for Staying AheadWask
https://www.wask.co/ebooks/digital-marketing-trends-in-2024
Feeling lost in the digital marketing whirlwind of 2024? Technology is changing, consumer habits are evolving, and staying ahead of the curve feels like a never-ending pursuit. This e-book is your compass. Dive into actionable insights to handle the complexities of modern marketing. From hyper-personalization to the power of user-generated content, learn how to build long-term relationships with your audience and unlock the secrets to success in the ever-shifting digital landscape.
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...alexjohnson7307
Predictive maintenance is a proactive approach that anticipates equipment failures before they happen. At the forefront of this innovative strategy is Artificial Intelligence (AI), which brings unprecedented precision and efficiency. AI in predictive maintenance is transforming industries by reducing downtime, minimizing costs, and enhancing productivity.
Trusted Execution Environment for Decentralized Process MiningLucaBarbaro3
Presentation of the paper "Trusted Execution Environment for Decentralized Process Mining" given during the CAiSE 2024 Conference in Cyprus on June 7, 2024.
Main news related to the CCS TSI 2023 (2023/1695)Jakub Marek
An English 🇬🇧 translation of a presentation to the speech I gave about the main changes brought by CCS TSI 2023 at the biggest Czech conference on Communications and signalling systems on Railways, which was held in Clarion Hotel Olomouc from 7th to 9th November 2023 (konferenceszt.cz). Attended by around 500 participants and 200 on-line followers.
The original Czech 🇨🇿 version of the presentation can be found here: https://www.slideshare.net/slideshow/hlavni-novinky-souvisejici-s-ccs-tsi-2023-2023-1695/269688092 .
The videorecording (in Czech) from the presentation is available here: https://youtu.be/WzjJWm4IyPk?si=SImb06tuXGb30BEH .
Taking AI to the Next Level in Manufacturing.pdfssuserfac0301
Read Taking AI to the Next Level in Manufacturing to gain insights on AI adoption in the manufacturing industry, such as:
1. How quickly AI is being implemented in manufacturing.
2. Which barriers stand in the way of AI adoption.
3. How data quality and governance form the backbone of AI.
4. Organizational processes and structures that may inhibit effective AI adoption.
6. Ideas and approaches to help build your organization's AI strategy.
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
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)
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
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)
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/
48. TOGETHER WE ARE
#1 PARTNER FOR BUSINESSES TO
HARNESS THE POWER OF DATA
FOR A SMARTER LIFE
Editor's Notes
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.