Storage Testing RAC11g UKOUG LC DW
Storage Testing RAC11g UKOUG LC DW
New HW acquisition
refresh cycle ~ every 3 years
Occasion to test and deploy
new technology
Additional input this time
Consolidate storage solution
NAS and SAN
Upgrade 10gR2 to 11gR2
D
Apples and Oranges
How to test:
Parallel query of very large table
Measure throughput for example from gv$sysmetric
• Metric: “Physical Read Total Bytes Per Sec”
• See also SQL on slide’s comment section
Tested SAN
2 storage arrays with 12 disks each, 8+8 Gig FC
Throughput=1.5 GB/sec
Tested NAS
1 box with 72 disks in RAID DP, 10GigE
Throughput=0.7 GB/sec
How to test:
Multiple session running SQL for tablespace creation
OS tools: ORION and unix command dd
Tested SAN
2 x storage arrays with 12 disks each
Normal redundancy ASM (needs to write 2 copies)
Throughput= 700 MB/sec (limited by 8G FC)
Tested NAS
1 storage box, 72 disks
Throughput=300 MB/sec
L
ORION
Simple to use
Getting started:
./orion_linux_em64t -run simple -testname
mytest -num_disks 24
More info:
https://twiki.cern.ch/twiki/bin/view/PDBService/OrionTests
L Testing Storage for RAC 11g – Luca Canali, Dawid Wojcik 15
DB-Oriented Tests
Row 151
NL Join
Example:
24 SAS disks -> ~5000 small random read IOPS
Test config of 400 SATA disks: ~40K IOPS
NAS:
Random reads -> ~100 IOPS per disk
Take about 20% disks off as they are used for DP
Example raid group of 72 disks -> ~5000 IOPS
Random reads served by Solid State cache
512 GB PAM module
Up to ~33K IOPS
Note we find DNFS improves IOPS we can get
L
IOPS-Hungry Applications
Goal:
Cost-effective, high capacity, high read IOPS
Problem:
Low-cost arrays often don’t have SSD cache
Idea:
Use SAN and ASM with normal redundancy with
high capacity disks
Use DB flash cache to enhance DB buffer cache
Oracle-based test
Measure exec time for 1M single-block cached reads
Time is latency bound, with SSD vs disk: 6x speedup
• single block read from flash cache: ~0.6 ms
• See also SQL in slide’s note section
DB Flash Cache
(+) Can boost IOPS performance
(+) Can be tuned at segment level
• SQL: storage (flash_cache keep)
(-) consumes CPU on DB server (DBWR)
(-) requires extra memory from buffer cache
(-) cache is local and not RAC-aware
(-) New feature
(-) runs only on some Linux distributions
More info:
http://cern.ch/it-dep/db
http://cern.ch/canali