SlideShare a Scribd company logo
1 of 41
Download to read offline
REDUCE PLANNED DATABASE
DOWN TIME
WITH ORACLE TECHNOLOGY
Kirill Loifman
dadbm.com
2
WHO IS KIRILL
LOIFMAN
ā€¢ Using Oracle since 1996
ā€¢ Oracle DBA experience on Unix
AIX, OpenVMS, Tru64, HP-UX,
Linux
ā€¢ Senior DB Architect at adidas
ā€¢ OCP DBA 9i,10g,11g,12c,ā€¦
ā€¢ Blogger, speaker & a father
ā€¢ Contacts
Blog: dadbm.com
Twitter: @loifmkir
Google.com/+dadbm
Facebook, LinkedIn, Xing ā€¦
3
AGENDA
ā€¢ Downtime and system availability basics
ā€¢ Reduce planned downtime approach
ā€¢ Jump into technology
- System configurations
- Online maintenance technics
- Oracle 12c features
- Best practices
4
ELEMENTS OF SYSTEM AVAILABILITY
ā€¢ Downtime
- How much time you can tolerate your system being unavailable
- 99.9% availability ~ 8 hours and 45 minutes of down time per year
- Includes unexpected as well as planned down time *
ā€¢ High availability (HA)
- Eliminating single points of failure through redundancy
- Examples: redundant HW, SAN/ASM, RAC databases
ā€¢ Disaster recovery (DR)
- Recovering from failure
- Examples: Extended clusters, standby databases
ā€¢ Maximum Availability Architecture (MAA)
- Big Bang approach - HA & DR combination
Footer 5
AVAILABILITY TARGET VS COST
ā€¢ How many 9s do you need?
Sharp decrease in
downtime for each
additional 9 in the
availability target.
ā€¢ What will it cost?
The higher the percentage
of overall availability the
greater the cost.
Availability Target Downtime Per Year (Approx.)
95 % 19 days
98 % 7.3 days
99.7 % 26 hours
99.99 % 52 minutes
99.999 % 5 minutes
6
LEVELS OF SYSTEM AVAILABILITY
ā€¢ Level 0: Out-of-the-box (no specific high-availability elements)
ā€¢ Level 1: Storage-level protection (database instance with protected storage)
ā€¢ Level 2: CFC or/and Standby
(Cold Failover Cluster or/and Standby DB
at the same physical location)
ā€¢ Level 3: Recovery via redundant
components
(Hot Failover with multi-node RAC
at the same physical location)
ā€¢ Level 4: Active and passive recovery
(2 site concept, MAA, RAC, Data Guard,
Storage mirroring, Flashback DB,ā€¦)
Note: Level combinations possible; * percentages shown are for illustrative purposes only.
14/03/2012Footer 7
INFRA TO MINIMIZE PLANNED DOWNTIME
System Configurations: Level 1, Level 2, Level 3
14/03/2012Footer 8
INFRA TO MINIMIZE PLANNED DOWNTIME
Oracle Big Bang -> Exa, Multitenant, Maximum Availability Architecture
9
CAUSES OF DOWNTIME ā€“ PLANNED VS UNPLANNED
ā€¢ a) donā€˜t touch a running system
-> sometime you have to
-> for how long will it run?
ā€¢ b) categorize, plan, minimize
How to Minimize?
Footer 10
ā€¢ Categorize and prioritize Maintenance Activities
ā€¢ Plan properly utilizing efficient service and change management processes
ā€¢ Minimize duration of every maintenance occurrence with:
- proper system design (Infra) for every availability target
- best practices, new technics, automation
MINIMIZE PLANNED DOWNTIME
Maintenance Category Examples
Application Maintenance Application upgrade, code changes, etc.
Schema maintenance Objects/Segment maintenance, etc.
Database maintenance DB files/tablespace changes, backup, etc.
Instance maintenance Instance parameters, SGA changes
DB software maintenance DB/GRID patching/upgrade/migration
OS Maintenance OS Patching / Upgrade
Hardware maintenance Server HW extension; Server/HBA Firmware patching *
Where to startā€¦
11
MINIMIZE PLANNED DOWNTIME
Plan maintenance & Improve service, change management
Example:
Level1 = every month
Level2/3 = every quarter
Level 4 = 1-2 a year
Plan Global:
HW, OS, DB, App,ā€¦
14/03/2012Footer 12
MINIMIZE PLANNED DOWNTIME
Maintenance Category Level 1
(Single/1DC)
Level 2
(CFC/1DC)
Level 3
(RAC/1DC)
Level 4
(RAC/DG/2DC)
Application Maintenance
Schema maintenance
Database maintenance
Instance maintenance
DB software maintenance
OS Maintenance
Hardware maintenance
ā€¢ Improve what already exists
ā€¢ Introduce extra complexity only if required
ā€¢ Introduce extra budget only if required
ā€¢ Start out-of-the box, from green to red
Minimize duration of maintenance
13
MINIMIZE PLANNED DOWNTIME
ā€¢ Single box (Level 1->4)
- Online System Reconfiguration
- Online Linux Patching
- Online database patching and patching best practices
- Online database parameter changes
- Online database file move/compression (12c+)
- Online partition move/compression (12c+)
- Online Table Redefinition including 12c enhancements
- Online Statistics Gathering during Bulk-Loads (12+)
- Online Application Upgrades with Edition-Based Redefinition
- Online / Active Database Duplication (11g+) and 12c enhancements
ā€¦
ā€¢ High Availability Solutions (Level 2,3,4)
- Cold Failover Cluster ā€“ CFC (Oracle RAC 1 Node)
- Hot Failover Custer (Oracle RAC/VM)
- Disaster Recovery Configuration (RAC+Oracle Data Guard)
- Virtualization
New technics & Best practices
14/03/2012Footer 14
ā€¢ Several different indexes on the same set of columns
- Unique and non-unique
- Partitioned and not-partitioned
- Locally and Globally Partitioned
- Indexes with differ partitioning type (range or hash)
ā€¢ Only one of the indexes visible at a time.
ā€¢ If OPTIMIZER_USE_INVISIBLE_INDEXES=TRUE, optimizer uses the invisible
index.
create index i1 on T1 (emp_id) invisible;
create index i2 on T1 (emp_id) reverse;
APPLICATION MAINTENANCE
Indexes on the Same Set of Columns (new in 12c)
ā€¢ Invisible columns are user-specified hidden columns
SQL> CREATE TABLE mytab (col1 VARCHAR2(10), col2 NUMBER INVISIBLE);
ā€¢ Hidden columns do not affect existing applications that access the table.
ā€¢ A hidden column can be accessed only by referring to its name explicitly
SQL> INSERT INTO mytab (col1, col2) values ('A',1);
ā€¢ Can be made visible later
SQL> SET COLINVISIBLE ON
SQL> DESC mytab
SQL> ALTER TABLE mytab MODIFY (col2 VISIBLE);
Invisible table columns (new in 12c)
15
APPLICATION MAINTENANCE
16
ā€¢ Provides high availability during upgrades of
the database tier of applications
ā€¢ Used by the application vendor / developers
ā€¢ How it works
ā€¢ Applied to Editionable object types
ā€¢ Data changes made to new tables/columns
ā€¢ Code changes are installed in the privacy
of a new edition
ā€¢ Application cutover (Switch or Hot Rollover)
ā€¢ Useful for massive stored SQL,PL/SQL changes
APPLICATION MAINTENANCE
Edition-Based Redefinition (11gR2+)
17
ā€¢ Move / split / merge partitions and subpartitions ONLINE
ā€¢ Compress partitions and subpartitions ONLINE
ā€¢ DML allowed, not DDL / Global and Local indexes maintained
ā€¢ Used by ILM to move / compress table partitions on ADO policies
ā€¢ SQL examples:
ALTER TABLE orders MOVE PARTITION ord_p1
TABLESPACE lowtbs UPDATE INDEXES ONLINE;
ALTER TABLE orders MOVE PARTITION ord_p1
ROW STORE COMPRESS UPDATE INDEXES ONLINE;
DB SCHEMA MAINTENANCE
Online partition move/compression (new in 12c)
18
ā€¢ Following enhancements introduced in Oracle 12c:
- Support for redefinition of multiple partitions in a single redefinition session.
- New procedure REDEF_TABLE allows a one-step operation to redefine a table or partition
- Improved performance of sync_interim_table and resilence of finish_redef_table
- Support for tables with VPD policies
- New parameter dml_lock_timeout to handle pending DML in FINISH_REDEF_TABLE procedure
ā€¢ SQL> EXEC DBMS_REDEFINITION.START_REDEF_TABLE ( uname => 'hr',-
orig_table => 't1', int_table => 'int_t1',-
options_flag => DBMS_REDEFINITION.CONS_USE_PK,-
copy_vpd_opt => DBMS_REDEFINITION.CONS_VPD_AUTO)
EXEC DBMS_REDEFINITION.FINISH_REDEF_TABLE (uname => 'hr',-
orig_table => 't1', int_table => 'int_t1'-
dml_lock_timeout => 100)
DB SCHEMA MAINTENANCE
Online Table Redefinition 12c enhancements
19
ā€¢ Following operations do not block end user DML statements
DROP INDEX ONLINE (except cluster index, index on queue table)
DROP CONSTRAINT ONLINE (except CASCADEd and referencing constraints)
ALTER INDEX UNUSABLE ONLINE (except index on temporary table)
SET COLUMN UNUSED ONLINE (except columns with DEFERRABLE constraint)
ALTER INDEX [VISIBLE | INVISIBLE]
DB SCHEMA MAINTENANCE
Enhanced Online DDL Capabilities (new in 12c)
20
ā€¢ Database automatically gathers table statistics during the following types of
bulk loads:
ā€“ CREATE TABLE ... AS SELECT
- INSERT INTO ... SELECT into an empty table by using a direct path insert.
ā€¢ Statistics are available immediately after load.
ā€¢ No additional table scan is required to gather statistics.
ā€¢ All internal maintenance operations that use CTAS (MV refresh) benefit
ā€¢ Index statistics or histograms are not gathered -> manual gather_table_stats
DB SCHEMA MAINTENANCE
Online Statistics Gathering during Bulk-Loads (new in 12c)
21
ā€¢ Greater application separation for DB consolidation environments
-> added DBA complexity though
ā€¢ Faster database provisioning
- Pluggable PDB creation from PDB$SEED
- Clone PDB into the same or another CDB (still not officially ONLINE -> wait for 12cR2)
- Plug an unplugged PDB into the same or another CDB (even to higher version)
- Plug non-CDB in as PDB (DBMS_PDB, Full Transportable, TTS/TDB)
ā€¢ More patching / upgrade options
- Patch / Upgrade all PDBs in a CDB at once
- Plug PDB into the CDB container with higher version
- Note: More PDBs -> longer patching / upgrade time
DATABASE MAINTENANCE
Oracle 12c Multitenant Architecture
22
ā€¢ Move data file online to different location , disk or storage system
ā€¢ Progress in V$SESSION_LONGOPS (One row per file; blocks moved so far)
ā€¢ SQL Examples:
ALTER DATABASE MOVE datafile 5 TO '+DiskGroup3' REUSE;
ALTER DATABASE MOVE datafile '/disk1/myexample01.dbf'
TO '/disk2/myexample01.dbf' KEEP ;
DATABASE MAINTENANCE
Online database file move (new in12c)
Compatible Not compatible
Queries, DML and DDL operations
Block media recovery
Tablespace made READ ONLY or READ WRITE
Data file RESIZE (extension)
Online backup, Flashback Database*
Data file OFFLINE
Media recovery
Data file RESIZE (shrink) operation
FLASHBACK DATABASE operation
ā€¢ Default use of backup sets for active duplication (Pull method instead of Push)
ā€¢ Choice of compression, section size, and encryption
ā€¢ Option to end duplication with DB in mounted state (Move DB to ASM; Upgrading DB)
ā€¢ Duplication of pluggable databases including all or individual PDBs
ā€¢ Example
RMAN> DUPLICATE DATABASE TO cdb2 PLUGGABLE DATABASE pdb1, pdb3;
RMAN> DUPLICATE TARGET DATABASE TO orcl2 FROM ACTIVE DATABASE
[USING BACKUPSET]
[SECTION SIZE ā€¦]
[USING COMPRESSED BACKUPSET]
[NOOPEN] ā€¦; 23
DATABASE MAINTENANCE
Active Database Duplication 12c Enhancements
24
HARDWARE MAINTENANCE TECHNICS
ā€¢ Online grow and shrink of shared memory and database cache
- Reserve enough memory (sga_max_size /memory_max_size)
- Linux Huge Pages (pros & cons)
ā€¢ Online addition/extension or removal of disks (SAN,ASM/LVM)
ā€¢ Online addition or removal of clustered nodes (Oracle RAC/GRID)
ā€¢ Online addition or removal of RAM/CPUs
- Oracle SPARC M-Series & Oracle Solaris (Dynamic Reconfiguration & System Domains)
- Hitachi Compute Blade logical partitioning (LPAR) & RHL/Windows
ā€¢ Oracle 12c Database Smart Flash Cache Enhancements
Online System Reconfiguration
25
HARDWARE MAINTENANCE TECHNICS
ā€¢ Multiple flash drives in the flash cache (up to 16 devices in 12c)
ā€¢ Specify flash devices at instance startup:
db_flash_cache_file = /dev/raw/sda, /dev/raw/sdb
db_flash_cache_size = 32G, 64G
ā€¢ Dynamic enable/disable for flash cache devices:
db_flash_cache_size = 0, 64G
db_flash_cache_size = 32G, 64G
ā€¢ HW example: HP Blade BL460c + HP IO Accelerator Flash Card 1,2T
Oracle 12c Database Smart Flash Cache Enhancements
26
OS MAINTENANCE TECHNICS
ā€¢ Enabled by Oracle Ksplice technology (founded in 2008; at Oracle since 2011)
ā€¢ Types of patches
- Security updates and other critical fixes
- Kernel Diagnostic patches
- Userspace patching: glibc & OpenSSL (new from last OOW)
ā€¢ Online patching does not replace regular one (use it between OS version upgrades)
ā€¢ Prerequisites
- Oracle Enterprise Linux 5.x+ with OU or RH compatible Kernels
- Oracle Linux Premier Support
- Get ULN access and Ksplice access key
Online Oracle Linux (OEL) Patching
27
OS MAINTENANCE TECHNICS
Ksplice technologyKernel
updates
Target systems
Zero downtime
kernel updates
Uptrack Client
a) ONLINE
Ksplice
Channel
b) OFFLINE
Local YUM
repository
ULN
Channel
How it works
ā€¢ ONLINE: Individual Servers can register with Oracleā€™s Ksplice server directly
- Each system must be connected to Internet
- Each system will check for new updates ~every 4 hours
- Oracle provides an interactive Web portal to monitor usersā€™ systems
- Updates can be auto-installed if desired
ā€¢ OFFLINE: Ksplice repository
- All internal servers configured to use local Ksplice Repository
+ Better control for a large environment; less patch data downloaded from Internet
- Cron job updates local patch mirror once per day
- Patching triggered manually with yum
- Useable with: Spacewalk Server or EM12c (automatic patch deployment)
28
OS MAINTENANCE TECHNICS
Two Ways to Consume Ksplice
29
OS MAINTENANCE TECHNICS
ā€¢ Create a local YUM Mirror and register the Ksplice Channel(s)
- http://docs.oracle.com/cd/E37670_01/E37355/html/ol_offlncl_ksplice.html
- Subscribe each machine in yum.repos.d to your local YUM Ksplice channel
[ol6_x86_64_ksplice]
name=Ksplice for $releasever - $basearch
baseurl=http://local_yum_server/yum/OracleLinux/OL6/ksplice/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
gpgcheck=1
enabled=1
ā€¢ Install Ksplice ā€œUptrack-offlineā€ RPM onto target machines.
# yum install uptrack-offline
ā€¢ Perform kernel patching with your Local YUM Ksplice Repository
# yum install uptrack-updates-`uname ā€“r`
Ksplice Off-Line with Intranet Connection
30
DB SOFTWARE MAINTENANCE
Patching Best Practices (Single One-Off, CPU, PSU, Bundle Patch)
ā€¢ Patch at least every 6 months, before DB creation, before upgrade, ā€¦
ā€¢ Test and automate patching (functional, load, performance testing)
ā€¢ Avoid combining untested patch combinations
ā€¢ Review patch issues on MOS after 4 weeks of the patch release
ā€¢ Do prerequisite checks in advance (opatch or MOS Patch Conflict Checker)
ā€¢ 98% of patches can be installed in a highly available manner
- Online patch (11g+; few interim one-off patches ) online
- RAC rolling patching (9i+; some interim, all PSUs) almost online (<1min)
- Data Guard Standby First (11gR2+; some interim, all PSU and Bundle) almost online (<2min)
- Out of Place patching (all patches from 11.2.0.2+) < 3-5min
31
ā€¢ Apply several patches during the same downtime
ā€¢ Unzip patches in the same patch location
ā€¢ Patching examples
# opatch napply ā€“skip_subset ā€“skip_duplicate
# opatchauto apply [-nonrolling] [-silent] [-local]
ā€¢ 12.1) datapatch takes care of applying the post SQL (DB part)
# datapatch [-verbose] [-apply / -rollback <patch_id>] [-force]
ā€¢ 12.1.0.2) No need for catbundle.sql with PSU, BP installs
dba_registry_sqlpatch instead of dba_registry_history
datapatch -rollbackall
DB SOFTWARE MAINTENANCE
Optimizing Patch Application
32
ā€¢ Available only for small amount interim one-off patches and bug fixes
ā€¢ Applied and removed on a running instance
ā€¢ Additional memory consumption and process start time penalty
ā€¢ Rollback and replace them with ā€œregularā€ ones during next downtime
ā€¢ Oracle 12c -> no improvements found
ā€¢ Use OPatch utility (which uses oradebug to install/uninstall the patch)
opatch apply online
DB SOFTWARE MAINTENANCE
Online database patching
14/03/2012Footer 33
ā€¢ Possible in RAC, RAC One Node configurations
ā€¢ Similar in CFC configurations with local Oracle binaries
ā€¢ Note: JavaVM part of PSU (OJVM PSU) is not Rolling installable (from Nov 2014)
DB SOFTWARE MAINTENANCE
RAC Rolling Patching (some interim, all PSUs)
34
ā€¢ Available for all patches from 11.2.0.2+ / supported by SAP
ā€¢ Minimize downtime during patching of NON-RAC databases
ā€¢ In-Place vs Out-of-Place patching
-
- Apply required patch set to the cloned database home using Opatch
- Switch the database services to the cloned database home
- Complete the post installation tasks for the patch set applied
ā€¢
DB SOFTWARE MAINTENANCE
Out of place patching
11gR2 regular In-Place 12c Out-of-Place
Shutdown DB / Listener Clone existing ORACLE_HOME online
Binary part: opatch apply Patch cloned binaries: opatch apply
Logs check / fixes /conflict resolution patches Logs check / fixes / conflict resolution patches
Possible rollback of binaries Possible rollback of binaries (or not required)
DB Startup DB Restart in the new cloned ORACLE_HOME
DB part: SQL>@catbundle.sql psu apply DB part: ./datapatch -verbose
35
# ONLINE clone (as root) of $ORACLE_HOME_O (dbhome_1) to $ORACLE_HOME_C (dbhome_2)
mkdir $ORACLE_HOME_C
chown oracle:oinstall $ORACLE_HOME_C
cd $ORACLE_HOME_O
tar cvfp - . --exclude=*.log --exclude=*.trc | ( cd $ORACLE_HOME_C; tar xvf - )
# Clone the installation with OUI (Perl script can be used instead)
./runInstaller -clone -silent -noconfig -defaultHomeName ORACLE_BASE=$ORACLE_BASE
ORACLE_HOME=$ORACLE_HOME_C oracle_install_OSDBA=dba oracle_install_OSOPER=oper
# Run root.sh (as root) from the cloned ORACLE_HOME
/oracle/product/12.1.0/dbhome_2/root.sh
# Patch the cloned ORACLE_HOME with PSU 12.1.0.2.5
export ORACLE_HOME=$ORACLE_HOME_C
cd /oracle/stage/12.1.0.2.5-21359755
$ORACLE_HOME/OPatch/opatch apply
DB SOFTWARE MAINTENANCE
Out of place patching ā€“ PSU example
36
# Switch database services to the cloned ORACLE_HOME
# Update new ORACLE_HOME in the /etc/oratab and in any .profile files
# Restart DB and listener from the cloned ORACLE_HOME
export ORACLE_HOME=$ORACLE_HOME_O
lsnrctl stop
sql> shutdown immediate
export ORACLE_HOME=$ORACLE_HOME_C # or better . oraenv
lsnrctl start
sql> startup
# Complete the Patch post installation steps
./datapatch ā€“verbose
# Cleanup the old ORACLE_HOME
export ORACLE_HOME=$ORACLE_HOME_O
$ORACLE_HOME/oui/bin/detachHome.sh
rm -rf $ORACLE_HOME
DB SOFTWARE MAINTENANCE
Out of place patching ā€“ PSU example
37
DB SOFTWARE MAINTENANCE
Database upgrade / migration enhancements
Faster on 12c
Easier on 12c
New on 12c
38
ā€¢ DBUA interface improved
ā€¢ New SQL Automation FixUp Scripts
- Fixing issues before and after upgrade
- preupgrd.sql -> detailed recommendations
ā€¢ Parallel Upgrade
- Default feature
- Saving upgrade duration between 20% and 40%
- Upgrade drived by PERL driver catctl.pl, that executes the upgrade scripts
- Parallel threads: default = 4; maximum = 8
ā€¢ DB needs to be in STARTUP UPGRADE mode
$ORACLE_HOME/perl/bin/perl catctl.pl ā€“n 3 catupgrd.sql
DB SOFTWARE MAINTENANCE
Database upgrade
12.1.0.1 -> 12.1.0.2 upgrade:
- NON-CDB
- noarchivelog
- JVM & Text components only
- disable and truncate audit
- gather DB and dictionary stats
- 8 parallel threads
- HP BL 12 cores box
Duration ~ 15 min
14/03/2012Footer 39
DB SOFTWARE MAINTENANCE
DataPump Full Transportable (new in 12c)
(Optional)
a)
b)
Transport Options:
-11.2.0.3+ -> 12c CDB as PDB
-11.2.0.3+ -> 12c NON-CDB
-PDB into another PDB
-PDB into a 12c NON-CDB
c) for large DBs:
+ RMAN incremental
backups
(Doc IDs: 1576755.1
2005729.1)
40
SUMMARY
ā€¢ Classify company applications based on the availability requirements
ā€¢ Build DB Infra based on availability targets / levels (more complexity only if required)
ā€¢ Categorize and plan maintenance activities
ā€¢ Utilize efficient service and change management processes
ā€¢ Minimize duration of every maintenance using best practices and new technics
ā€¢ Focus on maintenance categories that cover most availability levels ( from green to red)
ā€¢ Do end-to-end application failover testing
ā€¢ Standardizie, automate and document maitenance activities
ā€¢ Itā€˜s a continiuose processā€¦
THANK YOU!
???
Kirill Loifman
26-Nov-2015
NOW or at DADBM.COM

