Professional Documents
Culture Documents
Data Guard Performance
Data Guard Performance
Performance
Geovanni Vega Velasquez
Database Brand Manager Oracle Mexico
Note to viewer
Note to viewer
See this FAQ for more customer and sales collateral
http://database.us.oracle.com/pls/htmldb/f?p=301:75:1014514610433
66::::P75_ID,P75_AREAID:21704,2
48 seconds
2,000 sessions
on both primary
and standby
43 seconds
2,000 sessions
on both primary
and standby
# of database
sessions on primary
and standby
# of database
sessions on primary
and standby
72 seconds
1,000 sessions on
both primary and
standby
83 seconds
500 sessions on
both primary and
standby
# of database
sessions on
primary and
standby
# of database
sessions on
primary and
standby
Database 12c (same process as above, but standby acks primary as soon as
redo is received in memory it does not wait for SRL write.
8
104,051,368.80
104,143,368.00
Txn Rate
0
DG Sync
No DG
20000000
40000000
Txn Rate
787
790.6
60000000
80000000
100000000
Redo Rate
104,051,368.80
104,143,368.00
120000000
<1ms RTT
99MB/s redo rate
<1% impact on
database
throughput
1% impact on
transaction rate
RTT = network round trip time
10
11
6000
5000
4000
3000
2000
1000
0
12
Swingbench OLTP
30 MB/s redo
6363
6151
6077
tps
tps
tps
3% impact at
1ms RTT
5% impact at
5ms RTT
Baseline
No Data Guard
Transaction profile
440K redo size, 6000 logical reads, 2100 block changes per transaction
13
200
150
83 MB/s redo
<1%% impact
189
188
177
167
tps
tps
tps
tps
2ms RTT
Network
Latency
5ms RTT
Network
Latency
100
50
0
14
Baseline
No
Data Guard
1ms RTT
Network
Latency
at 1ms RTT
7% impact at
2ms RTT
12% impact at
5ms RTT
Transaction profile
4K redo size, 51 logical reads, 22 block changes per transaction
15
Txn Rate
Redo Rate
25,000
20,000
15,000
10,000
5,000
0
Txns/s
Redo Rate (MB/sec)
% Workload
16
No Sync
29,496
116
100%
0ms
28,751
112
97%
2ms
27,995
109
95%
5ms
27,581
107
94%
10ms
26,860
104
91%
17
VocaLink
18
19
Agenda
20
A Data Guard NSA process transmits directly from log buffer in parallel with
transmission is completed
ASYNC has minimal impact on primary database performance
Network latency has little, if any, impact on transport throughput
Uses Data Guard 11g streaming protocol & correctly sized TCP send/receive buffers
Performance tests are useful to characterize max redo volume that ASYNC is
22
600
high rates
500
484
Redo
Transport
MB/sec
400
300
200
100
Single Instance
or more instances
23
Redo
Transport
Rate
35
30
25
MB/sec
20
15
0ms
25ms
50ms
100ms
10
5
0
ASYNC
24
Agenda
25
Multi-Standby Configuration
Primary - A
Local Standby - B
Guard configurations.
SYNC
ASYNC
26
105.0%
104.0%
103.0%
102.0%
101.0%
100.0%
99.0%
98.0%
97.0%
Increase in CPU
(compared to baseline)
(compared to baseline)
100.0%
98.0%
96.0%
94.0%
92.0%
0 - 14 destinations
27
102.0%
0 -14 destinations
(compared to baseline)
(compared to baseline)
98.0%
100.0%
96.0%
98.0%
94.0%
Zero
1/0
1/1
1/14
# of SYNC/ASYNC destinations
28
102.0%
100.0%
102.0%
96.0%
92.0%
Zero
1/0
1/1
1/14
# of SYNC/ASYNC destinations
Utilizing a standby for gap resolution avoids any overhead on the primary
database
29
Agenda
30
Test configuration
Transport
Lag - MB
22 MB/sec
uncompressed
1500
available bandwidth
Recovery Point Objective (RPO)
1000
impossible to achieve
perpetual increase in transport lag
500
12 MB/sec
compressed
Agenda
32
cache
On Exadata x2-2 quarter rack
Swing bench OLTP workload
72 MB/second apply rate
I/O bound during checkpoints
1,762ms for checkpoint
complete
110ms DB File Parallel Write
34
633ms vs 1,762ms
DB File Parallel Write is
21ms vs 110ms
35
Allstate Insurance
Data Warehouse ETL processing resulted in average apply rate over a 3
36
Standby
Apply
Rate
MB/sec
700
600
500
400
300
200
100
0
37
Oracle
Database
10g
Oracle
Database
11g (non
Exadata)
Oracle
Database
11g
(Exadata)
38
39