Documente Academic
Documente Profesional
Documente Cultură
Environments
Mark Henderson & Rick Stehno
CAUTION: We successfully completed
all of these system and storage modifications
in our lab to perform our benchmark tests.
LSI-Oracle Partnership
12 years of Successful Partnership Spanning
Silicon, Boards and Storage Systems
Technology and Manufacturing Partner for the
Oracle 2500 & 6000 Storage Systems
Designed and Tested for Interoperability with
Oracle Operating Systems and Applications
3
Who we are:
• Rick Stehno is an Oracle Technologist/DBA with LSI Corporation
which designs and manufactures high performance storage systems.
Rick works with Oracle and LSI's various OEM's to create and promote
solutions using LSI's storage systems with the various Oracle
technologies. Rick has been in the IT field for over 34 years and
working with Oracle databases since 1989.
4
Solid State Storage Comes in Many Forms
5
Solid State Technology (And do you really care?)
6
OK so now that I have this super fast device – what
does that mean? The obvious, well isn’t…
• It’s all equally accessible – no short stroking
• While it doesn’t rotate, mixed reads and writes do slow it down
• Scanning the Device for bad sectors is a thing of the past
• It may not be necessary to stripe for performance
• In cache cases you might not even need to mirror SSDs
• Using Smart Flash Cache AND moving data objects to SSD decreased
performance
• Online Redo Logs are best handled by HDD because of the sequential
writes
7
Look at the Solid State price per GB!!!
($/IOP vs. $/GB)
IOPS
GB
8
Oracle Smart Flash Cache & Database Stroage Tiering
9
Where should you invest in Solid State?
10
Investing in Solid State in the Server
• Lowest latency
• Low entry point
• Dedicated to specific server
• Not transportable
• Great for buffer extension / acceleration
• Varity of manufactures / sizes / capability
11
Investing in Solid State in the Network
12
Investing in Solid State Storage
• Persistent Storage
• Multi-Server Shared Storage
– OVM
– RAC
– VMware
• Data Protection Methods
• Database Partitioning
• Automatic Storage Tiering
13
So where should you invest in solid state?
“Depends…”
Property \ Location Server Flash Network Flash Storage Flash
Physical Description Card Device Solid State Disk
Latency Lowest Low Low
Entry Price Point Lowest ($5k) Medium($50k) Low ($15-30k)
Sharable Data No No Yes
Partition Sharing No Yes Yes
Single Machine (SMP) Fit Yes Yes Yes
Shared Multi-Machine Fit Real Application Clusters (RAC) No No Yes
Persistent Data (no power) No No Yes
Data Protection (Snapshot, Volume Copy) No No Yes
Site Protection (Remote Volume Mirroring) No No Yes
Automatic Storage Management (ASM) Compatible Yes Yes Yes
Recovery Manager (RMAN) Compatible Yes Yes Yes
Oracle Smart Flash Cache Yes Yes Yes
VMware Shared Storage (HA and Advanced Features) No No Yes
14
Moving the Bottleneck
Server(s)
Network
FC
Controller
Drives
15
Product Background External
16
Oracle Storage Array SSD Testing Results
17
SAN Based SSD Testing
18
Database Configuration
• SGA=1.5GB
• filesystemio_options=async
• disk_async_io=TRUE
• 1GB redo logs
• ASM
• 60GB Oracle Smart Flash Cache
– SQL> alter system set db_flash_cache_file='/u04/flash.dbf‘ scope=spfile;
– SQL> alter system set db_flash_cache_size=60g scope=spfile;
– SQL> show parameter flash
19
WarpDrive™ PCIe Solid State Acceleration Card
20
WarpDive Testing Configuration
• HP ProLiant DL370 G6
– Dual Intel Xeon Processor X5570
– 48GB - 1333 DDR3
– LSI 9210-8i SAS host bus adapter
– LSI SAS 2x36 Expander
– 146GB 2.5-in. SFF 6G SAS 10K RPM drives
21
Database Configuration Single WarpDrive
• SGA=16GB
• filesystemio_options=async
• disk_async_io=TRUE
• 4GB redo logs
• Benchmarks used Swingbench with 100 user load with no latency
• 250 GB Oracle Smart Flash Cache
23
Oracle Warp Drive Testing Results
TPS
8000
7000
6000
5000
100 2000
1000
400000 TPM 80
0
es
60
ch
350000
lin
riv
Ca
se
pd
Ba
ar
as
W
300000 40
Fl
ed
t
ar
or
Sm
irr
M
250000 20
200000 0
e
es
e
ch
lin
riv
150000
Ca
se
pd
Ba
sh
ar
W
la
tF
100000
ed
ar
or
Sm
irr
M
50000
24
Tools or Procedures to Investigate I/O Activity
25
Review Statspack or AWR Reports
26
Additional AWR Analysis
27
LSI Oracle Enterprise Manager Plug-in
28
OEM Plug-in Displays Storage Resources
29
OEM Plug-in shows Database relationship to LUNS
30
OEM Plug-in Performance Graphs
31
OEM Plug-in Storage Array Performance
32
Linux Tuning for Solid State Drives
(both SAN based SSD and WarpDrive)
• Align the SSD on a 4-KB boundary for optimal performance
• Modify the kernel I/O scheduler to NOOP for the SSD device
33
Linux Tuning Test Observations
• Test results using a 500 user load with just operating system tuning
efforts applied:
• The LSI 7900 Engenio Storage System and the LSI WarpDrive can
deliver performance using SSD technology to applications such as
Oracle, for balanced performance and cost efficiency.
35
Resources and Contact Information
Rick.Stehno@lsi.com
Mark.Henderson@lsi.com
36