More Related Content

What's hot

Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuardBorsaniya Vaibhav
Ā 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & SetupSatishbabu Gunukula
Ā 
Make Your Application ā€œOracle RAC Readyā€ & Test For It
Make Your Application ā€œOracle RAC Readyā€ & Test For ItMake Your Application ā€œOracle RAC Readyā€ & Test For It
Make Your Application ā€œOracle RAC Readyā€ & Test For ItMarkus Michalewicz
Ā 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
Ā 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL AdministrationEDB
Ā 
DOAG Oracle Database Vault
DOAG Oracle Database VaultDOAG Oracle Database Vault
DOAG Oracle Database VaultStefan Oehrli
Ā 
How to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionHow to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionMarkus Michalewicz
Ā 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACMarkus Michalewicz
Ā 
Oracle MAA (Maximum Availability Architecture) 18c - An Overview
Oracle MAA (Maximum Availability Architecture) 18c - An OverviewOracle MAA (Maximum Availability Architecture) 18c - An Overview
Oracle MAA (Maximum Availability Architecture) 18c - An OverviewMarkus Michalewicz
Ā 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
Ā 
Oracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsOracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsArun Sharma
Ā 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
Ā 
Oracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureOracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureSinanPetrusToma
Ā 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsGokhan Atil
Ā 
Whatā€™s New in Oracle Database 19c - Part 1
Whatā€™s New in Oracle Database 19c - Part 1Whatā€™s New in Oracle Database 19c - Part 1
Whatā€™s New in Oracle Database 19c - Part 1Satishbabu Gunukula
Ā 
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
Ā 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
Ā 

