SlideShare a Scribd company logo
1 of 97
Download to read offline
1
Oracle Real Application Clusters
(RAC)
Anil Nair
Sr Principal Product Manager,
Oracle Real Application Clusters (RAC)
@RACMasterPM
http://www.linkedin.com/in/anil-nair-01960b6
http://www.slideshare.net/AnilNair27/
Next Generation Oracle RAC
Copyright Ā© 2020, Oracle and/or its affiliates |
Safe harbor statement
The following is intended to outline our general product direction. It is intended for information
purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be relied upon in making purchasing decisions. The
development, release, timing, and pricing of any features or functionality described for Oracleā€™s
products may change and remains at the sole discretion of Oracle Corporation.
Oracle RAC provides HA and Scalability
Available and Active Active Instances scale Writes, Reads and Hybrid workloads
Private
Network
Failover
Private
Network
0
5000
10000
15000
20000
25000
30000
35000
40000
4 8 32 48 64 80
2035
4010
15520
22416
30016
37040
2 Nodes
3 Nodes
4 Nodes
5 Nodes
# of Cores
Users
*SAP certified SD Benchmark results
Copyright Ā© 2020, Oracle and/or its affiliates |
Autonomous Database = Oracle RAC on Exadata +..
Autonomous
Database
Automated
Data Center Operations
Oracle Cloud
ā€¢ Oracle RAC is enabled on Oracle Autonomous Cloud offering
ā€¢ Oracle RAC meets and exceeds the stringent Autonomous Transaction
Processing Dedicated (ATP-D) and Serverless (ATP-S) requirements
ā€¢ Successfully providing scalability and availability to the Oracle Database
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC scales Autonomous Database workloads
32
Scalable Sequences
Continuous Application
Oracle RAC Sharding
Flex Disk Group
Node Weighting
Gold Image based Install
Application Continuity (AC)
Oracle Flex ASM & Flex Clusters
Fleet Patching and Provisioning (FPP)
Cluster Health Monitor (CHM)
Oracle Quality of Service Management (QoS)
Policy-Based Cluster Management
Oracle RAC One Node & RACcheck
Oracle ASM Cluster File System (ACFS)
Oracle Grid Infrastructure (GI)
UCP and OCI Load Balancing Support for RAC
Cluster Verification Utility (CVU)
Cluster-Managed Services
Oracle Clusterware
Oracle Automatic Storage Management (ASM)
Oracle Real Application Clusters (RAC) Oracle 9i
Oracle 10g
Oracle 11g
Oracle
12c
Oracle 18c
* Documented features list is selective; 20 years include development time
Oracle RAC features power Autonomous DB
Oracle 19c
Co-Location Tag for Client Routing
Dynamic Services Fallback option
RAC Resource Runtime management
20-years of continuous innovation*
Copyright Ā© 2020, Oracle and/or its affiliates |
New Generation Oracle RAC
Co-Location Tag for Client Routing
Dynamic Services Fallback option
RAC Resource Runtime management
Scalable Sequences
Continuous Application Availability
Oracle RAC Sharding
Cluster Health Advisor (CHA)
Application Continuity (AC)
Oracle Flex ASM & Flex Clusters
Rapid Home Provisioning (RHP)
Cluster Health Monitor (CHM)
Oracle Quality of Service Management (QoS)
Policy-Based Cluster Management
Oracle RAC One Node & RACcheck
Oracle ASM Cluster File System (ACFS)
Oracle Grid Infrastructure (GI)
UCP and OCI Load Balancing Support for RAC
Oracle 11g
Oracle 12g
Oracle
18c
Oracle
19c
5 x
faster
Scalability
* Documented features list is selective
Copyright Ā© 2020, Oracle and/or its affiliates |
New Generation Oracle RAC
Co-Location Tag for Client Routing
Dynamic Services Fallback option
RAC Resource Runtime management
Scalable Sequences
Continuous Application Availability
Oracle RAC Sharding
Cluster Health Advisor (CHA)
Application Continuity (AC)
Oracle Flex ASM & Flex Clusters
Rapid Home Provisioning (RHP)
Cluster Health Monitor (CHM)
Oracle Quality of Service Management (QoS)
Policy-Based Cluster Management
Oracle RAC One Node & RACcheck
Oracle ASM Cluster File System (ACFS)
Oracle Grid Infrastructure (GI)
UCP and OCI Load Balancing Support for RAC
Oracle 11g
Oracle 12g
Oracle
18c
Oracle
19c
4 x
faster
1.5 x
faster
Availability
Copyright Ā© 2020, Oracle and/or its affiliates |
* Documented features list is selective
ā€¢ Major architectural improvements
enable applications to achieve
better availability and scalability
ā€¢ Ready to meet the needs of next
generation workloads and
applications.
ā€¢ Ensuring that regardless of failure,
the stack will continue to run
ā€¢ with minimum or no interruption to
user sessions
ā€¢ on both On-premises (Generic and
Engineered Systems) and Oracle
Cloud environments
9
New Generation Oracle RAC
Availability Scalability
5x faster6x Improvement
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC Development Focus Areas
Better scalability
& availability
*Both Generic and Engineered
systems
Improved Session
management
*connection & faster Failover
Application Server
Efficient life cycle
management for
*Install, Patch, Manage Storage,
Performance
Copyright Ā© 2020, Oracle and/or its affiliates |
SGA composition is very similar to
Single Instance
ā€¢ Buffer Cache
ā€¢ Shared Pool
ā€¢ Optional In-memory
ā€¢ Misc. (Java Pool, Result Cache etc.)
Oracle RAC instances includes
additional internal components for
Buffer Cache Management
Simplified Buffer Cache Management
Buffer
Cache
Shared
Pool
In-
Memory
Misc
Total SGA
S
G
A
S
G
A
S
G
A
Buffer
Cache
Shared
Pool
In-
Memory
Misc
Buffer
Cache
Shared
Pool
In-
Memory
Misc
Shared
Pool
In-
Memory
Misc
Copyright Ā© 2020, Oracle and/or its affiliates |
Buffer
Cache
ā€¢ Internally each Buffer has a master
which can be same instance or
another instance
ā€¢ Block master is referred to as Resource
Master
ā€¢ Resource Master tracks the state of
the buffer (dirty, modified, clone
etc.)
ā€¢ Single Master can track state of
different Buffers
ā€¢ ā€œNOā€ manual setting or
intervention required
Oracle RAC Buffer Cache Optimizations
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
M MM M
M MM M
M MM M
M MM M
M MM M
M MM M
M MM M
M MM M
B Buffer M MasterB M
Total SGA
Copyright Ā© 2020, Oracle and/or its affiliates |
1 2 3 4
ā€¢ Oracle RAC processes
ā€¢ LMS, LMD, LCK, LMON, DIAG
ā€¢ More fine grained processes
introduced over the years
ā€¢ Dia0 ā€“ Hang Manager
ā€¢ Gcr0- Global Conflict Resolution slave
ā€¢ Insv ā€“ DG broker communications
ā€¢ IPC0- Basic messaging
ā€¢ Lddn ā€“ LMD slave
ā€¢ Ping ā€“ Interconnect measurement
ā€¢ ACMS ā€“ CF Writes
ā€¢ Threaded LMS process starting
with Oracle RAC 18c
Oracle RAC Process optimization
Copyright Ā© 2020, Oracle and/or its affiliates |
ps -o pid,cls,priority,cmd ā€“e|grep _lms
25111 TS ora_lms0_db1db21 <- 19.4 RDBMS
25113 TS ora_lms1_db1db21 <- 19.4 RDBMS
28682 RR ora_lms0_ustrapt11 <- 12.2 RDBMS
28684 RR ora_lms1_ustrapt11 <- 12.2 RDBMS
ā€¢ Oracle RAC processes
ā€¢ LMS, LMD, LCK, LMON, DIAG
ā€¢ More fine grained processes
introduced over the years
ā€¢ Dia0 ā€“ Hang Manager
ā€¢ Gcr0- Global Conflict Resolution slave
ā€¢ Insv ā€“ DG broker communications
ā€¢ IPC0- Basic messaging
ā€¢ Lddn ā€“ LMD slave
ā€¢ Ping ā€“ Interconnect measurement
ā€¢ ACMS ā€“ CF Writes
ā€¢ Threaded LMS process starting
with Oracle RAC 18c
Oracle RAC Process optimization
Copyright Ā© 2020, Oracle and/or its affiliates |
$ps -eLo 'pid tid cls cmd ' |grep cdb1|grep '_lm'
6970 6970 TS ora_lmon_rws17c
6972 6972 TS ora_lmd0_rws17c
6974 6977 RR ora_lms0_rws17c
6979 6979 RR ora_lmhb_rws1
6974 6981 TS ora_lms1_rws17c
6974 6983 TS ora_lms2_rws17c
LMS runs in RR LMS slaves run in TS
Timings with different #LMS:
ā€¢ Total reconfiguration time for an
instance leave & re-join
ā€¢ 100GB cache
ā€¢ 2 node RAC
Reconfiguration Performance as of 19c
Buffer Cache Size Reconfiguration
Time
25GB 3.0 sec
50GB 4.9 sec
100GB 8.3 sec
Timings with different cache
sizes:
ā€¢ Total reconfiguration time for an
instance leave & re-join
ā€¢ 8 LMSā€™s
ā€¢ 2 node RAC
# LMS Reconfiguration
Time
8 LMSā€™s 8.3 sec
16 LMSā€™s 5.0 sec
32 LMSā€™s 3.6 sec
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Sessions can connect to any instance
to retrieve data
ā€¢ Query from Inst 4 needs a block
which is mastered on Node 1
ā€¢ It will send message to Block Master
on Node 1
ā€¢ Node 1 makes a note of this request
and grants the appropriate lock
ā€¢ Node 3 sends message to Node 2 to
send the block
ā€¢ 3-Way communication
ā€¢ Worse case scenario
Fast and Consistent results
Query
Block
Master
Block
Block with
old SCN
1
3
2
Copyright Ā© 2020, Oracle and/or its affiliates |
1 2 3 4
ā€¢ Resource master automatically
moved to the instance where
the buffer resides
ā€¢ Optimizations during startup
ensure that Master is on
instance where most
modifications occur
ā€¢ Any change during runtime is
managed via DRM (Dynamic
Resource Mastering)
Optimizations in Oracle RAC Buffer Cache management
Total SGA
Copyright Ā© 2020, Oracle and/or its affiliates |
1 2 3 4
Oracle RAC features for
Scalability Availability
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC Always Chooses the ā€œRight Pathā€
ā€¢ RAC determines the optimal
path to serve blocks ā€“ network
or disk
ā€¢ SSDs and NVMe storage
technology continue to drive
down latency
ā€¢ e.g. flash storage may provide
better access times to data than
the private network under high
load
ā€¢ RAC takes those statistics into
account
Query
BlockBlock
Network
congestion
Benefit from storage improvements
Copyright Ā© 2020, Oracle and/or its affiliates |
LMS Slaves to mitigate Performance Outliers
Copyright Ā© 2020, Oracle and/or its affiliates |
Introducing LMS CR Slaves
helps mitigate Performance outliers
ā€¢ In previous releases, LMS work on incoming consistent read
requests in sequential fashion
ā€¢ Sessions requesting consistent blocks that require applying lot of
undo may cause LMS to be busy
ā€¢ Starting with Oracle RAC 12c Release 2, LMS offloads work to ā€˜CR
slavesā€™ if the amount of UNDO to be applied exceeds a certain,
dynamic threshold
ā€¢ Default is 1 slave and additional slaves are spawned as needed
Copyright Ā© 2020, Oracle and/or its affiliates |
Service-oriented Buffer Cache Access
Optimize for performance by co-locating data with the service to which it belongs
NodeA NodeB
ā€¢ Service-oriented Buffer Cache Access over time
determines the data (on database object level)
accessed by the service. This information
ā€“ Is persisted in the database.
ā€“ Is used to improve data access performance
(e.g. do not manage data of a service in an instance
that does not host the service).
ā€“ Can be used to pre-warm an instance cache prior to
a service startup (fresh start or relocation).
ā€¢ Access level statistics are stored in the PDB
dictionary
Copyright Ā© 2020, Oracle and/or its affiliates |
Hang Manager
ā€¢ Hang Manager ā€œmanagesā€ database
process(es) that are not progressing
ā€¢ Manage includes detection and resolution
ā€¢ Considers Cross-Layer Hangs
I.E: Hangs caused by blocked ASM resource
ā€¢ In addition, deadlocks are now
resolved by Hang Manager
ā€¢ User defined control via PL/SQL Early
Warning exposed via (V$ view)
ā€¢ New in 19c is the integration of DRF and
Hang Manager to use DRF statistics
Hang detection and resolution of hangs including cross-layer hangs in the Cluster
Copyright Ā© 2020, Oracle and/or its affiliates |
Hang Manager interventions reported via ORA-32701
Dump file ā€¦/diag/rdbms/hm6/hm62/incident/incdir_5753/hm62_dia0_12656_i5753.trc
Oracle Database 12c Enterprise Edition Release 12.2.0.0.0 - 64bit Beta
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics
and Real Application Testing options
Build label: RDBMS_MAIN_LINUX.X64_151013
ORACLE_HOME: ā€¦/3775268204/oracle
System name: Linux
Node name: slc05kyr
Release: 2.6.39-400.211.1.el6uek.x86_64
Version: #1 SMP Fri Nov 15 13:39:16 PST 2013
Machine: x86_64
VM name: Xen Version: 3.4 (PVM)
Instance name: hm62
Redo thread mounted by this instance: 2
Oracle process number: 19
Unix process pid: 12656, image: oracle@slc05kyr (DIA0)
*** 2015-10-13T16:47:59.541509+17:00
*** SESSION ID:(96.41299) 2015-10-13T16:47:59.541519+17:00
*** CLIENT ID:() 2015-10-13T16:47:59.541529+17:00
*** SERVICE NAME:(SYS$BACKGROUND) 2015-10-13T16:47:59.541538+17:00
*** MODULE NAME:() 2015-10-13T16:47:59.541547+17:00
*** ACTION NAME:() 2015-10-13T16:47:59.541556+17:00
*** CLIENT DRIVER:() 2015-10-13T16:47:59.541565+17:00
2015-10-13T16:47:59.435039+17:00
Errors in file /oracle/log/diag/rdbms/hm6/hm6/trace/hm6_dia0_12433.trc (incident=7353):
ORA-32701: Possible hangs up to hang ID=1 detected
Incident details in: ā€¦/diag/rdbms/hm6/hm6/incident/incdir_7353/hm6_dia0_12433_i7353.trc
2015-10-13T16:47:59.506775+17:00
DIA0 requesting termination of session sid:40 with serial # 43179 (ospid:13031) on instance 2
due to a GLOBAL, HIGH confidence hang with ID=1.
Hang Resolution Reason: Automatic hang resolution was performed to free a
significant number of affected sessions.
DIA0: Examine the alert log on instance 2 for session termination status of hang with ID=1.
2015-10-13T16:47:59.538673+17:00
Errors in file ā€¦/diag/rdbms/hm6/hm62/trace/hm62_dia0_12656.trc (incident=5753):
ORA-32701: Possible hangs up to hang ID=1 detected
Incident details in: ā€¦/diag/rdbms/hm6/hm62/incident/incdir_5753/hm62_dia0_12656_i5753.trc
2015-10-13T16:48:04.222661+17:00
DIA0 terminating blocker (ospid: 13031 sid: 40 ser#: 43179) of hang with ID = 1
requested by master DIA0 process on instance 1
Hang Resolution Reason: Automatic hang resolution was performed to free a
significant number of affected sessions.
by terminating session sid:40 with serial # 43179 (ospid:13031)
ORA-32701: Possible hangs up to hang ID=1
detected
Incident details in:
ā€¦/../hm62_dia0_12656_i5753.trc
DIA0 terminating blocker
(ospid: 13031 sid: 40 ser#: 43179)
requested by master DIA0 process on
instance 1
Hang Resolution Reason: Automatic hang
resolution was performed to free a
significant number of affected sessions.
Alert log
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC features for
Scalability Availability
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Pre-12.2, node eviction follows
a rather ā€œignorantā€ pattern
ā€¢ Example in a 2-node cluster: The node
with the lowest node number survives.
ā€¢ Customers must not base their
application logic on which node
survives the split brain.
ā€¢ As this may(!) change in future
releases
Node Eviction Basics
1
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Node Weighting is a new feature that
considers the workload hosted in the
cluster during fencing
ā€¢ The idea is to let the majority of
work survive,
if everything else is equal
ā€¢ Example: In a 2-node cluster, the
node hosting the majority of
services (at fencing time) is meant
to survive
Node Weighting in Oracle RAC 12c Release 2
1
More services aka work
Idea: Everything equal, let the majority of work survive
Copyright Ā© 2020, Oracle and/or its affiliates |
Secondary failure consideration can influence
which node survives. Secondary failure
consideration will be enhanced successively.
30
Smarter Eviction with Node Weighting
A fallback scheme
is applied if considerations do not
lead to an actionable outcome.
Public network card failure.Public network card failure.
CSS_CRITICAL can be set on various levels /
components to mark them as ā€œcriticalā€ so that the
cluster will try to preserve them in case of a failure.
Customized Eviction with Node Weighting
CSS_CRITICAL will be honored if no other technical
reason prohibits survival of the node which has at
least one critical component at the time of failure.
?
CriticalCritical More services aka work
Copyright Ā© 2020, Oracle and/or its affiliates |
Memory Guard ā€“ Attempt to prevent Evictions
ā€¢ Monitors memory allocated and
detects conditions that may result in
swapping
ā€¢ Issues alert should any server be at
risk
ā€¢ Stops services transactionally on the
server
ā€¢ This prevents any new applications
connections
ā€¢ Re-starts the services once the
excess memory allocation issue is
cleared
Over provisioning of memory is
the leading cause of evictions
Copyright Ā© 2020, Oracle and/or its affiliates |
Near Zero Downtime Reconfiguration with Recovery Buddy
6x
faster! *
ā€¢ Tracks blocks changes on buddy
instance
ā€¢ Quickly identifies blocks requiring
recovery during reconfiguration
ā€¢ Allows rapid processing of new
transactions
ā€¢ * ~6 times faster with ā€œRecovery
Buddyā€ and Optimized (Singleton)
Reconfiguration Time
- 4x compared to 11gR2 and 12cR2c
- 1.5x compared to 11gR2 and 18c
ā€¢ Fast track non mastered resources
Optimize recovery to dramatically reduce brownouts
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Detect Node/Instance Hang/Death
ā€¢ Evict the dead/hung Instance/Node
ā€¢ Elect a Recovery Master (RM)
ā€¢ One of the surviving instance process
(SMON) will get lock and be elected RM
ā€¢ RM will then
ā€¢ read redo of evicted instance
ā€¢ apply recovery
ā€¢ signal completion
High Level Reconfiguration Stages
34
Detect
Evict
Elect
Recovery
Read
Redo
Apply
Recovery
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Buddy Instances eliminate the
ā€œElect Recovery Masterā€ phase
ā€¢ Redo-read is optimized
via memory-reads
ā€¢ Apply recovery is optimized as
switching between read and
writes is no longer required
35
Detect
Evict
Elect
Recovery
Read
Redo
Apply
Recovery
Reduced Reconfiguration time with ā€œRecovery Buddyā€
Copyright Ā© 2020, Oracle and/or its affiliates |
1. Buddy Instance mapping is simple ( 1
Ć  2, 2 Ć  3, 3 Ć  4, 4 Ć  1)
2. Recovery buddies are set
during instance startup
3. RMS0 on each recovery buddy
instance maintains an in-memory
area of redo log change
4. The in-memory area is used during
recovery therefore eliminating the
need to physically read the redo
Buddy Instances ā€“ Under the Hood
36
1. Inst1 is recovery buddy for Inst2
2. Inst2 is recovery buddy for 3 and so-on
3. Recovery buddy mapping will change as
new instances join or leave
For e.g If inst3 crashes, a new recovery
buddy will be assigned to Inst 4
Inst 1 Inst 2 Inst 3 Inst 4
Recovery
Buddy 2
Recovery
Buddy 3
Recovery
Buddy 4
MyCluster
Recovery
Buddy 1
Copyright Ā© 2020, Oracle and/or its affiliates |
During planned shutdown
ā€¢ Distribute Resource Masters before
shutdown
ā€¢ Distribution before shutdown does not
require any recovery on the surviving
instances
ā€¢ Effectively reduces the time spent on
reconfiguration during planned outages
to zero
ā€¢ During unplanned outages
ā€¢ Rolling Windows to reduce impact
of reconfiguration
ā€¢ During runtime
ā€¢ Smart DRM
Zero Downtime for Planned outages
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
B BB B
M MM M
M MM M
M MM M
M MM M
M MM M
M MM M
M MM M
M MM M
Global Resource Directory
B Buffer M MasterB M
Oracle RAC HA and Scalability features for
MultiTenant In MemoryData Guard
Even higher HA
and Scalability
on Exadata
&
* selective features depicted
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Until now, Data Guard Standby
redo Apply typically runs on
one instance
ā€¢ All the instances on the
standby site can receive the
changes from RFS
ā€¢ But only one instance will be
running the media recovery
process (MRP) process
Data Guard Standby Redo Apply
1
Copyright Ā© 2020, Oracle and/or its affiliates |
Multi-Instance Redo Apply
Parallel, multi-instance recovery means ā€œthe standby DB will keep upā€
ā€¢ Standby recovery - utilizes CPU and I/O across all nodes of RAC standby
ā€¢ Up to 3500MB+/sec apply rate on an 8 node RAC
Multi-Instance Apply runs on all MOUNTED instances or all OPEN Instances
Exposed in the Broker with the ā€˜ApplyInstancesā€™ property on standby
Utilize all the RAC Instances on standby to apply Redo
recover managed standby database disconnect using instances 4;
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Data Guard Standby redo Apply can
now run on ALL instances or a
subset of instances
ā€¢ Media recovery is performed in
parallel as media recovery process
(MRP) process is running on
multiple instances
ā€¢ MIRA ensures standby can keep up
with changes coming from multiple
Oracle RAC instances on Primary
Multi-Instance Redo Apply (MIRA)
1 2
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC provides HA and Scalability to
MultiTenant In MemoryData Guard
Even higher HA
and Scalability
on Exadata
&
* selective features depicted above
Copyright Ā© 2020, Oracle and/or its affiliates |
Single Domain (domain 0) at the
CDB level for all PDBs
Operations like PDB start, stop,
reconfigurations etc rely on the
single Domain
Accessing a resource from hash
table using single Domain
affected as the number of PDBs
increases (> 250) Pdb-1
Pdb-2
Pdb-3
Pdb-4
Domain 0
Instance
SGA
Resource Hash Table
Oracle Multitenant Domains
Copyright Ā© 2020, Oracle and/or its affiliates |
With Oracle Database 12c Rel. 2, Each
PDB gets its own PDB specific domain
ID
GES & GCS resources are balanced
across PDB-specific domain ID
Resulting in improved,
consistent performance
ā€¢ One chatty PDB will not affect the
performance of any another PDB
ā€¢ Reduced Hash table size as hash table is
only created on the instances where PDB is
running
Oracle Multitenant Scalability Optimization
Domain1
Resource Hash Table
Resource Hash Table
Resource Hash Table
Resource Hash Table
Domain 2
Domain 3
Domain 4
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC optimization for Multitenant
Prevents ā€œnoisy neighborsā€ from affecting others with unnecessary chatter
NodeA NodeB
Using Oracle Multitenant, PDBs can be
opened as singletons (in one database
instance only), in a subset of instances or all
in instances at once.
If certain PDBs are only opened on some
instances, Pluggable Database Isolation
ā€¢ improves performance by
- Reducing DLM operations for
PDBs not open in all instances.
- Optimizing block operations based
on in-memory block separation.
MSG
Messages (MSG)
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC PDB Service Isolation
Limits impact of instance failures where PDBs are running
NodeA NodeB
Isolation ensures that instance
failures of instances only
hosting singleton PDBs will not
impact other instances of the
same RAC-based CDB.
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC provides HA and Scalability to
MultiTenant In MemoryData Guard
Even higher HA
and Scalability
on Exadata
&
* selective features depicted above
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC with Database In-Memory
ā€¢ Auto DOP must be used to
access Data
ā€¢ With Auto DOP query
coordinator is aware of
IMCU locations
ā€¢ Query coordinator
automatically starts parallel
server processes on the
correct nodes
Copyright Ā© 2020, Oracle and/or its affiliates |
Unique Fault Tolerance on Exadata
ā€¢ Similar to storage mirroring
ā€¢ Duplicate in-memory
columns on another node
Enabled per table/partition
Application transparent
ā€¢ Downtime eliminated by
using duplicate after failure
Only Available on Engineered Systems
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC provides HA and Scalability to
MultiTenant In MemoryData Guard
Even higher HA
and Scalability
on Exadata
&
* selective features depicted above
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Subnet Manager for Instant Failure Detection
ā€¢ Network (Subnet Manager)
ā€¢ Disk (Diskmon)
ā€¢ More details available at
ā€¢ https://www.slideshare.net/AnilNair27/oracle-rac-
features-on-exadata
Oracle RAC Exadata optimizations
Copyright Ā© 2020, Oracle and/or its affiliates |
Instant Failure Detection instantly detects node death
2018-02-03 13:33:27.724 : CSSD:866105088:
clssnmeventhndlr: EXADATA NodeDeath detection from
GIPC for node xyzadm1 number 1
2018-02-03 13:33:28.457 : CSSD:971667200:
clssnmvDiskEvict: Begin: Kill block write, file
CSS receives Node death event from GIPC
Eviction detected in less than 1 sec
13:33:27.724
13:33:28.457
00:00:00.733
Cache Fusion Optimizations on Exadata
ā€¢ Utilize RDMA for
ā€¢ Propagating BoC (Broadcast on commit)
ā€¢ Reduce messages (2 instead of 5)
ā€¢ Reduce CPU usage on LMS
ā€¢ Sending current read blocks
ā€¢ Very common access pattern in various workloads
ā€¢ Sending Commit Cache messaging
ā€¢ https://www.slideshare.net/AnilNair27/oracle-rac-features-on-exadata (Slide#43)
ā€¢ Reduces load on LMS from remote node
ā€¢ Direct read than sending an 8k block
ā€¢ Sending Undo block
ā€¢ https://www.slideshare.net/AnilNair27/oracle-rac-features-on-exadata (Slide#44)
Copyright Ā© 2020, Oracle and/or its affiliates |
Right Growing Index
- Not really a RAC specific issue
ā€¢ Affects Scalability due to waits on
Index splits
When possible utilize Scalable
Sequences*
Optimized Leaf block splits
ā€¢ Reduce Messaging
Cache Fusion on Exadata
- Commit Cache, Undo Block RDMA Read,
Smart Fusion Block transfer
Solving Right Growing Index problem
0
10
20
30
40
50
60
0 8 16 24 32 40 48 56 64
Executions/sec(thousands)
# Clients / Instance (4 RAC instances)
11.2.0.4 Baseline
12.1.0.2 Baseline
12.2 with all
optimizations
1 2 3 4 5 6 7
1 2 3 4 5 6 7 8 9 10
5 6 7 8 9 10 11 12
11 12 13 14 158 9 10
Copyright Ā© 2020, Oracle and/or its affiliates |
Detecting (RGI) Performance Issues
Total Wait Avg % DB Wait
Event Waits Time (sec) Wait time Class
------------------------------ ----------- ---------- --------- ------ --------
gc buffer busy release 556,910 1484.3 2.67ms 32.0 Cluster
enq: TX - index contention 74,060 1006.1 13.58ms 21.7 Concurre
gc buffer busy acquire 853,180 860.7 1.01ms 18.5 Cluster
gc index operation 167,564 721.6 4.31ms 15.5 Cluster
buffer busy waits 235,076 176.2 749.34us 3.8 Concurre
DB CPU 167.5 3.6
latch: cache buffers chains 355,780 97.6 274.20us 2.1 Concurre
latch: ges resource hash list 66,582 46.9 703.73us 1.0 Other
gc current split 6,088 23.4 3.84ms .5 Cluster
gc current block busy 17,548 21.9 1.25ms .5 Cluster
22% for global enqueue handling
50% for global buffer contention
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Improved algorithm reduced the
high rate of leaf node split cancels
under higher concurrency due to
ongoing cleanouts
ā€¢ Code optimizations improve
concurrency (reduce the cancels)
and improve diagnosability
ā€¢ Internal benchmark reported a
significant performance
improvement
Improving (RGI) Workload Performance
Baseline Optimized
Overall throughput 5,278 9,381
Leaf node splits /
sec
42 82
Split cancels / sec 3.8 0.7
0
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
Base Line
Optimized
50%
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Sequences cause Index block
contention during heavy OLTP
especially on tables which use
sequence values as keys
ā€¢ This is not RAC specific but the
problem gets amplified in RAC
environments
ā€¢ The effects of this issue is mitigated
via Scalable Sequences
Sequence contention
Copyright Ā© 2020, Oracle and/or its affiliates |
New option in Create/Alter Sequence
SCALE {Extend |NoExtend | NoScale }
When Scale is specified an internal
algorithm uses the instance id and
other session specific information to
generate an offset
DBAs need to alter existing sequences
DBA/User/ALL_sequences will reflect
the additional attributes
Further Improve RGI workload performance using Scalable Sequences
Scalable Sequences
Copyright Ā© 2020, Oracle and/or its affiliates |
Maintain a small in-memory cache of committed transactions
Transfer multiple XIDā€™s efficiently in a single batched message
In-memory Transaction Table
0 0.05 0.1 0.15 0.2 0.25 0.3
Base 12.2
Tx Table Enabled
Total Transfers / sec
(normalized by throughput)
Data Block (current)
TX Header (CR)
TX Table Message
14x
Improvement
Copyright Ā© 2020, Oracle and/or its affiliates |
Undo Block RDMA-read
ā€¢ In some workloads, more than half of remote reads
are for Undo blocks to satisfy read consistency
ā€¢ Undo Block RDMA-read uses RDMA to directly and
rapidly access UNDO blocks in remote instances
Commit Cache
ā€¢ Commit Cache maintains an in-memory table on
each instance which records the commit time of
transactions
ā€¢ Remote LMS directly reads the commit cache and
sends back commit times for requested
transactions.
ā€¢ Replaces having to send entire 8K transaction table
block
RAC Optimizations for Exadata
UNDOUNDO
RDMA RDMA
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ On Exadata, Oracle does not wait for
the log write notification
ā€¢ Exadata ensures the log write
completes before changes to block
on another instance commit,
guaranteeing durability
ā€¢ Wait for Log I/O during transfer of
hot blocks is eliminated
ā€¢ Up to 40% throughput and 33%
response time improvement in some
heavily contended OLTP workloads
ā€¢ Storage software ensures correct
ordering of writes
Smart Fusion Block Transfer
1. Issue log write
2. Wait for log
write completion
3. Transfer
block
Exadata Avoids I/O Wait confirmation
Storage
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Exafusion direct-to-wire optimization
eliminates costly context switches
ā€¢ Works on both RoCE/InfiniBand
deployments
ā€¢ Exafusion along with IPCLW provides
blazing performance
ā€¢ Database directly calls InfiniBand
hardware
ā€¢ Bypassing networking software stack,
interrupts, scheduling
Exafusion Direct-to-Wire OLTP Protocol
8K OLTP Block Transfers/sec
RoCE/InfiniBandExafusion
RoCE/InfiniBand
10GigE
3X Speedup
Copyright Ā© 2020, Oracle and/or its affiliates |
New background: IPC0
ā€¢ Registers (pins) IPC buffers for all
processes to the InfiniBand HCA
New memory pool: MGA (Managed
Global Area)
ā€¢ IPC buffers are allocated in the MGA
(used to be the PGA before Exafusion)
ā€¢ MGA allows a set of processes to
efficiently share an address space
ā€¢ MGA is not SGA or PGA, but something
in-between
Exafusion_Enabled is deprecated
Providing even more Scalability
InfiniBand/RoCE
HCA
SGA
Buffer
OracleO/S
Buffer
InfiniBand/RoCE
HCA
SGA
Buffer
Oracle
Copyright Ā© 2020, Oracle and/or its affiliates |
Global Cache
NIC
Driver ,
IP stack
Context switch
IPCWire
usersys
And even Higher Availability
By lowering brownout time
11204
4 x
1.5 x
12.2 18.1
https://www.slideshare.net/AnilNair27/new-availability-features-in-oracle-rac-12c-release-2-anair-ss
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC Development Focus Areas
Better scalability
& availability
*Both Generic and Engineered
systems
Improved Session
management
*connection & faster Failover
Application Server
Efficient life cycle
management for
*Install, Patch, Manage Storage,
Performance
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Sessions connect to the database
directly or via connection pool using
SCAN and service name
ā€¢ SCAN listener redirects the session to
the database listener
ā€¢ Sessions can benefit from load
balancing (connection/runtime)
ā€¢ Connection pool gets notified of CPU
load, # of sessions, node failures and
other such events by Oracle Notification
Services
Session Connection Basics
ODP.Net, OCI, Connection Pool
Single Client Access Network
Failover, Load
and other
Notifications
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Public network and
instance health is
constantly monitored
by Grid Infrastructure
ā€¢ On failure, GI will
relocate the VIP
ā€¢ Existing connection
requests will receive
error as GI will send a
GARP
ā€¢ ONS consumers like
SCAN listeners,
Connection Pools get
notified of failure
Failures Handling
ODP.Net, OCI, Connection Pool
Single Client Access Network
New Connection request
Scan Listener routes to
DB listener on first node
Instance or Public
Network failure
GI relocates VIP to
another instance
Connection attempted
on VIPInstant Error instead of
waiting on TCP timeout
Retry Connection
ONS Event Notification
Gratuitous ARP
Arp Table update
Copyright Ā© 2020, Oracle and/or its affiliates |
Recommended TNS Connector String
ALIAS =(DESCRIPTION =
(TRANSPORT_CONNECT_TIMEOUT=3)
(ADDRESS_LIST =
(CONNECT_TIMEOUT=90)
(RETRY_COUNT=20) (RETRY_DELAY=3)
(LOAD_BALANCE=on)
( ADDRESS = (PROTOCOL = TCP)(HOST=primary-scan)(PORT=1521)))
(ADDRESS_LIST =
(CONNECT_TIMEOUT=120) (RETRY_COUNT=20) (RETRY_DELAY=3)
(LOAD_BALANCE=on)
( ADDRESS = (PROTOCOL = TCP)(HOST=secondary-scan)(PORT=1521)))
(CONNECT_DATA=(SERVICE_NAME = gold-cloud)))
Standard for All Drivers starting with Oracle Database 12.2
Secs to wait for a TCP connection
*Same as SQLNET.Connect_Timeout
Secs to wait for a successful connection
*Same as SQLNET.Outbound_Connect_Timeout
Copyright Ā© 2020, Oracle and/or its affiliates |
Test your Failover timings
Case1
Case 2
Case 1
Vanilla tnsnames.ora with default
Connect_Timeout, Retry_count, RETRY_DELAY,
TRANSPORT_CONNECT_TIMEOUT
Simulate network failure
$tnsping OK (62, 860 msec)
~~1 minute wait (TCP_TIMEOUT)
Case 2
Tuned tnsnames.ora with optimized values for
Connect_Timeout = 90, Retry_count = 1,
RETRY_DELAY=3,
TRANSPORT_CONNECT_TIMEOUT=3
$tnsping OK (3070 msec) = ~~3 seconds
(Almost no delay)
Commented
Copyright Ā© 2020, Oracle and/or its affiliates |
Tag your Sessions to optimally route work
ā€¢ Optimize your connections by co-
locating similar work pattern to
one Oracle RAC Instance
ā€¢ Oracle RAC routes connections
with same COLOCATION_TAG to
same instance* (when possible)
ā€¢ ALIAS =(DESCRIPTION =
(CONNECT_DATA=
(SERVICE_NAME = gold-cloud)))
ā€¦.
(CONNECT_DATA=
(SERVICE_NAME=Orders)
(COLOCATION_TAG=ORDER)
Orders SalesPayroll
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Connect via a service to a
connection pool (CP)
ā€¢ CP provides a connection to
an instance to perform
transactions
ā€¢ Session experiences failure
during ongoing work
ā€¢ CP provides another session to
surviving instance
ā€¢ Continues to perform work
ā€¢ Results returned to the user
While benefitting from Application Continuity to mask Failures
1
2
3
4
5
6
UCP, JDBC, ODP.Net,
OCI Session Pool,
Tuxedo, WebLogic
āœ“
From both planned and unplanned maintenance
1
2
3
4
5
6
Copyright Ā© 2020, Oracle and/or its affiliates |
How to enable Application Continuity (AC)?
ā€¢ Database and client (driver) version >= Oracle 12c
ā€¢ Enable AC on the Service
ā€¢ $srvctl modify service ā€“db <mydb> -service myac_svc ā€“failovertype
TRANSACTION -commit_outcome TRUE *
*comprehensive steps included in AC white paper (URL included in notes)
ā€¢ Use the recommended tnsnames.ora or JDBC URL
ā€¢ Use Orachk: ($orachk ā€“accheck)
ā€¢ AWR report: (User calls in = User calls protected)
Copyright Ā© 2020, Oracle and/or its affiliates |
Session
ā€¢ Connects via a service an
instance and performs insert,
update and delete operations
ā€¢ Node/Instance failure in the
middle of ongoing work
ā€¢ Receives Notification
ā€¢ Reconnects to surviving
instance and continues where
it was left off
ā€¢ Results returned to the user
Application Continuity (TAC)
UCP, JDBC, ODP.Net,
OCI Session Pool,
Tuxedo, WebLogic
āœ“
Can this get Any better?
4
5
1
2
3
4
5
2
3
1
Copyright Ā© 2020, Oracle and/or its affiliates |
Application Continuity (AC), or TAF
My Application uses.. AC TAC TAF
I donā€™t know No Yes No
Transactions Yes Yes No
Oracle state (temp lobs,
PL/SQL, temp tables, aq..)
Yes Yes No
No connection pool No Yes Yes
Initial state on the session Yes and custom Yes and custom Yes and custom
Side effects (utl_mail,
dbms_file_transfer..)
Yes and Custom Yes Not replayed No
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC Development Focus Areas
Better scalability
& availability
*Both Generic and Engineered
systems
Improved Session
management
*connection & faster Failover
Application Server
Efficient life cycle
management for
*Install, Patch, Manage Storage,
Performance
Copyright Ā© 2020, Oracle and/or its affiliates |
Install
Patch
Manage
Tune
ā€¢ Installer Optimizations
ā€¢ Gold Image
ā€¢ gridSetup.sh
ā€¢ Patch
ā€¢ SwitchGridHome
ā€¢ Opatch
ā€¢ Storage Management
ā€¢ Flex Disk Group
ā€¢ Tune
ā€¢ AWR Metrics
Life Cycle Management
Copyright Ā© 2020, Oracle and/or its affiliates |
Copyright Ā© 2020, Oracle and/or its affiliates |
1. Download base release
ā€¢ Unzip into GI HOME
ā€¢ Unzip patch into separate
directory
2. Apply Patch (RU/RUR)
[-applyPSU]
ā€¢ gridSetup.sh ā€“applyRU
<path_to_patch>
3. Zip, copy and deploy
customized GI Home multiple
times
Create Custom Gold image
ā€¢ Opatch lsinventory
ā€¢ Provides detailed home info
ā€¢ New Versioning scheme
ā€¢ 19.7 ĆØ Version 19, RU 7
ā€¢ Possible but not recommended
to have 19.4 GI with 19.7 database
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ One command to Install
configure & Upgrade
ā€¢ Add/Delete Node
ā€¢ Reduce Intermediate steps
ā€¢ Lenient mode
ā€¢ DevOps Friendly
gridSetup
$./gridSetup.sh ā€“dryRunForUpgrade
Copyright Ā© 2020, Oracle and/or its affiliates |
Reduce Installation steps
Image-based (12.1) Image-based (12.2 and higher)
Download shiphome zip files from OTN Download image zip files from OTN
Unzip grid1/2.zip to some stage location (stage_loc) No stage_loc
Execute <stage_loc>/runInstaller.sh -
Bootstraps files to some temp area (1GB) No bootstrapping
Copies files from <stage_loc> to OH No copy needed
Zip up the OH and store it as image files -
Unzip image files to OH on all nodes of the cluster Unzip image files to OH on one of the nodes of
cluster
Execute clone.pl on all nodes of cluster Not needed
Run config.sh from one of the nodes Run gridSetup.sh from one of the nodes
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Environment changes, incorrect
permissions of binaries can prevent
stack startup
ā€¢ Oracle 19c Clusterware stack
attempts to auto-diagnose
unsuccessful startup issues
ā€¢ Provides detailed logging in
case of failures
CRS-41053: checking Oracle Grid Infrastructure for file permission
issues
PRVG-2031 : Owner of file ā€ā€¦gipcd.bin" did not match the
[Expected="grid(54320)" Found="oracle(54325)"]
Oracle Clusterware start Diagnostics
init
cssdAgent
cssdmonitor
ohasd
oraAgent
cssd
crsd
ctssd
HAIP
ACFS
mdnsd
gipcd
evmd
ASM
*NOT all daemons are shown in illustration above
oraRootAgent
Copyright Ā© 2020, Oracle and/or its affiliates |
Copyright Ā© 2020, Oracle and/or its affiliates |
gridSetup features for Upgrade, Patching
ā€¢ SwitchGridHome
ā€¢ gridSetup ā€“switchgridhome option for out of place
patching
ā€¢ Autoupgrade
ā€¢ Fully integrated with orachk (orachk -preupgrade)
ā€¢ Updates new home using srvctl ā€“upgrade
Copyright Ā© 2020, Oracle and/or its affiliates |
/u01/app/grid/19.3
/u01/app/grid/19.7
Copyright Ā© 2020, Oracle and/or its affiliates |
Compute
Storage
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Provision and Patch 11.2, 12.1, 12.2,
18c, 19c Grid Infrastructure &
Databases
ā€¢ Performs addNode and deleteNode
operations
ā€¢ Standardizes Customer software
installs via the use of Gold Images
ā€¢ Provisions Grid Infrastructure, RAC,
RAC One, Single Instance and
Applications
ā€¢ Automation to save you countless
hours performing these tiring tasks
Fleet Provisioning and Patching & Upgrade
FPP is new name for RHP
Add/Delete
Node
Install Patch
! ! !
Copyright Ā© 2020, Oracle and/or its affiliates |
Zero Downtime Migration, Upgrade (ZDM, ZDU)
Migrate
!
Upgrade
!
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Configure during Installation
ā€¢ Reject non-Oracle I/O
ā€¢ Stops OS utilities from
overwriting ASM disks
ā€¢ Protects database files
ā€¢ Reduce OS resource usage
ā€¢ Fewer open file descriptors
ā€¢ Faster node recovery
ā€¢ Further configuration and
monitoring is conducted by
using the AFDTOOL utility:
ā€¢ Provision a disk:
$ afdtool -add /dev/dsk1 disk1
ā€¢ Remove a disk:
$ afdtool -delete disk1
ā€¢ List the managed disks:
$ afdtool -getdevlist
Manage devices with Filter Driver
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ New Disk Group type provides fine
grained mirroring and redundancy
ā€¢ File Group: a database-specific
construct
ā€¢ Quota Groups: flexible quota
management at a file group level
ā€¢ Flexible and modifiable database-
specific properties
ā€¢ ASM point-in-time database clones
ā€¢ Define quotas at PDB level
Manage storage with Flex Disk Group
Copyright Ā© 2020, Oracle and/or its affiliates |
Flex Disk Group
DB1
File 1
File 2
File 3
DB2
File 1
File 2
File 3
File 4
DB3
File 1
File 2
File 3
Quota
DB3
File 1
File 2
File 3
Copyright Ā© 2020, Oracle and/or its affiliates |
ā€¢ Monitor memory allocation and usage within the
database
ā€¢ Optimizing memory usage especially in Large SGAs
ā€¢ Dynamic Internal Structures
ā€¢ Smarter DRM
ā€¢ Optimized Messaging
Oracle RAC Database Reliability Framework (DRF)
Copyright Ā© 2020, Oracle and/or its affiliates |
Database Reliability Framework Details
Runs in LMHB Process
ā€¢ Re-startable
ā€¢ Non Fatal
Relies on Metrics and Actions
Action Related metrics
report high cpu oracle instance
processes
cpu load, cpu threshold, bg
heartbeat, cpu load (global)
report high memory oracle
instance processes
memory load, memory
threshold
kill instance memory hog memory load, memory
threshold
enable rm plan cpu load, bg slowing (2)
switch process to elevated priority cpu load, bg slowing (3)
switch process from elevated
priority
cpu load, bg heartbeat
shrink or grow resource cache library cache pin waits
cap total processes at elevated
priority
cpu number
enable drm cpu load, drm checks
disable drm cpu load, drm checks
increase default number of lms cr blocks congested, current
blocks congested
Metric Scope
o/s memory Node Global
o/s load Node Global
bg heartbeat Global
DRM health check Global
library cache pin waits Local
CFIO waits Global
gc block lost Local
gc block busy Local
Copyright Ā© 2020, Oracle and/or its affiliates |
AWR Report
Integrated AWR and ADDM
Copyright Ā© 2020, Oracle and/or its affiliates |
Reconfiguration Diagnosability
**************** BEGIN DLM RCFG HA STATS ****************
Total dlm rcfg time (inc 6): 3.586 secs (394926177, 394929763)
Begin step .........: 0.005 secs (394926177, 394926182)
Freeze step ........: 0.019 secs (394926182, 394926201)
Sync 1 step ........: 0.002 secs (394926264, 394926266)
Sync 2 step ........: 0.024 secs (394926266, 394926290)
Enqueue cleanup step: 0.002 secs (394926290, 394926292)
Sync pcm1 step .....: 0.004 secs (394926293, 394926297)
ā€¦ā€¦
ā€¦.
Enqueue dubious step: 0.004 secs (394926432, 394926436)
Sync 5 step ........: 0.000 secs (394926436, 394926436)
Enqueue grant step .: 0.001 secs (394926436, 394926437)
Sync 6 step ........: 0.012 secs (394926437, 394926449)
Fixwrt replay step .: 0.885 secs (394928837, 394929722)
Sync 8 step ........: 0.040 secs (394929722, 394929762)
End step ...........: 0.001 secs (394929762, 394929763)
Number of replayed enqueues sent / received .......: 2246 / 893
Number of replayed fusion locks sent / received ...: 124027 / 0
Number of enqueues mastered before / after rcfg ...: 2058 / 1384
**************** END DLM RCFG HA STATS *****************
Detailed timing breakdown
available in LMON trace file
Copyright Ā© 2020, Oracle and/or its affiliates |
DRM Diagnosability
Dynamic Remastering Statistics DB/Inst: SALES/sales1 Snaps: 393-452
-> Affinity objects - Affinity objects mastered at the begin/end snapshot
-> Read-mostly objects - Read-mostly objects mastered at the begin/end snapshot
per Begin End
Name Total Remaster Op Snap Snap
-------------------------------- ------------ ------------- -------- --------
remaster ops 24 1.00
remastered objects 24 1.00
remaster time (s) 7.4 0.31
freeze time (s) 1.5 0.06
cleanup time (s) 2.4 0.10
replay time (s) 0.3 0.01
fixwrite time (s) 2.4 0.10
sync time (s) 0.1 0.01
affinity objects N/A 3 27
read-mostly objects N/A 0 0
read-mostly objects (persistent) N/A 0 0
Detailed timing breakdown
available in AWR Report
Copyright Ā© 2020, Oracle and/or its affiliates |
Global AWR ā€“ Tune multiple instances with one report
Instance 1 is clearly more busier than rest
Copyright Ā© 2020, Oracle and/or its affiliates |
Global AWR ā€“ Summary along with details
Copyright Ā© 2020, Oracle and/or its affiliates |
Global AWR ā€“ Platform specific Information
Histograms to show outliers
Copyright Ā© 2020, Oracle and/or its affiliates |
Oracle RAC is the #1 proven Choice for Scalability & Availability
Copyright Ā© 2020, Oracle and/or its affiliates |
Wide choice of Platforms: On-Prem or Cloud
Autonomous
Database
Exadata Cloud
Service
Oracle RAC on Generic
systems in Oracle Cloud
Oracle
Exadata
Generic
System
AutomaticManual
Copyright Ā© 2020, Oracle and/or its affiliates |

More Related Content

What's hot

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
Ā 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACSandesh Rao
Ā 
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
Ā 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseMarkus Michalewicz
Ā 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on ExadataAnil Nair
Ā 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
Ā 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it Sandesh Rao
Ā 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceAnil Nair
Ā 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityMarkus 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 GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningBobby Curtis
Ā 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19cMaria Colgan
Ā 
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
Ā 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slidesMohamed Farouk
Ā 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
Ā 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
Ā 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
Ā 
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationOracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationMarkus Michalewicz
Ā 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
Ā 

What's hot (20)

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
Ā 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
Ā 
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
Ā 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
Ā 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
Ā 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
Ā 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
Ā 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
Ā 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High Availability
Ā 
2020 - OCI Key Concepts for Oracle DBAs
2020 - OCI Key Concepts for Oracle DBAs2020 - OCI Key Concepts for Oracle DBAs
2020 - OCI Key Concepts for Oracle DBAs
Ā 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
Ā 
Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
Ā 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
Ā 
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
Ā 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
Ā 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Ā 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Ā 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
Ā 
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationOracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - Presentation
Ā 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
Ā 

Similar to Oracle RAC - New Generation

New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ssAnil Nair
Ā 
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
Ā 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
Ā 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?Markus Michalewicz
Ā 
Presentation building an oracle stack for maximum performance and availability
Presentation   building an oracle stack for maximum performance and availabilityPresentation   building an oracle stack for maximum performance and availability
Presentation building an oracle stack for maximum performance and availabilityxKinAnx
Ā 
8. od maximum availability-sparc-v1.1-fb
8. od maximum availability-sparc-v1.1-fb8. od maximum availability-sparc-v1.1-fb
8. od maximum availability-sparc-v1.1-fbDoina Draganescu
Ā 
Customer overview oracle solaris cluster, enterprise edition
Customer overview oracle solaris cluster, enterprise editionCustomer overview oracle solaris cluster, enterprise edition
Customer overview oracle solaris cluster, enterprise editionsolarisyougood
Ā 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACSandesh Rao
Ā 
6Ā° Sessione Oracle - CRUI: Oracle Database Appliance: Il potere dellā€™ingegner...
6Ā° Sessione Oracle - CRUI: Oracle Database Appliance:Il potere dellā€™ingegner...6Ā° Sessione Oracle - CRUI: Oracle Database Appliance:Il potere dellā€™ingegner...
6Ā° Sessione Oracle - CRUI: Oracle Database Appliance: Il potere dellā€™ingegner...JĆ¼rgen Ambrosi
Ā 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionMarkus Michalewicz
Ā 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowMarkus Michalewicz
Ā 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Markus Michalewicz
Ā 
Why to Use an Oracle Database?
Why to Use an Oracle Database? Why to Use an Oracle Database?
Why to Use an Oracle Database? Markus Michalewicz
Ā 
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdfRac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdfAnil Nair
Ā 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoMarkus Michalewicz
Ā 
Novinky v Oracle Database 18c
Novinky v Oracle Database 18cNovinky v Oracle Database 18c
Novinky v Oracle Database 18cMarketingArrowECS_CZ
Ā 
WLS12c_NewFeatures_Basics
WLS12c_NewFeatures_BasicsWLS12c_NewFeatures_Basics
WLS12c_NewFeatures_BasicsSudhesh Pnair
Ā 
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPSVMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPSVMworld
Ā 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewMarkus Michalewicz
Ā 

Similar to Oracle RAC - New Generation (20)

New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
Ā 
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
Ā 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
Ā 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
Ā 
Presentation building an oracle stack for maximum performance and availability
Presentation   building an oracle stack for maximum performance and availabilityPresentation   building an oracle stack for maximum performance and availability
Presentation building an oracle stack for maximum performance and availability
Ā 
8. od maximum availability-sparc-v1.1-fb
8. od maximum availability-sparc-v1.1-fb8. od maximum availability-sparc-v1.1-fb
8. od maximum availability-sparc-v1.1-fb
Ā 
Customer overview oracle solaris cluster, enterprise edition
Customer overview oracle solaris cluster, enterprise editionCustomer overview oracle solaris cluster, enterprise edition
Customer overview oracle solaris cluster, enterprise edition
Ā 
Oracle RAC 12c Overview
Oracle RAC 12c OverviewOracle RAC 12c Overview
Oracle RAC 12c Overview
Ā 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
Ā 
6Ā° Sessione Oracle - CRUI: Oracle Database Appliance: Il potere dellā€™ingegner...
6Ā° Sessione Oracle - CRUI: Oracle Database Appliance:Il potere dellā€™ingegner...6Ā° Sessione Oracle - CRUI: Oracle Database Appliance:Il potere dellā€™ingegner...
6Ā° Sessione Oracle - CRUI: Oracle Database Appliance: Il potere dellā€™ingegner...
Ā 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Ā 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
Ā 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Ā 
Why to Use an Oracle Database?
Why to Use an Oracle Database? Why to Use an Oracle Database?
Why to Use an Oracle Database?
Ā 
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdfRac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Rac 12c rel2_operational_best_practices_sangam_2017_as_pdf
Ā 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Ā 
Novinky v Oracle Database 18c
Novinky v Oracle Database 18cNovinky v Oracle Database 18c
Novinky v Oracle Database 18c
Ā 
WLS12c_NewFeatures_Basics
WLS12c_NewFeatures_BasicsWLS12c_NewFeatures_Basics
WLS12c_NewFeatures_Basics
Ā 
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPSVMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
VMworld 2013: Virtualizing Mission Critical Oracle RAC with vSphere and vCOPS
Ā 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
Ā 

More from Anil Nair

Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020Anil Nair
Ā 
Using Machine Learning to Debug complex Oracle RAC Issues
Using Machine Learning  to Debug complex Oracle RAC IssuesUsing Machine Learning  to Debug complex Oracle RAC Issues
Using Machine Learning to Debug complex Oracle RAC IssuesAnil Nair
Ā 
Using Machine Learning to Debug Oracle RAC Issues
Using Machine Learning to Debug Oracle RAC IssuesUsing Machine Learning to Debug Oracle RAC Issues
Using Machine Learning to Debug Oracle RAC IssuesAnil Nair
Ā 
Rac 12c rel2_operational_best_practices_sangam_2017
Rac 12c rel2_operational_best_practices_sangam_2017Rac 12c rel2_operational_best_practices_sangam_2017
Rac 12c rel2_operational_best_practices_sangam_2017Anil Nair
Ā 
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best PracticesCollaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best PracticesAnil Nair
Ā 
Step by Step instructions to install Cluster Domain deployment model
Step by Step instructions to install Cluster Domain deployment modelStep by Step instructions to install Cluster Domain deployment model
Step by Step instructions to install Cluster Domain deployment modelAnil Nair
Ā 
Con8780 nair rac_best_practices_final_without_12_2content
Con8780 nair rac_best_practices_final_without_12_2contentCon8780 nair rac_best_practices_final_without_12_2content
Con8780 nair rac_best_practices_final_without_12_2contentAnil Nair
Ā 

More from Anil Nair (7)

Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
Ā 
Using Machine Learning to Debug complex Oracle RAC Issues
Using Machine Learning  to Debug complex Oracle RAC IssuesUsing Machine Learning  to Debug complex Oracle RAC Issues
Using Machine Learning to Debug complex Oracle RAC Issues
Ā 
Using Machine Learning to Debug Oracle RAC Issues
Using Machine Learning to Debug Oracle RAC IssuesUsing Machine Learning to Debug Oracle RAC Issues
Using Machine Learning to Debug Oracle RAC Issues
Ā 
Rac 12c rel2_operational_best_practices_sangam_2017
Rac 12c rel2_operational_best_practices_sangam_2017Rac 12c rel2_operational_best_practices_sangam_2017
Rac 12c rel2_operational_best_practices_sangam_2017
Ā 
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best PracticesCollaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
Ā 
Step by Step instructions to install Cluster Domain deployment model
Step by Step instructions to install Cluster Domain deployment modelStep by Step instructions to install Cluster Domain deployment model
Step by Step instructions to install Cluster Domain deployment model
Ā 
Con8780 nair rac_best_practices_final_without_12_2content
Con8780 nair rac_best_practices_final_without_12_2contentCon8780 nair rac_best_practices_final_without_12_2content
Con8780 nair rac_best_practices_final_without_12_2content
Ā 

Recently uploaded

call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøDelhi Call girls
Ā 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
Ā 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
Ā 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
Ā 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
Ā 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
Ā 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
Ā 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
Ā 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
Ā 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
Ā 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
Ā 
CHEAP Call Girls in Pushp Vihar (-DELHI )šŸ” 9953056974šŸ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )šŸ” 9953056974šŸ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )šŸ” 9953056974šŸ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )šŸ” 9953056974šŸ”(=)/CALL GIRLS SERVICE9953056974 Low Rate Call Girls In Saket, Delhi NCR
Ā 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
Ā 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
Ā 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfWilly Marroquin (WillyDevNET)
Ā 
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøDelhi Call girls
Ā 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxalwaysnagaraju26
Ā 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyAnusha Are
Ā 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
Ā 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
Ā 

