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

Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
Ā 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Anil Nair
Ā 
The Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialThe Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialJean-FranƧois GagnƩ
Ā 
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
Ā 
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2..."Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...Markus Michalewicz
Ā 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Mydbops
Ā 
Tanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder
Ā 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
Ā 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
Ā 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Olivier DASINI
Ā 
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
Ā 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsJohn Kanagaraj
Ā 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMarkus Michalewicz
Ā 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
Ā 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cZohar Elkayam
Ā 
Monitoring Oracle Database Instances with Zabbix
Monitoring Oracle Database Instances with ZabbixMonitoring Oracle Database Instances with Zabbix
Monitoring Oracle Database Instances with ZabbixGerger
Ā 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMarkus Flechtner
Ā 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssAnil Nair
Ā 
PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs PGConf APAC
Ā 

What's hot (20)

Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Ā 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19
Ā 
The Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication TutorialThe Full MySQL and MariaDB Parallel Replication Tutorial
The Full MySQL and MariaDB Parallel Replication Tutorial
Ā 
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...
Ā 
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2..."Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
Ā 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0
Ā 
Tanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools short
Ā 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
Ā 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion Edition
Ā 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
Ā 
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
Ā 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Ā 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
Ā 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
Ā 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
Ā 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12c
Ā 
Monitoring Oracle Database Instances with Zabbix
Monitoring Oracle Database Instances with ZabbixMonitoring Oracle Database Instances with Zabbix
Monitoring Oracle Database Instances with Zabbix
Ā 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
Ā 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ss
Ā 
PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs PostgreSQL WAL for DBAs
PostgreSQL WAL for DBAs
Ā 

Viewers also liked

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 (6)

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

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
Ā 
FULL ENJOY šŸ” 8264348440 šŸ” Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY šŸ” 8264348440 šŸ” Call Girls in Diplomatic Enclave | DelhiFULL ENJOY šŸ” 8264348440 šŸ” Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY šŸ” 8264348440 šŸ” Call Girls in Diplomatic Enclave | Delhisoniya singh
Ā 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
Ā 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
Ā 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
Ā 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
Ā 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
Ā 
#StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024BookNet Canada
Ā 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
Ā 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
Ā 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
Ā 
Transcript: #StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024BookNet Canada
Ā 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
Ā 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
Ā 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
Ā 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
Ā 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
Ā 
Swan(sea) Song ā€“ personal research during my six years at Swansea ... and bey...
Swan(sea) Song ā€“ personal research during my six years at Swansea ... and bey...Swan(sea) Song ā€“ personal research during my six years at Swansea ... and bey...
Swan(sea) Song ā€“ personal research during my six years at Swansea ... and bey...Alan Dix
Ā 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
Ā 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Ā 
FULL ENJOY šŸ” 8264348440 šŸ” Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY šŸ” 8264348440 šŸ” Call Girls in Diplomatic Enclave | DelhiFULL ENJOY šŸ” 8264348440 šŸ” Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY šŸ” 8264348440 šŸ” Call Girls in Diplomatic Enclave | Delhi
Ā 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Ā 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Ā 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Ā 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Ā 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Ā 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Ā 
#StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
Ā 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Ā 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Ā 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
Ā 
Transcript: #StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: Whatā€™s new for BISAC - Tech Forum 2024
Ā 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
Ā 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Ā 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
Ā 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ā 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Ā 
Swan(sea) Song ā€“ personal research during my six years at Swansea ... and bey...
Swan(sea) Song ā€“ personal research during my six years at Swansea ... and bey...Swan(sea) Song ā€“ personal research during my six years at Swansea ... and bey...
Swan(sea) Song ā€“ personal research during my six years at Swansea ... and bey...
Ā 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Ā 

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ā€¦