What's hot (20)

Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuard
Ā 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
Ā 
Make Your Application ā€œOracle RAC Readyā€ & Test For It
Make Your Application ā€œOracle RAC Readyā€ & Test For ItMake Your Application ā€œOracle RAC Readyā€ & Test For It
Make Your Application ā€œOracle RAC Readyā€ & Test For It
Ā 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
Ā 
Mastering PostgreSQL Administration
Mastering PostgreSQL AdministrationMastering PostgreSQL Administration
Mastering PostgreSQL Administration
Ā 
DOAG Oracle Database Vault
DOAG Oracle Database VaultDOAG Oracle Database Vault
DOAG Oracle Database Vault
Ā 
How to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionHow to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support Question
Ā 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
Ā 
Oracle MAA (Maximum Availability Architecture) 18c - An Overview
Oracle MAA (Maximum Availability Architecture) 18c - An OverviewOracle MAA (Maximum Availability Architecture) 18c - An Overview
Oracle MAA (Maximum Availability Architecture) 18c - An Overview
Ā 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Ā 
Oracle Golden Gate Interview Questions
Oracle Golden Gate Interview QuestionsOracle Golden Gate Interview Questions
Oracle Golden Gate Interview Questions
Ā 
[Oracle Cloud Days Tokyo 2015] Oracle Database 12cęœ€ę–°ęƒ…å ± ļ½žMaximum Availability ...
[Oracle Cloud Days Tokyo 2015] Oracle Database 12cęœ€ę–°ęƒ…å ± ļ½žMaximum Availability ...[Oracle Cloud Days Tokyo 2015] Oracle Database 12cęœ€ę–°ęƒ…å ± ļ½žMaximum Availability ...
[Oracle Cloud Days Tokyo 2015] Oracle Database 12cęœ€ę–°ęƒ…å ± ļ½žMaximum Availability ...
Ā 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Ā 
Autonomous Database Explained
Autonomous Database ExplainedAutonomous Database Explained
Autonomous Database Explained
Ā 
Oracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud InfrastructureOracle Database Migration to Oracle Cloud Infrastructure
Oracle Database Migration to Oracle Cloud Infrastructure
Ā 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAs
Ā 
Whatā€™s New in Oracle Database 19c - Part 1
Whatā€™s New in Oracle Database 19c - Part 1Whatā€™s New in Oracle Database 19c - Part 1
Whatā€™s New in Oracle Database 19c - Part 1
Ā 
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...
Ā 
Enterprise manager 13c
Enterprise manager 13cEnterprise manager 13c
Enterprise manager 13c
Ā 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
Ā 