Recently uploaded (20)

call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
Ā 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
Ā 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
Ā 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
Ā 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
Ā 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
Ā 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
Ā 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Ā 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
Ā 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Ā 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
Ā 
CHEAP Call Girls in Pushp Vihar (-DELHI )šŸ” 9953056974šŸ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )šŸ” 9953056974šŸ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )šŸ” 9953056974šŸ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )šŸ” 9953056974šŸ”(=)/CALL GIRLS SERVICE
Ā 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
Ā 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
Ā 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
Ā 
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Vaishali (Ghaziabad) šŸ” >ą¼’8448380779 šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
Ā 
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptxBUS PASS MANGEMENT SYSTEM USING PHP.pptx
BUS PASS MANGEMENT SYSTEM USING PHP.pptx
Ā 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
Ā 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
Ā 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
Ā 

Oracle RAC - New Generation

  • 1. 1 Oracle Real Application Clusters (RAC) Anil Nair Sr Principal Product Manager, Oracle Real Application Clusters (RAC) @RACMasterPM http://www.linkedin.com/in/anil-nair-01960b6 http://www.slideshare.net/AnilNair27/ Next Generation Oracle RAC Copyright Ā© 2020, Oracle and/or its affiliates |
  • 2. Safe harbor statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracleā€™s products may change and remains at the sole discretion of Oracle Corporation.
  • 3. Oracle RAC provides HA and Scalability Available and Active Active Instances scale Writes, Reads and Hybrid workloads Private Network Failover Private Network 0 5000 10000 15000 20000 25000 30000 35000 40000 4 8 32 48 64 80 2035 4010 15520 22416 30016 37040 2 Nodes 3 Nodes 4 Nodes 5 Nodes # of Cores Users *SAP certified SD Benchmark results Copyright Ā© 2020, Oracle and/or its affiliates |
  • 4. Autonomous Database = Oracle RAC on Exadata +.. Autonomous Database Automated Data Center Operations Oracle Cloud ā€¢ Oracle RAC is enabled on Oracle Autonomous Cloud offering ā€¢ Oracle RAC meets and exceeds the stringent Autonomous Transaction Processing Dedicated (ATP-D) and Serverless (ATP-S) requirements ā€¢ Successfully providing scalability and availability to the Oracle Database Copyright Ā© 2020, Oracle and/or its affiliates |
  • 5. Oracle RAC scales Autonomous Database workloads 32
  • 6. Scalable Sequences Continuous Application Oracle RAC Sharding Flex Disk Group Node Weighting Gold Image based Install Application Continuity (AC) Oracle Flex ASM & Flex Clusters Fleet Patching and Provisioning (FPP) Cluster Health Monitor (CHM) Oracle Quality of Service Management (QoS) Policy-Based Cluster Management Oracle RAC One Node & RACcheck Oracle ASM Cluster File System (ACFS) Oracle Grid Infrastructure (GI) UCP and OCI Load Balancing Support for RAC Cluster Verification Utility (CVU) Cluster-Managed Services Oracle Clusterware Oracle Automatic Storage Management (ASM) Oracle Real Application Clusters (RAC) Oracle 9i Oracle 10g Oracle 11g Oracle 12c Oracle 18c * Documented features list is selective; 20 years include development time Oracle RAC features power Autonomous DB Oracle 19c Co-Location Tag for Client Routing Dynamic Services Fallback option RAC Resource Runtime management 20-years of continuous innovation* Copyright Ā© 2020, Oracle and/or its affiliates |
  • 7. New Generation Oracle RAC Co-Location Tag for Client Routing Dynamic Services Fallback option RAC Resource Runtime management Scalable Sequences Continuous Application Availability Oracle RAC Sharding Cluster Health Advisor (CHA) Application Continuity (AC) Oracle Flex ASM & Flex Clusters Rapid Home Provisioning (RHP) Cluster Health Monitor (CHM) Oracle Quality of Service Management (QoS) Policy-Based Cluster Management Oracle RAC One Node & RACcheck Oracle ASM Cluster File System (ACFS) Oracle Grid Infrastructure (GI) UCP and OCI Load Balancing Support for RAC Oracle 11g Oracle 12g Oracle 18c Oracle 19c 5 x faster Scalability * Documented features list is selective Copyright Ā© 2020, Oracle and/or its affiliates |
  • 8. New Generation Oracle RAC Co-Location Tag for Client Routing Dynamic Services Fallback option RAC Resource Runtime management Scalable Sequences Continuous Application Availability Oracle RAC Sharding Cluster Health Advisor (CHA) Application Continuity (AC) Oracle Flex ASM & Flex Clusters Rapid Home Provisioning (RHP) Cluster Health Monitor (CHM) Oracle Quality of Service Management (QoS) Policy-Based Cluster Management Oracle RAC One Node & RACcheck Oracle ASM Cluster File System (ACFS) Oracle Grid Infrastructure (GI) UCP and OCI Load Balancing Support for RAC Oracle 11g Oracle 12g Oracle 18c Oracle 19c 4 x faster 1.5 x faster Availability Copyright Ā© 2020, Oracle and/or its affiliates | * Documented features list is selective
  • 9. ā€¢ Major architectural improvements enable applications to achieve better availability and scalability ā€¢ Ready to meet the needs of next generation workloads and applications. ā€¢ Ensuring that regardless of failure, the stack will continue to run ā€¢ with minimum or no interruption to user sessions ā€¢ on both On-premises (Generic and Engineered Systems) and Oracle Cloud environments 9 New Generation Oracle RAC Availability Scalability 5x faster6x Improvement Copyright Ā© 2020, Oracle and/or its affiliates |
  • 10. Oracle RAC Development Focus Areas Better scalability & availability *Both Generic and Engineered systems Improved Session management *connection & faster Failover Application Server Efficient life cycle management for *Install, Patch, Manage Storage, Performance Copyright Ā© 2020, Oracle and/or its affiliates |
  • 11. SGA composition is very similar to Single Instance ā€¢ Buffer Cache ā€¢ Shared Pool ā€¢ Optional In-memory ā€¢ Misc. (Java Pool, Result Cache etc.) Oracle RAC instances includes additional internal components for Buffer Cache Management Simplified Buffer Cache Management Buffer Cache Shared Pool In- Memory Misc Total SGA S G A S G A S G A Buffer Cache Shared Pool In- Memory Misc Buffer Cache Shared Pool In- Memory Misc Shared Pool In- Memory Misc Copyright Ā© 2020, Oracle and/or its affiliates | Buffer Cache
  • 12. ā€¢ Internally each Buffer has a master which can be same instance or another instance ā€¢ Block master is referred to as Resource Master ā€¢ Resource Master tracks the state of the buffer (dirty, modified, clone etc.) ā€¢ Single Master can track state of different Buffers ā€¢ ā€œNOā€ manual setting or intervention required Oracle RAC Buffer Cache Optimizations B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B M MM M M MM M M MM M M MM M M MM M M MM M M MM M M MM M B Buffer M MasterB M Total SGA Copyright Ā© 2020, Oracle and/or its affiliates | 1 2 3 4
  • 13. ā€¢ Oracle RAC processes ā€¢ LMS, LMD, LCK, LMON, DIAG ā€¢ More fine grained processes introduced over the years ā€¢ Dia0 ā€“ Hang Manager ā€¢ Gcr0- Global Conflict Resolution slave ā€¢ Insv ā€“ DG broker communications ā€¢ IPC0- Basic messaging ā€¢ Lddn ā€“ LMD slave ā€¢ Ping ā€“ Interconnect measurement ā€¢ ACMS ā€“ CF Writes ā€¢ Threaded LMS process starting with Oracle RAC 18c Oracle RAC Process optimization Copyright Ā© 2020, Oracle and/or its affiliates | ps -o pid,cls,priority,cmd ā€“e|grep _lms 25111 TS ora_lms0_db1db21 <- 19.4 RDBMS 25113 TS ora_lms1_db1db21 <- 19.4 RDBMS 28682 RR ora_lms0_ustrapt11 <- 12.2 RDBMS 28684 RR ora_lms1_ustrapt11 <- 12.2 RDBMS
  • 14. ā€¢ Oracle RAC processes ā€¢ LMS, LMD, LCK, LMON, DIAG ā€¢ More fine grained processes introduced over the years ā€¢ Dia0 ā€“ Hang Manager ā€¢ Gcr0- Global Conflict Resolution slave ā€¢ Insv ā€“ DG broker communications ā€¢ IPC0- Basic messaging ā€¢ Lddn ā€“ LMD slave ā€¢ Ping ā€“ Interconnect measurement ā€¢ ACMS ā€“ CF Writes ā€¢ Threaded LMS process starting with Oracle RAC 18c Oracle RAC Process optimization Copyright Ā© 2020, Oracle and/or its affiliates | $ps -eLo 'pid tid cls cmd ' |grep cdb1|grep '_lm' 6970 6970 TS ora_lmon_rws17c 6972 6972 TS ora_lmd0_rws17c 6974 6977 RR ora_lms0_rws17c 6979 6979 RR ora_lmhb_rws1 6974 6981 TS ora_lms1_rws17c 6974 6983 TS ora_lms2_rws17c LMS runs in RR LMS slaves run in TS
  • 15. Timings with different #LMS: ā€¢ Total reconfiguration time for an instance leave & re-join ā€¢ 100GB cache ā€¢ 2 node RAC Reconfiguration Performance as of 19c Buffer Cache Size Reconfiguration Time 25GB 3.0 sec 50GB 4.9 sec 100GB 8.3 sec Timings with different cache sizes: ā€¢ Total reconfiguration time for an instance leave & re-join ā€¢ 8 LMSā€™s ā€¢ 2 node RAC # LMS Reconfiguration Time 8 LMSā€™s 8.3 sec 16 LMSā€™s 5.0 sec 32 LMSā€™s 3.6 sec Copyright Ā© 2020, Oracle and/or its affiliates |
  • 16. ā€¢ Sessions can connect to any instance to retrieve data ā€¢ Query from Inst 4 needs a block which is mastered on Node 1 ā€¢ It will send message to Block Master on Node 1 ā€¢ Node 1 makes a note of this request and grants the appropriate lock ā€¢ Node 3 sends message to Node 2 to send the block ā€¢ 3-Way communication ā€¢ Worse case scenario Fast and Consistent results Query Block Master Block Block with old SCN 1 3 2 Copyright Ā© 2020, Oracle and/or its affiliates | 1 2 3 4
  • 17. ā€¢ Resource master automatically moved to the instance where the buffer resides ā€¢ Optimizations during startup ensure that Master is on instance where most modifications occur ā€¢ Any change during runtime is managed via DRM (Dynamic Resource Mastering) Optimizations in Oracle RAC Buffer Cache management Total SGA Copyright Ā© 2020, Oracle and/or its affiliates | 1 2 3 4
  • 18. Oracle RAC features for Scalability Availability Copyright Ā© 2020, Oracle and/or its affiliates |
  • 19. Oracle RAC Always Chooses the ā€œRight Pathā€ ā€¢ RAC determines the optimal path to serve blocks ā€“ network or disk ā€¢ SSDs and NVMe storage technology continue to drive down latency ā€¢ e.g. flash storage may provide better access times to data than the private network under high load ā€¢ RAC takes those statistics into account Query BlockBlock Network congestion Benefit from storage improvements Copyright Ā© 2020, Oracle and/or its affiliates |
  • 20. LMS Slaves to mitigate Performance Outliers Copyright Ā© 2020, Oracle and/or its affiliates |
  • 21. Introducing LMS CR Slaves helps mitigate Performance outliers ā€¢ In previous releases, LMS work on incoming consistent read requests in sequential fashion ā€¢ Sessions requesting consistent blocks that require applying lot of undo may cause LMS to be busy ā€¢ Starting with Oracle RAC 12c Release 2, LMS offloads work to ā€˜CR slavesā€™ if the amount of UNDO to be applied exceeds a certain, dynamic threshold ā€¢ Default is 1 slave and additional slaves are spawned as needed Copyright Ā© 2020, Oracle and/or its affiliates |
  • 22. Service-oriented Buffer Cache Access Optimize for performance by co-locating data with the service to which it belongs NodeA NodeB ā€¢ Service-oriented Buffer Cache Access over time determines the data (on database object level) accessed by the service. This information ā€“ Is persisted in the database. ā€“ Is used to improve data access performance (e.g. do not manage data of a service in an instance that does not host the service). ā€“ Can be used to pre-warm an instance cache prior to a service startup (fresh start or relocation). ā€¢ Access level statistics are stored in the PDB dictionary Copyright Ā© 2020, Oracle and/or its affiliates |
  • 23. Hang Manager ā€¢ Hang Manager ā€œmanagesā€ database process(es) that are not progressing ā€¢ Manage includes detection and resolution ā€¢ Considers Cross-Layer Hangs I.E: Hangs caused by blocked ASM resource ā€¢ In addition, deadlocks are now resolved by Hang Manager ā€¢ User defined control via PL/SQL Early Warning exposed via (V$ view) ā€¢ New in 19c is the integration of DRF and Hang Manager to use DRF statistics Hang detection and resolution of hangs including cross-layer hangs in the Cluster Copyright Ā© 2020, Oracle and/or its affiliates |
  • 24. Hang Manager interventions reported via ORA-32701 Dump file ā€¦/diag/rdbms/hm6/hm62/incident/incdir_5753/hm62_dia0_12656_i5753.trc Oracle Database 12c Enterprise Edition Release 12.2.0.0.0 - 64bit Beta With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics and Real Application Testing options Build label: RDBMS_MAIN_LINUX.X64_151013 ORACLE_HOME: ā€¦/3775268204/oracle System name: Linux Node name: slc05kyr Release: 2.6.39-400.211.1.el6uek.x86_64 Version: #1 SMP Fri Nov 15 13:39:16 PST 2013 Machine: x86_64 VM name: Xen Version: 3.4 (PVM) Instance name: hm62 Redo thread mounted by this instance: 2 Oracle process number: 19 Unix process pid: 12656, image: oracle@slc05kyr (DIA0) *** 2015-10-13T16:47:59.541509+17:00 *** SESSION ID:(96.41299) 2015-10-13T16:47:59.541519+17:00 *** CLIENT ID:() 2015-10-13T16:47:59.541529+17:00 *** SERVICE NAME:(SYS$BACKGROUND) 2015-10-13T16:47:59.541538+17:00 *** MODULE NAME:() 2015-10-13T16:47:59.541547+17:00 *** ACTION NAME:() 2015-10-13T16:47:59.541556+17:00 *** CLIENT DRIVER:() 2015-10-13T16:47:59.541565+17:00 2015-10-13T16:47:59.435039+17:00 Errors in file /oracle/log/diag/rdbms/hm6/hm6/trace/hm6_dia0_12433.trc (incident=7353): ORA-32701: Possible hangs up to hang ID=1 detected Incident details in: ā€¦/diag/rdbms/hm6/hm6/incident/incdir_7353/hm6_dia0_12433_i7353.trc 2015-10-13T16:47:59.506775+17:00 DIA0 requesting termination of session sid:40 with serial # 43179 (ospid:13031) on instance 2 due to a GLOBAL, HIGH confidence hang with ID=1. Hang Resolution Reason: Automatic hang resolution was performed to free a significant number of affected sessions. DIA0: Examine the alert log on instance 2 for session termination status of hang with ID=1. 2015-10-13T16:47:59.538673+17:00 Errors in file ā€¦/diag/rdbms/hm6/hm62/trace/hm62_dia0_12656.trc (incident=5753): ORA-32701: Possible hangs up to hang ID=1 detected Incident details in: ā€¦/diag/rdbms/hm6/hm62/incident/incdir_5753/hm62_dia0_12656_i5753.trc 2015-10-13T16:48:04.222661+17:00 DIA0 terminating blocker (ospid: 13031 sid: 40 ser#: 43179) of hang with ID = 1 requested by master DIA0 process on instance 1 Hang Resolution Reason: Automatic hang resolution was performed to free a significant number of affected sessions. by terminating session sid:40 with serial # 43179 (ospid:13031) ORA-32701: Possible hangs up to hang ID=1 detected Incident details in: ā€¦/../hm62_dia0_12656_i5753.trc DIA0 terminating blocker (ospid: 13031 sid: 40 ser#: 43179) requested by master DIA0 process on instance 1 Hang Resolution Reason: Automatic hang resolution was performed to free a significant number of affected sessions. Alert log Copyright Ā© 2020, Oracle and/or its affiliates |
  • 25. Oracle RAC features for Scalability Availability Copyright Ā© 2020, Oracle and/or its affiliates |
  • 26. ā€¢ Pre-12.2, node eviction follows a rather ā€œignorantā€ pattern ā€¢ Example in a 2-node cluster: The node with the lowest node number survives. ā€¢ Customers must not base their application logic on which node survives the split brain. ā€¢ As this may(!) change in future releases Node Eviction Basics 1 Copyright Ā© 2020, Oracle and/or its affiliates |
  • 27. ā€¢ Node Weighting is a new feature that considers the workload hosted in the cluster during fencing ā€¢ The idea is to let the majority of work survive, if everything else is equal ā€¢ Example: In a 2-node cluster, the node hosting the majority of services (at fencing time) is meant to survive Node Weighting in Oracle RAC 12c Release 2 1 More services aka work Idea: Everything equal, let the majority of work survive Copyright Ā© 2020, Oracle and/or its affiliates |
  • 28. Secondary failure consideration can influence which node survives. Secondary failure consideration will be enhanced successively. 30 Smarter Eviction with Node Weighting A fallback scheme is applied if considerations do not lead to an actionable outcome. Public network card failure.Public network card failure.
  • 29. CSS_CRITICAL can be set on various levels / components to mark them as ā€œcriticalā€ so that the cluster will try to preserve them in case of a failure. Customized Eviction with Node Weighting CSS_CRITICAL will be honored if no other technical reason prohibits survival of the node which has at least one critical component at the time of failure. ? CriticalCritical More services aka work Copyright Ā© 2020, Oracle and/or its affiliates |
  • 30. Memory Guard ā€“ Attempt to prevent Evictions ā€¢ Monitors memory allocated and detects conditions that may result in swapping ā€¢ Issues alert should any server be at risk ā€¢ Stops services transactionally on the server ā€¢ This prevents any new applications connections ā€¢ Re-starts the services once the excess memory allocation issue is cleared Over provisioning of memory is the leading cause of evictions Copyright Ā© 2020, Oracle and/or its affiliates |
  • 31. Near Zero Downtime Reconfiguration with Recovery Buddy 6x faster! * ā€¢ Tracks blocks changes on buddy instance ā€¢ Quickly identifies blocks requiring recovery during reconfiguration ā€¢ Allows rapid processing of new transactions ā€¢ * ~6 times faster with ā€œRecovery Buddyā€ and Optimized (Singleton) Reconfiguration Time - 4x compared to 11gR2 and 12cR2c - 1.5x compared to 11gR2 and 18c ā€¢ Fast track non mastered resources Optimize recovery to dramatically reduce brownouts Copyright Ā© 2020, Oracle and/or its affiliates |
  • 32. ā€¢ Detect Node/Instance Hang/Death ā€¢ Evict the dead/hung Instance/Node ā€¢ Elect a Recovery Master (RM) ā€¢ One of the surviving instance process (SMON) will get lock and be elected RM ā€¢ RM will then ā€¢ read redo of evicted instance ā€¢ apply recovery ā€¢ signal completion High Level Reconfiguration Stages 34 Detect Evict Elect Recovery Read Redo Apply Recovery Copyright Ā© 2020, Oracle and/or its affiliates |
  • 33. ā€¢ Buddy Instances eliminate the ā€œElect Recovery Masterā€ phase ā€¢ Redo-read is optimized via memory-reads ā€¢ Apply recovery is optimized as switching between read and writes is no longer required 35 Detect Evict Elect Recovery Read Redo Apply Recovery Reduced Reconfiguration time with ā€œRecovery Buddyā€ Copyright Ā© 2020, Oracle and/or its affiliates |
  • 34. 1. Buddy Instance mapping is simple ( 1 Ć  2, 2 Ć  3, 3 Ć  4, 4 Ć  1) 2. Recovery buddies are set during instance startup 3. RMS0 on each recovery buddy instance maintains an in-memory area of redo log change 4. The in-memory area is used during recovery therefore eliminating the need to physically read the redo Buddy Instances ā€“ Under the Hood 36 1. Inst1 is recovery buddy for Inst2 2. Inst2 is recovery buddy for 3 and so-on 3. Recovery buddy mapping will change as new instances join or leave For e.g If inst3 crashes, a new recovery buddy will be assigned to Inst 4 Inst 1 Inst 2 Inst 3 Inst 4 Recovery Buddy 2 Recovery Buddy 3 Recovery Buddy 4 MyCluster Recovery Buddy 1 Copyright Ā© 2020, Oracle and/or its affiliates |
  • 35. During planned shutdown ā€¢ Distribute Resource Masters before shutdown ā€¢ Distribution before shutdown does not require any recovery on the surviving instances ā€¢ Effectively reduces the time spent on reconfiguration during planned outages to zero ā€¢ During unplanned outages ā€¢ Rolling Windows to reduce impact of reconfiguration ā€¢ During runtime ā€¢ Smart DRM Zero Downtime for Planned outages B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B B BB B M MM M M MM M M MM M M MM M M MM M M MM M M MM M M MM M Global Resource Directory B Buffer M MasterB M
  • 36. Oracle RAC HA and Scalability features for MultiTenant In MemoryData Guard Even higher HA and Scalability on Exadata & * selective features depicted Copyright Ā© 2020, Oracle and/or its affiliates |
  • 37. ā€¢ Until now, Data Guard Standby redo Apply typically runs on one instance ā€¢ All the instances on the standby site can receive the changes from RFS ā€¢ But only one instance will be running the media recovery process (MRP) process Data Guard Standby Redo Apply 1 Copyright Ā© 2020, Oracle and/or its affiliates |
  • 38. Multi-Instance Redo Apply Parallel, multi-instance recovery means ā€œthe standby DB will keep upā€ ā€¢ Standby recovery - utilizes CPU and I/O across all nodes of RAC standby ā€¢ Up to 3500MB+/sec apply rate on an 8 node RAC Multi-Instance Apply runs on all MOUNTED instances or all OPEN Instances Exposed in the Broker with the ā€˜ApplyInstancesā€™ property on standby Utilize all the RAC Instances on standby to apply Redo recover managed standby database disconnect using instances 4; Copyright Ā© 2020, Oracle and/or its affiliates |
  • 39. ā€¢ Data Guard Standby redo Apply can now run on ALL instances or a subset of instances ā€¢ Media recovery is performed in parallel as media recovery process (MRP) process is running on multiple instances ā€¢ MIRA ensures standby can keep up with changes coming from multiple Oracle RAC instances on Primary Multi-Instance Redo Apply (MIRA) 1 2 Copyright Ā© 2020, Oracle and/or its affiliates |
  • 40. Oracle RAC provides HA and Scalability to MultiTenant In MemoryData Guard Even higher HA and Scalability on Exadata & * selective features depicted above Copyright Ā© 2020, Oracle and/or its affiliates |
  • 41. Single Domain (domain 0) at the CDB level for all PDBs Operations like PDB start, stop, reconfigurations etc rely on the single Domain Accessing a resource from hash table using single Domain affected as the number of PDBs increases (> 250) Pdb-1 Pdb-2 Pdb-3 Pdb-4 Domain 0 Instance SGA Resource Hash Table Oracle Multitenant Domains Copyright Ā© 2020, Oracle and/or its affiliates |
  • 42. With Oracle Database 12c Rel. 2, Each PDB gets its own PDB specific domain ID GES & GCS resources are balanced across PDB-specific domain ID Resulting in improved, consistent performance ā€¢ One chatty PDB will not affect the performance of any another PDB ā€¢ Reduced Hash table size as hash table is only created on the instances where PDB is running Oracle Multitenant Scalability Optimization Domain1 Resource Hash Table Resource Hash Table Resource Hash Table Resource Hash Table Domain 2 Domain 3 Domain 4 Copyright Ā© 2020, Oracle and/or its affiliates |
  • 43. Oracle RAC optimization for Multitenant Prevents ā€œnoisy neighborsā€ from affecting others with unnecessary chatter NodeA NodeB Using Oracle Multitenant, PDBs can be opened as singletons (in one database instance only), in a subset of instances or all in instances at once. If certain PDBs are only opened on some instances, Pluggable Database Isolation ā€¢ improves performance by - Reducing DLM operations for PDBs not open in all instances. - Optimizing block operations based on in-memory block separation. MSG Messages (MSG) Copyright Ā© 2020, Oracle and/or its affiliates |
  • 44. Oracle RAC PDB Service Isolation Limits impact of instance failures where PDBs are running NodeA NodeB Isolation ensures that instance failures of instances only hosting singleton PDBs will not impact other instances of the same RAC-based CDB. Copyright Ā© 2020, Oracle and/or its affiliates |
  • 45. Oracle RAC provides HA and Scalability to MultiTenant In MemoryData Guard Even higher HA and Scalability on Exadata & * selective features depicted above Copyright Ā© 2020, Oracle and/or its affiliates |
  • 46. Oracle RAC with Database In-Memory ā€¢ Auto DOP must be used to access Data ā€¢ With Auto DOP query coordinator is aware of IMCU locations ā€¢ Query coordinator automatically starts parallel server processes on the correct nodes Copyright Ā© 2020, Oracle and/or its affiliates |
  • 47. Unique Fault Tolerance on Exadata ā€¢ Similar to storage mirroring ā€¢ Duplicate in-memory columns on another node Enabled per table/partition Application transparent ā€¢ Downtime eliminated by using duplicate after failure Only Available on Engineered Systems Copyright Ā© 2020, Oracle and/or its affiliates |
  • 48. Oracle RAC provides HA and Scalability to MultiTenant In MemoryData Guard Even higher HA and Scalability on Exadata & * selective features depicted above Copyright Ā© 2020, Oracle and/or its affiliates |
  • 49. ā€¢ Subnet Manager for Instant Failure Detection ā€¢ Network (Subnet Manager) ā€¢ Disk (Diskmon) ā€¢ More details available at ā€¢ https://www.slideshare.net/AnilNair27/oracle-rac- features-on-exadata Oracle RAC Exadata optimizations Copyright Ā© 2020, Oracle and/or its affiliates | Instant Failure Detection instantly detects node death 2018-02-03 13:33:27.724 : CSSD:866105088: clssnmeventhndlr: EXADATA NodeDeath detection from GIPC for node xyzadm1 number 1 2018-02-03 13:33:28.457 : CSSD:971667200: clssnmvDiskEvict: Begin: Kill block write, file CSS receives Node death event from GIPC Eviction detected in less than 1 sec 13:33:27.724 13:33:28.457 00:00:00.733
  • 50. Cache Fusion Optimizations on Exadata ā€¢ Utilize RDMA for ā€¢ Propagating BoC (Broadcast on commit) ā€¢ Reduce messages (2 instead of 5) ā€¢ Reduce CPU usage on LMS ā€¢ Sending current read blocks ā€¢ Very common access pattern in various workloads ā€¢ Sending Commit Cache messaging ā€¢ https://www.slideshare.net/AnilNair27/oracle-rac-features-on-exadata (Slide#43) ā€¢ Reduces load on LMS from remote node ā€¢ Direct read than sending an 8k block ā€¢ Sending Undo block ā€¢ https://www.slideshare.net/AnilNair27/oracle-rac-features-on-exadata (Slide#44) Copyright Ā© 2020, Oracle and/or its affiliates |
  • 51. Right Growing Index - Not really a RAC specific issue ā€¢ Affects Scalability due to waits on Index splits When possible utilize Scalable Sequences* Optimized Leaf block splits ā€¢ Reduce Messaging Cache Fusion on Exadata - Commit Cache, Undo Block RDMA Read, Smart Fusion Block transfer Solving Right Growing Index problem 0 10 20 30 40 50 60 0 8 16 24 32 40 48 56 64 Executions/sec(thousands) # Clients / Instance (4 RAC instances) 11.2.0.4 Baseline 12.1.0.2 Baseline 12.2 with all optimizations 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 10 5 6 7 8 9 10 11 12 11 12 13 14 158 9 10 Copyright Ā© 2020, Oracle and/or its affiliates |
  • 52. Detecting (RGI) Performance Issues Total Wait Avg % DB Wait Event Waits Time (sec) Wait time Class ------------------------------ ----------- ---------- --------- ------ -------- gc buffer busy release 556,910 1484.3 2.67ms 32.0 Cluster enq: TX - index contention 74,060 1006.1 13.58ms 21.7 Concurre gc buffer busy acquire 853,180 860.7 1.01ms 18.5 Cluster gc index operation 167,564 721.6 4.31ms 15.5 Cluster buffer busy waits 235,076 176.2 749.34us 3.8 Concurre DB CPU 167.5 3.6 latch: cache buffers chains 355,780 97.6 274.20us 2.1 Concurre latch: ges resource hash list 66,582 46.9 703.73us 1.0 Other gc current split 6,088 23.4 3.84ms .5 Cluster gc current block busy 17,548 21.9 1.25ms .5 Cluster 22% for global enqueue handling 50% for global buffer contention Copyright Ā© 2020, Oracle and/or its affiliates |
  • 53. ā€¢ Improved algorithm reduced the high rate of leaf node split cancels under higher concurrency due to ongoing cleanouts ā€¢ Code optimizations improve concurrency (reduce the cancels) and improve diagnosability ā€¢ Internal benchmark reported a significant performance improvement Improving (RGI) Workload Performance Baseline Optimized Overall throughput 5,278 9,381 Leaf node splits / sec 42 82 Split cancels / sec 3.8 0.7 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 Base Line Optimized 50% Copyright Ā© 2020, Oracle and/or its affiliates |
  • 54. ā€¢ Sequences cause Index block contention during heavy OLTP especially on tables which use sequence values as keys ā€¢ This is not RAC specific but the problem gets amplified in RAC environments ā€¢ The effects of this issue is mitigated via Scalable Sequences Sequence contention Copyright Ā© 2020, Oracle and/or its affiliates |
  • 55. New option in Create/Alter Sequence SCALE {Extend |NoExtend | NoScale } When Scale is specified an internal algorithm uses the instance id and other session specific information to generate an offset DBAs need to alter existing sequences DBA/User/ALL_sequences will reflect the additional attributes Further Improve RGI workload performance using Scalable Sequences Scalable Sequences Copyright Ā© 2020, Oracle and/or its affiliates |
  • 56. Maintain a small in-memory cache of committed transactions Transfer multiple XIDā€™s efficiently in a single batched message In-memory Transaction Table 0 0.05 0.1 0.15 0.2 0.25 0.3 Base 12.2 Tx Table Enabled Total Transfers / sec (normalized by throughput) Data Block (current) TX Header (CR) TX Table Message 14x Improvement Copyright Ā© 2020, Oracle and/or its affiliates |
  • 57. Undo Block RDMA-read ā€¢ In some workloads, more than half of remote reads are for Undo blocks to satisfy read consistency ā€¢ Undo Block RDMA-read uses RDMA to directly and rapidly access UNDO blocks in remote instances Commit Cache ā€¢ Commit Cache maintains an in-memory table on each instance which records the commit time of transactions ā€¢ Remote LMS directly reads the commit cache and sends back commit times for requested transactions. ā€¢ Replaces having to send entire 8K transaction table block RAC Optimizations for Exadata UNDOUNDO RDMA RDMA Copyright Ā© 2020, Oracle and/or its affiliates |
  • 58. ā€¢ On Exadata, Oracle does not wait for the log write notification ā€¢ Exadata ensures the log write completes before changes to block on another instance commit, guaranteeing durability ā€¢ Wait for Log I/O during transfer of hot blocks is eliminated ā€¢ Up to 40% throughput and 33% response time improvement in some heavily contended OLTP workloads ā€¢ Storage software ensures correct ordering of writes Smart Fusion Block Transfer 1. Issue log write 2. Wait for log write completion 3. Transfer block Exadata Avoids I/O Wait confirmation Storage Copyright Ā© 2020, Oracle and/or its affiliates |
  • 59. ā€¢ Exafusion direct-to-wire optimization eliminates costly context switches ā€¢ Works on both RoCE/InfiniBand deployments ā€¢ Exafusion along with IPCLW provides blazing performance ā€¢ Database directly calls InfiniBand hardware ā€¢ Bypassing networking software stack, interrupts, scheduling Exafusion Direct-to-Wire OLTP Protocol 8K OLTP Block Transfers/sec RoCE/InfiniBandExafusion RoCE/InfiniBand 10GigE 3X Speedup Copyright Ā© 2020, Oracle and/or its affiliates |
  • 60. New background: IPC0 ā€¢ Registers (pins) IPC buffers for all processes to the InfiniBand HCA New memory pool: MGA (Managed Global Area) ā€¢ IPC buffers are allocated in the MGA (used to be the PGA before Exafusion) ā€¢ MGA allows a set of processes to efficiently share an address space ā€¢ MGA is not SGA or PGA, but something in-between Exafusion_Enabled is deprecated Providing even more Scalability InfiniBand/RoCE HCA SGA Buffer OracleO/S Buffer InfiniBand/RoCE HCA SGA Buffer Oracle Copyright Ā© 2020, Oracle and/or its affiliates | Global Cache NIC Driver , IP stack Context switch IPCWire usersys
  • 61. And even Higher Availability By lowering brownout time 11204 4 x 1.5 x 12.2 18.1 https://www.slideshare.net/AnilNair27/new-availability-features-in-oracle-rac-12c-release-2-anair-ss Copyright Ā© 2020, Oracle and/or its affiliates |
  • 62. Oracle RAC Development Focus Areas Better scalability & availability *Both Generic and Engineered systems Improved Session management *connection & faster Failover Application Server Efficient life cycle management for *Install, Patch, Manage Storage, Performance Copyright Ā© 2020, Oracle and/or its affiliates |
  • 63. ā€¢ Sessions connect to the database directly or via connection pool using SCAN and service name ā€¢ SCAN listener redirects the session to the database listener ā€¢ Sessions can benefit from load balancing (connection/runtime) ā€¢ Connection pool gets notified of CPU load, # of sessions, node failures and other such events by Oracle Notification Services Session Connection Basics ODP.Net, OCI, Connection Pool Single Client Access Network Failover, Load and other Notifications Copyright Ā© 2020, Oracle and/or its affiliates |
  • 64. ā€¢ Public network and instance health is constantly monitored by Grid Infrastructure ā€¢ On failure, GI will relocate the VIP ā€¢ Existing connection requests will receive error as GI will send a GARP ā€¢ ONS consumers like SCAN listeners, Connection Pools get notified of failure Failures Handling ODP.Net, OCI, Connection Pool Single Client Access Network New Connection request Scan Listener routes to DB listener on first node Instance or Public Network failure GI relocates VIP to another instance Connection attempted on VIPInstant Error instead of waiting on TCP timeout Retry Connection ONS Event Notification Gratuitous ARP Arp Table update Copyright Ā© 2020, Oracle and/or its affiliates |
  • 65. Recommended TNS Connector String ALIAS =(DESCRIPTION = (TRANSPORT_CONNECT_TIMEOUT=3) (ADDRESS_LIST = (CONNECT_TIMEOUT=90) (RETRY_COUNT=20) (RETRY_DELAY=3) (LOAD_BALANCE=on) ( ADDRESS = (PROTOCOL = TCP)(HOST=primary-scan)(PORT=1521))) (ADDRESS_LIST = (CONNECT_TIMEOUT=120) (RETRY_COUNT=20) (RETRY_DELAY=3) (LOAD_BALANCE=on) ( ADDRESS = (PROTOCOL = TCP)(HOST=secondary-scan)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME = gold-cloud))) Standard for All Drivers starting with Oracle Database 12.2 Secs to wait for a TCP connection *Same as SQLNET.Connect_Timeout Secs to wait for a successful connection *Same as SQLNET.Outbound_Connect_Timeout Copyright Ā© 2020, Oracle and/or its affiliates |
  • 66. Test your Failover timings Case1 Case 2 Case 1 Vanilla tnsnames.ora with default Connect_Timeout, Retry_count, RETRY_DELAY, TRANSPORT_CONNECT_TIMEOUT Simulate network failure $tnsping OK (62, 860 msec) ~~1 minute wait (TCP_TIMEOUT) Case 2 Tuned tnsnames.ora with optimized values for Connect_Timeout = 90, Retry_count = 1, RETRY_DELAY=3, TRANSPORT_CONNECT_TIMEOUT=3 $tnsping OK (3070 msec) = ~~3 seconds (Almost no delay) Commented Copyright Ā© 2020, Oracle and/or its affiliates |
  • 67. Tag your Sessions to optimally route work ā€¢ Optimize your connections by co- locating similar work pattern to one Oracle RAC Instance ā€¢ Oracle RAC routes connections with same COLOCATION_TAG to same instance* (when possible) ā€¢ ALIAS =(DESCRIPTION = (CONNECT_DATA= (SERVICE_NAME = gold-cloud))) ā€¦. (CONNECT_DATA= (SERVICE_NAME=Orders) (COLOCATION_TAG=ORDER) Orders SalesPayroll Copyright Ā© 2020, Oracle and/or its affiliates |
  • 68. ā€¢ Connect via a service to a connection pool (CP) ā€¢ CP provides a connection to an instance to perform transactions ā€¢ Session experiences failure during ongoing work ā€¢ CP provides another session to surviving instance ā€¢ Continues to perform work ā€¢ Results returned to the user While benefitting from Application Continuity to mask Failures 1 2 3 4 5 6 UCP, JDBC, ODP.Net, OCI Session Pool, Tuxedo, WebLogic āœ“ From both planned and unplanned maintenance 1 2 3 4 5 6 Copyright Ā© 2020, Oracle and/or its affiliates |
  • 69. How to enable Application Continuity (AC)? ā€¢ Database and client (driver) version >= Oracle 12c ā€¢ Enable AC on the Service ā€¢ $srvctl modify service ā€“db <mydb> -service myac_svc ā€“failovertype TRANSACTION -commit_outcome TRUE * *comprehensive steps included in AC white paper (URL included in notes) ā€¢ Use the recommended tnsnames.ora or JDBC URL ā€¢ Use Orachk: ($orachk ā€“accheck) ā€¢ AWR report: (User calls in = User calls protected) Copyright Ā© 2020, Oracle and/or its affiliates |
  • 70. Session ā€¢ Connects via a service an instance and performs insert, update and delete operations ā€¢ Node/Instance failure in the middle of ongoing work ā€¢ Receives Notification ā€¢ Reconnects to surviving instance and continues where it was left off ā€¢ Results returned to the user Application Continuity (TAC) UCP, JDBC, ODP.Net, OCI Session Pool, Tuxedo, WebLogic āœ“ Can this get Any better? 4 5 1 2 3 4 5 2 3 1 Copyright Ā© 2020, Oracle and/or its affiliates |
  • 71. Application Continuity (AC), or TAF My Application uses.. AC TAC TAF I donā€™t know No Yes No Transactions Yes Yes No Oracle state (temp lobs, PL/SQL, temp tables, aq..) Yes Yes No No connection pool No Yes Yes Initial state on the session Yes and custom Yes and custom Yes and custom Side effects (utl_mail, dbms_file_transfer..) Yes and Custom Yes Not replayed No Copyright Ā© 2020, Oracle and/or its affiliates |
  • 72. Oracle RAC Development Focus Areas Better scalability & availability *Both Generic and Engineered systems Improved Session management *connection & faster Failover Application Server Efficient life cycle management for *Install, Patch, Manage Storage, Performance Copyright Ā© 2020, Oracle and/or its affiliates |
  • 73. Install Patch Manage Tune ā€¢ Installer Optimizations ā€¢ Gold Image ā€¢ gridSetup.sh ā€¢ Patch ā€¢ SwitchGridHome ā€¢ Opatch ā€¢ Storage Management ā€¢ Flex Disk Group ā€¢ Tune ā€¢ AWR Metrics Life Cycle Management Copyright Ā© 2020, Oracle and/or its affiliates |
  • 74. Copyright Ā© 2020, Oracle and/or its affiliates |
  • 75. 1. Download base release ā€¢ Unzip into GI HOME ā€¢ Unzip patch into separate directory 2. Apply Patch (RU/RUR) [-applyPSU] ā€¢ gridSetup.sh ā€“applyRU <path_to_patch> 3. Zip, copy and deploy customized GI Home multiple times Create Custom Gold image ā€¢ Opatch lsinventory ā€¢ Provides detailed home info ā€¢ New Versioning scheme ā€¢ 19.7 ĆØ Version 19, RU 7 ā€¢ Possible but not recommended to have 19.4 GI with 19.7 database Copyright Ā© 2020, Oracle and/or its affiliates |
  • 76. ā€¢ One command to Install configure & Upgrade ā€¢ Add/Delete Node ā€¢ Reduce Intermediate steps ā€¢ Lenient mode ā€¢ DevOps Friendly gridSetup $./gridSetup.sh ā€“dryRunForUpgrade Copyright Ā© 2020, Oracle and/or its affiliates |
  • 77. Reduce Installation steps Image-based (12.1) Image-based (12.2 and higher) Download shiphome zip files from OTN Download image zip files from OTN Unzip grid1/2.zip to some stage location (stage_loc) No stage_loc Execute <stage_loc>/runInstaller.sh - Bootstraps files to some temp area (1GB) No bootstrapping Copies files from <stage_loc> to OH No copy needed Zip up the OH and store it as image files - Unzip image files to OH on all nodes of the cluster Unzip image files to OH on one of the nodes of cluster Execute clone.pl on all nodes of cluster Not needed Run config.sh from one of the nodes Run gridSetup.sh from one of the nodes Copyright Ā© 2020, Oracle and/or its affiliates |
  • 78. ā€¢ Environment changes, incorrect permissions of binaries can prevent stack startup ā€¢ Oracle 19c Clusterware stack attempts to auto-diagnose unsuccessful startup issues ā€¢ Provides detailed logging in case of failures CRS-41053: checking Oracle Grid Infrastructure for file permission issues PRVG-2031 : Owner of file ā€ā€¦gipcd.bin" did not match the [Expected="grid(54320)" Found="oracle(54325)"] Oracle Clusterware start Diagnostics init cssdAgent cssdmonitor ohasd oraAgent cssd crsd ctssd HAIP ACFS mdnsd gipcd evmd ASM *NOT all daemons are shown in illustration above oraRootAgent Copyright Ā© 2020, Oracle and/or its affiliates |
  • 79. Copyright Ā© 2020, Oracle and/or its affiliates |
  • 80. gridSetup features for Upgrade, Patching ā€¢ SwitchGridHome ā€¢ gridSetup ā€“switchgridhome option for out of place patching ā€¢ Autoupgrade ā€¢ Fully integrated with orachk (orachk -preupgrade) ā€¢ Updates new home using srvctl ā€“upgrade Copyright Ā© 2020, Oracle and/or its affiliates | /u01/app/grid/19.3 /u01/app/grid/19.7
  • 81. Copyright Ā© 2020, Oracle and/or its affiliates |
  • 82. Compute Storage Copyright Ā© 2020, Oracle and/or its affiliates |
  • 83. ā€¢ Provision and Patch 11.2, 12.1, 12.2, 18c, 19c Grid Infrastructure & Databases ā€¢ Performs addNode and deleteNode operations ā€¢ Standardizes Customer software installs via the use of Gold Images ā€¢ Provisions Grid Infrastructure, RAC, RAC One, Single Instance and Applications ā€¢ Automation to save you countless hours performing these tiring tasks Fleet Provisioning and Patching & Upgrade FPP is new name for RHP Add/Delete Node Install Patch ! ! ! Copyright Ā© 2020, Oracle and/or its affiliates |
  • 84. Zero Downtime Migration, Upgrade (ZDM, ZDU) Migrate ! Upgrade ! Copyright Ā© 2020, Oracle and/or its affiliates |
  • 85. ā€¢ Configure during Installation ā€¢ Reject non-Oracle I/O ā€¢ Stops OS utilities from overwriting ASM disks ā€¢ Protects database files ā€¢ Reduce OS resource usage ā€¢ Fewer open file descriptors ā€¢ Faster node recovery ā€¢ Further configuration and monitoring is conducted by using the AFDTOOL utility: ā€¢ Provision a disk: $ afdtool -add /dev/dsk1 disk1 ā€¢ Remove a disk: $ afdtool -delete disk1 ā€¢ List the managed disks: $ afdtool -getdevlist Manage devices with Filter Driver Copyright Ā© 2020, Oracle and/or its affiliates |
  • 86. ā€¢ New Disk Group type provides fine grained mirroring and redundancy ā€¢ File Group: a database-specific construct ā€¢ Quota Groups: flexible quota management at a file group level ā€¢ Flexible and modifiable database- specific properties ā€¢ ASM point-in-time database clones ā€¢ Define quotas at PDB level Manage storage with Flex Disk Group Copyright Ā© 2020, Oracle and/or its affiliates | Flex Disk Group DB1 File 1 File 2 File 3 DB2 File 1 File 2 File 3 File 4 DB3 File 1 File 2 File 3 Quota DB3 File 1 File 2 File 3
  • 87. Copyright Ā© 2020, Oracle and/or its affiliates |
  • 88. ā€¢ Monitor memory allocation and usage within the database ā€¢ Optimizing memory usage especially in Large SGAs ā€¢ Dynamic Internal Structures ā€¢ Smarter DRM ā€¢ Optimized Messaging Oracle RAC Database Reliability Framework (DRF) Copyright Ā© 2020, Oracle and/or its affiliates |
  • 89. Database Reliability Framework Details Runs in LMHB Process ā€¢ Re-startable ā€¢ Non Fatal Relies on Metrics and Actions Action Related metrics report high cpu oracle instance processes cpu load, cpu threshold, bg heartbeat, cpu load (global) report high memory oracle instance processes memory load, memory threshold kill instance memory hog memory load, memory threshold enable rm plan cpu load, bg slowing (2) switch process to elevated priority cpu load, bg slowing (3) switch process from elevated priority cpu load, bg heartbeat shrink or grow resource cache library cache pin waits cap total processes at elevated priority cpu number enable drm cpu load, drm checks disable drm cpu load, drm checks increase default number of lms cr blocks congested, current blocks congested Metric Scope o/s memory Node Global o/s load Node Global bg heartbeat Global DRM health check Global library cache pin waits Local CFIO waits Global gc block lost Local gc block busy Local Copyright Ā© 2020, Oracle and/or its affiliates |
  • 90. AWR Report Integrated AWR and ADDM Copyright Ā© 2020, Oracle and/or its affiliates |
  • 91. Reconfiguration Diagnosability **************** BEGIN DLM RCFG HA STATS **************** Total dlm rcfg time (inc 6): 3.586 secs (394926177, 394929763) Begin step .........: 0.005 secs (394926177, 394926182) Freeze step ........: 0.019 secs (394926182, 394926201) Sync 1 step ........: 0.002 secs (394926264, 394926266) Sync 2 step ........: 0.024 secs (394926266, 394926290) Enqueue cleanup step: 0.002 secs (394926290, 394926292) Sync pcm1 step .....: 0.004 secs (394926293, 394926297) ā€¦ā€¦ ā€¦. Enqueue dubious step: 0.004 secs (394926432, 394926436) Sync 5 step ........: 0.000 secs (394926436, 394926436) Enqueue grant step .: 0.001 secs (394926436, 394926437) Sync 6 step ........: 0.012 secs (394926437, 394926449) Fixwrt replay step .: 0.885 secs (394928837, 394929722) Sync 8 step ........: 0.040 secs (394929722, 394929762) End step ...........: 0.001 secs (394929762, 394929763) Number of replayed enqueues sent / received .......: 2246 / 893 Number of replayed fusion locks sent / received ...: 124027 / 0 Number of enqueues mastered before / after rcfg ...: 2058 / 1384 **************** END DLM RCFG HA STATS ***************** Detailed timing breakdown available in LMON trace file Copyright Ā© 2020, Oracle and/or its affiliates |
  • 92. DRM Diagnosability Dynamic Remastering Statistics DB/Inst: SALES/sales1 Snaps: 393-452 -> Affinity objects - Affinity objects mastered at the begin/end snapshot -> Read-mostly objects - Read-mostly objects mastered at the begin/end snapshot per Begin End Name Total Remaster Op Snap Snap -------------------------------- ------------ ------------- -------- -------- remaster ops 24 1.00 remastered objects 24 1.00 remaster time (s) 7.4 0.31 freeze time (s) 1.5 0.06 cleanup time (s) 2.4 0.10 replay time (s) 0.3 0.01 fixwrite time (s) 2.4 0.10 sync time (s) 0.1 0.01 affinity objects N/A 3 27 read-mostly objects N/A 0 0 read-mostly objects (persistent) N/A 0 0 Detailed timing breakdown available in AWR Report Copyright Ā© 2020, Oracle and/or its affiliates |
  • 93. Global AWR ā€“ Tune multiple instances with one report Instance 1 is clearly more busier than rest Copyright Ā© 2020, Oracle and/or its affiliates |
  • 94. Global AWR ā€“ Summary along with details Copyright Ā© 2020, Oracle and/or its affiliates |
  • 95. Global AWR ā€“ Platform specific Information Histograms to show outliers Copyright Ā© 2020, Oracle and/or its affiliates |
  • 96. Oracle RAC is the #1 proven Choice for Scalability & Availability Copyright Ā© 2020, Oracle and/or its affiliates |
  • 97. Wide choice of Platforms: On-Prem or Cloud Autonomous Database Exadata Cloud Service Oracle RAC on Generic systems in Oracle Cloud Oracle Exadata Generic System AutomaticManual Copyright Ā© 2020, Oracle and/or its affiliates |