Professional Documents
Culture Documents
12carch and New Features MM
12carch and New Features MM
Martin Millstam
Senior Sales Consultant
Using
A standardized and improved
deployment and management
A familiar and matured HA stack
What is it?
What does it do?
Private Lan /
Interconnect
SAN SAN
Network Voting Network
Disk
5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
What does CSSD do?
CSSD monitors and evicts nodes
• Monitors nodes using 2 communication channels:
– Private Interconnect Network Heartbeat
– Voting Disk based communication Disk Heartbeat
• Evicts (forcibly removes nodes from a cluster)
nodes dependent on heartbeat feedback (failures)
CSSD CSSD
“Ping”
CSSD CSSD
One to One
Mapping of ASM DBA DBA DBB DBB DBB DBC
ASM Instance
Instances to
Servers
Node1
ASM Node2 ASM Node3
ASM Node4
ASM Node5 ASM
One to One
Mapping of ASM DBA
ASM Instance
DBA DBB DBB DBB DBC
ASM Instance
Instances to
Servers
Node1 ASM Node2 ASM Node3 ASM Node4
ASM Node5 ASM
Databases share
ASM instances DBA
ASM Instance
DBA DBB DBB DBB DBC
ASM Instance
Why?
How?
Increasing Consolidation
Increasing Consolidation
PDBs
Root
Pluggable Databases (PDBs)
CDB
Plug
create pluggable database My_PDB
using '/u01/app/oracle/oradata/…/hcm.xml'
ta ta ta
r Da y Da Da
se
r r ar
y r ry
U na se n se na
io U io U io
D ic t ic t ic t
D D
ta ta ta
Da Da Da
ta ta ta
Da Da Da
ta ta ta
Me Me Me
Multitenant fix:
Horizontally-
partitioned data
dictionary
Only Oracle system
OBJ$ TAB$ SOURCE$ EMP DEPT
definition remains
Data dictionary is
… … diluted by customer’s
metadata
Oracle-supplied
OBJ$ TAB$ SOURCE$ EMP DEPT
objects such as
views, PL/SQL, etc.,
… … are shared across
all PDBs using
object “stubs”
OBJ$ TAB$ SOURCE$ In-database
virtualization
…
GB
1.5
1
0.5
0
CRM HCM ERP BI DW
Pluggable Database
Pluggable
Pluggable Database
Database
Services
Database Instance
Database Instance
Server
Server
Services
RAC Instance 1
Node 1 Node 2
Node 1
Node1 Node2
CDB
Node1 Node2
CDB
Node1 Node2
✔
outages when successful
End User
Application Servers
Application Servers
Network Switches
Database Servers
racdb1_1 racdb1_2
racdb1_3 racdb1_4
1 2
Data is either stored
racdb1_1 racdb1_2
Oracle RAC Oracle RAC 1. Locally (local cache) access time: nanoseconds
Oracle GI Oracle GI
dasher dancer 2. Remote (global cache) access time: micros.
3. “On disk”
Flash cache access time: microseconds
Disk controller cache access time: micros.
racdb1_3 racdb1_4
Spinning disk access time: milliseconds
Oracle RAC Oracle RAC
Oracle GI Oracle GI
comet vixen
racdb1_1 racdb1_2
Log buffer
Global Enqueue Service
LM
Global Cache Service
racdb1_3 racdb1_4
Oracle Oracle LM
Process Process LMD0 HB LMON LMSx DBW0 LGWR
Oracle RAC Oracle RAC
Oracle GI Oracle GI
comet vixen
racdb1_3 racdb1_4
Ordered Sequences
– Do not scale well in Oracle RAC
racdb1_3 racdb1_4 – Solution: Use them only on one instance
in active-passive configuration
Oracle RAC Oracle RAC
Oracle GI Oracle GI Create multiple per application
comet vixen
Oracle RAC Oracle RAC – QoS feature – available in monitoring only mode
Oracle GI Oracle GI – Prevents new connections from coming in to a
comet vixen
server that is already under memory pressure
More information:
– My Oracle Support note 361323.1 –
HugePages on Linux: What It Is... and What It Is Not...
– My Oracle Support note 401749.1 – Shell Script to
Calculate Values Recommended Linux HugePages /
HugeTLB Configuration