Viewers also liked

Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
Ā 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutionsKirill Loifman
Ā 
Calculating Downtime Costs: How Much Should You Spend on DR?
Calculating Downtime Costs: How Much Should You Spend on DR?Calculating Downtime Costs: How Much Should You Spend on DR?
Calculating Downtime Costs: How Much Should You Spend on DR?Rackspace
Ā 
Avoiding Data Center Disasters
Avoiding Data Center DisastersAvoiding Data Center Disasters
Avoiding Data Center DisastersJesse Andrew
Ā 
MySQL HA Solutions
MySQL HA SolutionsMySQL HA Solutions
MySQL HA SolutionsMat Keep
Ā 
Taking Database Development to the 21st Century
Taking Database Development to the 21st CenturyTaking Database Development to the 21st Century
Taking Database Development to the 21st CenturyDBmaestro - Database DevOps
Ā 
Gartner Data Center Conference 2014 - When Downtime is Not an Option.
Gartner Data Center Conference 2014 - When Downtime is Not an Option.Gartner Data Center Conference 2014 - When Downtime is Not an Option.
Gartner Data Center Conference 2014 - When Downtime is Not an Option.Joe Felisky
Ā 
Slides: Maintain 24/7 Availability for Your Enterprise Applications Environment
Slides: Maintain 24/7 Availability for Your Enterprise Applications EnvironmentSlides: Maintain 24/7 Availability for Your Enterprise Applications Environment
Slides: Maintain 24/7 Availability for Your Enterprise Applications EnvironmentNetApp
Ā 

Viewers also liked (8)

Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
Ā 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutions
Ā 
Calculating Downtime Costs: How Much Should You Spend on DR?
Calculating Downtime Costs: How Much Should You Spend on DR?Calculating Downtime Costs: How Much Should You Spend on DR?
Calculating Downtime Costs: How Much Should You Spend on DR?
Ā 
Avoiding Data Center Disasters
Avoiding Data Center DisastersAvoiding Data Center Disasters
Avoiding Data Center Disasters
Ā 
MySQL HA Solutions
MySQL HA SolutionsMySQL HA Solutions
MySQL HA Solutions
Ā 
Taking Database Development to the 21st Century
Taking Database Development to the 21st CenturyTaking Database Development to the 21st Century
Taking Database Development to the 21st Century
Ā 
Gartner Data Center Conference 2014 - When Downtime is Not an Option.
Gartner Data Center Conference 2014 - When Downtime is Not an Option.Gartner Data Center Conference 2014 - When Downtime is Not an Option.
Gartner Data Center Conference 2014 - When Downtime is Not an Option.
Ā 
Slides: Maintain 24/7 Availability for Your Enterprise Applications Environment
Slides: Maintain 24/7 Availability for Your Enterprise Applications EnvironmentSlides: Maintain 24/7 Availability for Your Enterprise Applications Environment
Slides: Maintain 24/7 Availability for Your Enterprise Applications Environment
Ā 

Similar to Reduce planned database down time with Oracle technology

IMS05 IMS V14 8gb osam for haldb
IMS05   IMS V14 8gb osam for haldbIMS05   IMS V14 8gb osam for haldb
IMS05 IMS V14 8gb osam for haldbRobert Hain
Ā 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesAlfredo Abate
Ā 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
Ā 
Time Travelling With DB2 10 For zOS
Time Travelling With DB2 10 For zOSTime Travelling With DB2 10 For zOS
Time Travelling With DB2 10 For zOSLaura Hood
Ā 
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseNoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseParesh Patel
Ā 
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...Andrejs Karpovs
Ā 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)Marco Gralike
Ā 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
Ā 
Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Performance Tuning Corporation
Ā 
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...EDB
Ā 
DB2 9 for z/OS - Business Value
DB2 9 for z/OS  - Business  ValueDB2 9 for z/OS  - Business  Value
DB2 9 for z/OS - Business ValueSurekha Parekh
Ā 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cSatishbabu Gunukula
Ā 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)Gustavo Rene Antunez
Ā 
Oracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesOracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesSaiful
Ā 
Presentation day2 oracle12c
Presentation day2 oracle12cPresentation day2 oracle12c
Presentation day2 oracle12cPradeep Srivastava
Ā 
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerAndrejs Karpovs
Ā 
Dynamics of Leading Legacy Databases
Dynamics of Leading Legacy DatabasesDynamics of Leading Legacy Databases
Dynamics of Leading Legacy DatabasesCognizant
Ā 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAiougVizagChapter
Ā 

Similar to Reduce planned database down time with Oracle technology (20)

IMS05 IMS V14 8gb osam for haldb
IMS05   IMS V14 8gb osam for haldbIMS05   IMS V14 8gb osam for haldb
IMS05 IMS V14 8gb osam for haldb
Ā 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
Ā 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
Ā 
Time Travelling With DB2 10 For zOS
Time Travelling With DB2 10 For zOSTime Travelling With DB2 10 For zOS
Time Travelling With DB2 10 For zOS
Ā 
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseNoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
Ā 
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Reducing Your E-Business Suite Storage Footprint Using Oracle Advanced Compre...
Ā 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)
Ā 
An AMIS overview of database 12c
An AMIS overview of database 12cAn AMIS overview of database 12c
An AMIS overview of database 12c
Ā 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
Ā 
Redshift overview
Redshift overviewRedshift overview
Redshift overview
Ā 
Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?
Ā 
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Ā 
DB2 9 for z/OS - Business Value
DB2 9 for z/OS  - Business  ValueDB2 9 for z/OS  - Business  Value
DB2 9 for z/OS - Business Value
Ā 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12c
Ā 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
Ā 
Oracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesOracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slides
Ā 
Presentation day2 oracle12c
Presentation day2 oracle12cPresentation day2 oracle12c
Presentation day2 oracle12c
Ā 
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.5 on Database 12c: Install, Patch and Administer
Ā 
Dynamics of Leading Legacy Databases
Dynamics of Leading Legacy DatabasesDynamics of Leading Legacy Databases
Dynamics of Leading Legacy Databases
Ā 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_features
Ā 

Recently uploaded

Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot ModelDeepika Singh
Ā 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
Ā 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
Ā 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
Ā 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
Ā 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
Ā 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
Ā 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
Ā 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
Ā 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
Ā 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
Ā 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
Ā 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
Ā 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Christopher Logan Kennedy
Ā 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
Ā 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
Ā 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
Ā 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
Ā 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
Ā 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
Ā 

Recently uploaded (20)

Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls šŸ„° 8617370543 Service Offer VIP Hot Model
Ā 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Ā 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Ā 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Ā 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Ā 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
Ā 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
Ā 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Ā 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
Ā 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Ā 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
Ā 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Ā 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Ā 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Ā 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
Ā 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
Ā 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Ā 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Ā 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Ā 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Ā 

Reduce planned database down time with Oracle technology

  • 1. REDUCE PLANNED DATABASE DOWN TIME WITH ORACLE TECHNOLOGY Kirill Loifman dadbm.com
  • 2. 2 WHO IS KIRILL LOIFMAN ā€¢ Using Oracle since 1996 ā€¢ Oracle DBA experience on Unix AIX, OpenVMS, Tru64, HP-UX, Linux ā€¢ Senior DB Architect at adidas ā€¢ OCP DBA 9i,10g,11g,12c,ā€¦ ā€¢ Blogger, speaker & a father ā€¢ Contacts Blog: dadbm.com Twitter: @loifmkir Google.com/+dadbm Facebook, LinkedIn, Xing ā€¦
  • 3. 3 AGENDA ā€¢ Downtime and system availability basics ā€¢ Reduce planned downtime approach ā€¢ Jump into technology - System configurations - Online maintenance technics - Oracle 12c features - Best practices
  • 4. 4 ELEMENTS OF SYSTEM AVAILABILITY ā€¢ Downtime - How much time you can tolerate your system being unavailable - 99.9% availability ~ 8 hours and 45 minutes of down time per year - Includes unexpected as well as planned down time * ā€¢ High availability (HA) - Eliminating single points of failure through redundancy - Examples: redundant HW, SAN/ASM, RAC databases ā€¢ Disaster recovery (DR) - Recovering from failure - Examples: Extended clusters, standby databases ā€¢ Maximum Availability Architecture (MAA) - Big Bang approach - HA & DR combination
  • 5. Footer 5 AVAILABILITY TARGET VS COST ā€¢ How many 9s do you need? Sharp decrease in downtime for each additional 9 in the availability target. ā€¢ What will it cost? The higher the percentage of overall availability the greater the cost. Availability Target Downtime Per Year (Approx.) 95 % 19 days 98 % 7.3 days 99.7 % 26 hours 99.99 % 52 minutes 99.999 % 5 minutes
  • 6. 6 LEVELS OF SYSTEM AVAILABILITY ā€¢ Level 0: Out-of-the-box (no specific high-availability elements) ā€¢ Level 1: Storage-level protection (database instance with protected storage) ā€¢ Level 2: CFC or/and Standby (Cold Failover Cluster or/and Standby DB at the same physical location) ā€¢ Level 3: Recovery via redundant components (Hot Failover with multi-node RAC at the same physical location) ā€¢ Level 4: Active and passive recovery (2 site concept, MAA, RAC, Data Guard, Storage mirroring, Flashback DB,ā€¦) Note: Level combinations possible; * percentages shown are for illustrative purposes only.
  • 7. 14/03/2012Footer 7 INFRA TO MINIMIZE PLANNED DOWNTIME System Configurations: Level 1, Level 2, Level 3
  • 8. 14/03/2012Footer 8 INFRA TO MINIMIZE PLANNED DOWNTIME Oracle Big Bang -> Exa, Multitenant, Maximum Availability Architecture
  • 9. 9 CAUSES OF DOWNTIME ā€“ PLANNED VS UNPLANNED ā€¢ a) donā€˜t touch a running system -> sometime you have to -> for how long will it run? ā€¢ b) categorize, plan, minimize How to Minimize?
  • 10. Footer 10 ā€¢ Categorize and prioritize Maintenance Activities ā€¢ Plan properly utilizing efficient service and change management processes ā€¢ Minimize duration of every maintenance occurrence with: - proper system design (Infra) for every availability target - best practices, new technics, automation MINIMIZE PLANNED DOWNTIME Maintenance Category Examples Application Maintenance Application upgrade, code changes, etc. Schema maintenance Objects/Segment maintenance, etc. Database maintenance DB files/tablespace changes, backup, etc. Instance maintenance Instance parameters, SGA changes DB software maintenance DB/GRID patching/upgrade/migration OS Maintenance OS Patching / Upgrade Hardware maintenance Server HW extension; Server/HBA Firmware patching * Where to startā€¦
  • 11. 11 MINIMIZE PLANNED DOWNTIME Plan maintenance & Improve service, change management Example: Level1 = every month Level2/3 = every quarter Level 4 = 1-2 a year Plan Global: HW, OS, DB, App,ā€¦
  • 12. 14/03/2012Footer 12 MINIMIZE PLANNED DOWNTIME Maintenance Category Level 1 (Single/1DC) Level 2 (CFC/1DC) Level 3 (RAC/1DC) Level 4 (RAC/DG/2DC) Application Maintenance Schema maintenance Database maintenance Instance maintenance DB software maintenance OS Maintenance Hardware maintenance ā€¢ Improve what already exists ā€¢ Introduce extra complexity only if required ā€¢ Introduce extra budget only if required ā€¢ Start out-of-the box, from green to red Minimize duration of maintenance
  • 13. 13 MINIMIZE PLANNED DOWNTIME ā€¢ Single box (Level 1->4) - Online System Reconfiguration - Online Linux Patching - Online database patching and patching best practices - Online database parameter changes - Online database file move/compression (12c+) - Online partition move/compression (12c+) - Online Table Redefinition including 12c enhancements - Online Statistics Gathering during Bulk-Loads (12+) - Online Application Upgrades with Edition-Based Redefinition - Online / Active Database Duplication (11g+) and 12c enhancements ā€¦ ā€¢ High Availability Solutions (Level 2,3,4) - Cold Failover Cluster ā€“ CFC (Oracle RAC 1 Node) - Hot Failover Custer (Oracle RAC/VM) - Disaster Recovery Configuration (RAC+Oracle Data Guard) - Virtualization New technics & Best practices
  • 14. 14/03/2012Footer 14 ā€¢ Several different indexes on the same set of columns - Unique and non-unique - Partitioned and not-partitioned - Locally and Globally Partitioned - Indexes with differ partitioning type (range or hash) ā€¢ Only one of the indexes visible at a time. ā€¢ If OPTIMIZER_USE_INVISIBLE_INDEXES=TRUE, optimizer uses the invisible index. create index i1 on T1 (emp_id) invisible; create index i2 on T1 (emp_id) reverse; APPLICATION MAINTENANCE Indexes on the Same Set of Columns (new in 12c)
  • 15. ā€¢ Invisible columns are user-specified hidden columns SQL> CREATE TABLE mytab (col1 VARCHAR2(10), col2 NUMBER INVISIBLE); ā€¢ Hidden columns do not affect existing applications that access the table. ā€¢ A hidden column can be accessed only by referring to its name explicitly SQL> INSERT INTO mytab (col1, col2) values ('A',1); ā€¢ Can be made visible later SQL> SET COLINVISIBLE ON SQL> DESC mytab SQL> ALTER TABLE mytab MODIFY (col2 VISIBLE); Invisible table columns (new in 12c) 15 APPLICATION MAINTENANCE
  • 16. 16 ā€¢ Provides high availability during upgrades of the database tier of applications ā€¢ Used by the application vendor / developers ā€¢ How it works ā€¢ Applied to Editionable object types ā€¢ Data changes made to new tables/columns ā€¢ Code changes are installed in the privacy of a new edition ā€¢ Application cutover (Switch or Hot Rollover) ā€¢ Useful for massive stored SQL,PL/SQL changes APPLICATION MAINTENANCE Edition-Based Redefinition (11gR2+)
  • 17. 17 ā€¢ Move / split / merge partitions and subpartitions ONLINE ā€¢ Compress partitions and subpartitions ONLINE ā€¢ DML allowed, not DDL / Global and Local indexes maintained ā€¢ Used by ILM to move / compress table partitions on ADO policies ā€¢ SQL examples: ALTER TABLE orders MOVE PARTITION ord_p1 TABLESPACE lowtbs UPDATE INDEXES ONLINE; ALTER TABLE orders MOVE PARTITION ord_p1 ROW STORE COMPRESS UPDATE INDEXES ONLINE; DB SCHEMA MAINTENANCE Online partition move/compression (new in 12c)
  • 18. 18 ā€¢ Following enhancements introduced in Oracle 12c: - Support for redefinition of multiple partitions in a single redefinition session. - New procedure REDEF_TABLE allows a one-step operation to redefine a table or partition - Improved performance of sync_interim_table and resilence of finish_redef_table - Support for tables with VPD policies - New parameter dml_lock_timeout to handle pending DML in FINISH_REDEF_TABLE procedure ā€¢ SQL> EXEC DBMS_REDEFINITION.START_REDEF_TABLE ( uname => 'hr',- orig_table => 't1', int_table => 'int_t1',- options_flag => DBMS_REDEFINITION.CONS_USE_PK,- copy_vpd_opt => DBMS_REDEFINITION.CONS_VPD_AUTO) EXEC DBMS_REDEFINITION.FINISH_REDEF_TABLE (uname => 'hr',- orig_table => 't1', int_table => 'int_t1'- dml_lock_timeout => 100) DB SCHEMA MAINTENANCE Online Table Redefinition 12c enhancements
  • 19. 19 ā€¢ Following operations do not block end user DML statements DROP INDEX ONLINE (except cluster index, index on queue table) DROP CONSTRAINT ONLINE (except CASCADEd and referencing constraints) ALTER INDEX UNUSABLE ONLINE (except index on temporary table) SET COLUMN UNUSED ONLINE (except columns with DEFERRABLE constraint) ALTER INDEX [VISIBLE | INVISIBLE] DB SCHEMA MAINTENANCE Enhanced Online DDL Capabilities (new in 12c)
  • 20. 20 ā€¢ Database automatically gathers table statistics during the following types of bulk loads: ā€“ CREATE TABLE ... AS SELECT - INSERT INTO ... SELECT into an empty table by using a direct path insert. ā€¢ Statistics are available immediately after load. ā€¢ No additional table scan is required to gather statistics. ā€¢ All internal maintenance operations that use CTAS (MV refresh) benefit ā€¢ Index statistics or histograms are not gathered -> manual gather_table_stats DB SCHEMA MAINTENANCE Online Statistics Gathering during Bulk-Loads (new in 12c)
  • 21. 21 ā€¢ Greater application separation for DB consolidation environments -> added DBA complexity though ā€¢ Faster database provisioning - Pluggable PDB creation from PDB$SEED - Clone PDB into the same or another CDB (still not officially ONLINE -> wait for 12cR2) - Plug an unplugged PDB into the same or another CDB (even to higher version) - Plug non-CDB in as PDB (DBMS_PDB, Full Transportable, TTS/TDB) ā€¢ More patching / upgrade options - Patch / Upgrade all PDBs in a CDB at once - Plug PDB into the CDB container with higher version - Note: More PDBs -> longer patching / upgrade time DATABASE MAINTENANCE Oracle 12c Multitenant Architecture
  • 22. 22 ā€¢ Move data file online to different location , disk or storage system ā€¢ Progress in V$SESSION_LONGOPS (One row per file; blocks moved so far) ā€¢ SQL Examples: ALTER DATABASE MOVE datafile 5 TO '+DiskGroup3' REUSE; ALTER DATABASE MOVE datafile '/disk1/myexample01.dbf' TO '/disk2/myexample01.dbf' KEEP ; DATABASE MAINTENANCE Online database file move (new in12c) Compatible Not compatible Queries, DML and DDL operations Block media recovery Tablespace made READ ONLY or READ WRITE Data file RESIZE (extension) Online backup, Flashback Database* Data file OFFLINE Media recovery Data file RESIZE (shrink) operation FLASHBACK DATABASE operation
  • 23. ā€¢ Default use of backup sets for active duplication (Pull method instead of Push) ā€¢ Choice of compression, section size, and encryption ā€¢ Option to end duplication with DB in mounted state (Move DB to ASM; Upgrading DB) ā€¢ Duplication of pluggable databases including all or individual PDBs ā€¢ Example RMAN> DUPLICATE DATABASE TO cdb2 PLUGGABLE DATABASE pdb1, pdb3; RMAN> DUPLICATE TARGET DATABASE TO orcl2 FROM ACTIVE DATABASE [USING BACKUPSET] [SECTION SIZE ā€¦] [USING COMPRESSED BACKUPSET] [NOOPEN] ā€¦; 23 DATABASE MAINTENANCE Active Database Duplication 12c Enhancements
  • 24. 24 HARDWARE MAINTENANCE TECHNICS ā€¢ Online grow and shrink of shared memory and database cache - Reserve enough memory (sga_max_size /memory_max_size) - Linux Huge Pages (pros & cons) ā€¢ Online addition/extension or removal of disks (SAN,ASM/LVM) ā€¢ Online addition or removal of clustered nodes (Oracle RAC/GRID) ā€¢ Online addition or removal of RAM/CPUs - Oracle SPARC M-Series & Oracle Solaris (Dynamic Reconfiguration & System Domains) - Hitachi Compute Blade logical partitioning (LPAR) & RHL/Windows ā€¢ Oracle 12c Database Smart Flash Cache Enhancements Online System Reconfiguration
  • 25. 25 HARDWARE MAINTENANCE TECHNICS ā€¢ Multiple flash drives in the flash cache (up to 16 devices in 12c) ā€¢ Specify flash devices at instance startup: db_flash_cache_file = /dev/raw/sda, /dev/raw/sdb db_flash_cache_size = 32G, 64G ā€¢ Dynamic enable/disable for flash cache devices: db_flash_cache_size = 0, 64G db_flash_cache_size = 32G, 64G ā€¢ HW example: HP Blade BL460c + HP IO Accelerator Flash Card 1,2T Oracle 12c Database Smart Flash Cache Enhancements
  • 26. 26 OS MAINTENANCE TECHNICS ā€¢ Enabled by Oracle Ksplice technology (founded in 2008; at Oracle since 2011) ā€¢ Types of patches - Security updates and other critical fixes - Kernel Diagnostic patches - Userspace patching: glibc & OpenSSL (new from last OOW) ā€¢ Online patching does not replace regular one (use it between OS version upgrades) ā€¢ Prerequisites - Oracle Enterprise Linux 5.x+ with OU or RH compatible Kernels - Oracle Linux Premier Support - Get ULN access and Ksplice access key Online Oracle Linux (OEL) Patching
  • 27. 27 OS MAINTENANCE TECHNICS Ksplice technologyKernel updates Target systems Zero downtime kernel updates Uptrack Client a) ONLINE Ksplice Channel b) OFFLINE Local YUM repository ULN Channel How it works
  • 28. ā€¢ ONLINE: Individual Servers can register with Oracleā€™s Ksplice server directly - Each system must be connected to Internet - Each system will check for new updates ~every 4 hours - Oracle provides an interactive Web portal to monitor usersā€™ systems - Updates can be auto-installed if desired ā€¢ OFFLINE: Ksplice repository - All internal servers configured to use local Ksplice Repository + Better control for a large environment; less patch data downloaded from Internet - Cron job updates local patch mirror once per day - Patching triggered manually with yum - Useable with: Spacewalk Server or EM12c (automatic patch deployment) 28 OS MAINTENANCE TECHNICS Two Ways to Consume Ksplice
  • 29. 29 OS MAINTENANCE TECHNICS ā€¢ Create a local YUM Mirror and register the Ksplice Channel(s) - http://docs.oracle.com/cd/E37670_01/E37355/html/ol_offlncl_ksplice.html - Subscribe each machine in yum.repos.d to your local YUM Ksplice channel [ol6_x86_64_ksplice] name=Ksplice for $releasever - $basearch baseurl=http://local_yum_server/yum/OracleLinux/OL6/ksplice/$basearch/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY gpgcheck=1 enabled=1 ā€¢ Install Ksplice ā€œUptrack-offlineā€ RPM onto target machines. # yum install uptrack-offline ā€¢ Perform kernel patching with your Local YUM Ksplice Repository # yum install uptrack-updates-`uname ā€“r` Ksplice Off-Line with Intranet Connection
  • 30. 30 DB SOFTWARE MAINTENANCE Patching Best Practices (Single One-Off, CPU, PSU, Bundle Patch) ā€¢ Patch at least every 6 months, before DB creation, before upgrade, ā€¦ ā€¢ Test and automate patching (functional, load, performance testing) ā€¢ Avoid combining untested patch combinations ā€¢ Review patch issues on MOS after 4 weeks of the patch release ā€¢ Do prerequisite checks in advance (opatch or MOS Patch Conflict Checker) ā€¢ 98% of patches can be installed in a highly available manner - Online patch (11g+; few interim one-off patches ) online - RAC rolling patching (9i+; some interim, all PSUs) almost online (<1min) - Data Guard Standby First (11gR2+; some interim, all PSU and Bundle) almost online (<2min) - Out of Place patching (all patches from 11.2.0.2+) < 3-5min
  • 31. 31 ā€¢ Apply several patches during the same downtime ā€¢ Unzip patches in the same patch location ā€¢ Patching examples # opatch napply ā€“skip_subset ā€“skip_duplicate # opatchauto apply [-nonrolling] [-silent] [-local] ā€¢ 12.1) datapatch takes care of applying the post SQL (DB part) # datapatch [-verbose] [-apply / -rollback <patch_id>] [-force] ā€¢ 12.1.0.2) No need for catbundle.sql with PSU, BP installs dba_registry_sqlpatch instead of dba_registry_history datapatch -rollbackall DB SOFTWARE MAINTENANCE Optimizing Patch Application
  • 32. 32 ā€¢ Available only for small amount interim one-off patches and bug fixes ā€¢ Applied and removed on a running instance ā€¢ Additional memory consumption and process start time penalty ā€¢ Rollback and replace them with ā€œregularā€ ones during next downtime ā€¢ Oracle 12c -> no improvements found ā€¢ Use OPatch utility (which uses oradebug to install/uninstall the patch) opatch apply online DB SOFTWARE MAINTENANCE Online database patching
  • 33. 14/03/2012Footer 33 ā€¢ Possible in RAC, RAC One Node configurations ā€¢ Similar in CFC configurations with local Oracle binaries ā€¢ Note: JavaVM part of PSU (OJVM PSU) is not Rolling installable (from Nov 2014) DB SOFTWARE MAINTENANCE RAC Rolling Patching (some interim, all PSUs)
  • 34. 34 ā€¢ Available for all patches from 11.2.0.2+ / supported by SAP ā€¢ Minimize downtime during patching of NON-RAC databases ā€¢ In-Place vs Out-of-Place patching - - Apply required patch set to the cloned database home using Opatch - Switch the database services to the cloned database home - Complete the post installation tasks for the patch set applied ā€¢ DB SOFTWARE MAINTENANCE Out of place patching 11gR2 regular In-Place 12c Out-of-Place Shutdown DB / Listener Clone existing ORACLE_HOME online Binary part: opatch apply Patch cloned binaries: opatch apply Logs check / fixes /conflict resolution patches Logs check / fixes / conflict resolution patches Possible rollback of binaries Possible rollback of binaries (or not required) DB Startup DB Restart in the new cloned ORACLE_HOME DB part: SQL>@catbundle.sql psu apply DB part: ./datapatch -verbose
  • 35. 35 # ONLINE clone (as root) of $ORACLE_HOME_O (dbhome_1) to $ORACLE_HOME_C (dbhome_2) mkdir $ORACLE_HOME_C chown oracle:oinstall $ORACLE_HOME_C cd $ORACLE_HOME_O tar cvfp - . --exclude=*.log --exclude=*.trc | ( cd $ORACLE_HOME_C; tar xvf - ) # Clone the installation with OUI (Perl script can be used instead) ./runInstaller -clone -silent -noconfig -defaultHomeName ORACLE_BASE=$ORACLE_BASE ORACLE_HOME=$ORACLE_HOME_C oracle_install_OSDBA=dba oracle_install_OSOPER=oper # Run root.sh (as root) from the cloned ORACLE_HOME /oracle/product/12.1.0/dbhome_2/root.sh # Patch the cloned ORACLE_HOME with PSU 12.1.0.2.5 export ORACLE_HOME=$ORACLE_HOME_C cd /oracle/stage/12.1.0.2.5-21359755 $ORACLE_HOME/OPatch/opatch apply DB SOFTWARE MAINTENANCE Out of place patching ā€“ PSU example
  • 36. 36 # Switch database services to the cloned ORACLE_HOME # Update new ORACLE_HOME in the /etc/oratab and in any .profile files # Restart DB and listener from the cloned ORACLE_HOME export ORACLE_HOME=$ORACLE_HOME_O lsnrctl stop sql> shutdown immediate export ORACLE_HOME=$ORACLE_HOME_C # or better . oraenv lsnrctl start sql> startup # Complete the Patch post installation steps ./datapatch ā€“verbose # Cleanup the old ORACLE_HOME export ORACLE_HOME=$ORACLE_HOME_O $ORACLE_HOME/oui/bin/detachHome.sh rm -rf $ORACLE_HOME DB SOFTWARE MAINTENANCE Out of place patching ā€“ PSU example
  • 37. 37 DB SOFTWARE MAINTENANCE Database upgrade / migration enhancements Faster on 12c Easier on 12c New on 12c
  • 38. 38 ā€¢ DBUA interface improved ā€¢ New SQL Automation FixUp Scripts - Fixing issues before and after upgrade - preupgrd.sql -> detailed recommendations ā€¢ Parallel Upgrade - Default feature - Saving upgrade duration between 20% and 40% - Upgrade drived by PERL driver catctl.pl, that executes the upgrade scripts - Parallel threads: default = 4; maximum = 8 ā€¢ DB needs to be in STARTUP UPGRADE mode $ORACLE_HOME/perl/bin/perl catctl.pl ā€“n 3 catupgrd.sql DB SOFTWARE MAINTENANCE Database upgrade 12.1.0.1 -> 12.1.0.2 upgrade: - NON-CDB - noarchivelog - JVM & Text components only - disable and truncate audit - gather DB and dictionary stats - 8 parallel threads - HP BL 12 cores box Duration ~ 15 min
  • 39. 14/03/2012Footer 39 DB SOFTWARE MAINTENANCE DataPump Full Transportable (new in 12c) (Optional) a) b) Transport Options: -11.2.0.3+ -> 12c CDB as PDB -11.2.0.3+ -> 12c NON-CDB -PDB into another PDB -PDB into a 12c NON-CDB c) for large DBs: + RMAN incremental backups (Doc IDs: 1576755.1 2005729.1)
  • 40. 40 SUMMARY ā€¢ Classify company applications based on the availability requirements ā€¢ Build DB Infra based on availability targets / levels (more complexity only if required) ā€¢ Categorize and plan maintenance activities ā€¢ Utilize efficient service and change management processes ā€¢ Minimize duration of every maintenance using best practices and new technics ā€¢ Focus on maintenance categories that cover most availability levels ( from green to red) ā€¢ Do end-to-end application failover testing ā€¢ Standardizie, automate and document maitenance activities ā€¢ Itā€˜s a continiuose processā€¦