This technical whitepaper describes how the performance of an Oracle
Online Transaction Processing database can be improved by using Dell
Fluid Cache for Direct Attach Storage.
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
This document is for informational purposes only and may contain typographical errors and
technical inaccuracies. The content is provided as is, without express or implied warranties of any
kind.
Figure 5.Performance graph: ART behavior spanning entire test duration ............................... 15
Figure 6.Performance graph: CPU Utilization - IOWaits ...................................................... 16
Figure 7.Performance graph: Total CPU Utilization .......................................................... 17
Figure 8.Performance graph: Max TPS performance .......................................................... 18
Figure 9.Performance graph: Average response time (ART) at 3100 user load .......................... 18
Figure 10.Performance graph: Max user load with 2secs ART SLA ........................................... 19
iv
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Executive summary
With increasing capacity and more affordable prices, the very fast, low-latency, flash-based Peripheral
Component Interconnect Express (PCIe) Solid State Devices (SSDs) are finding a place in modern
enterprise data centers. As a result, many enterprise hardware companies have begun to integrate and
offer these PCIe SSDs in their commodity servers. One of the ways to leverage these server-side PCIe
SSDs is by using a host-based caching software that can cache the application workloads and thereby
accelerate performance. This method can provide an excellent solution to overcome the performance
bottleneck of an existing traditional spinning disk-based storage solution. Alternatively, this method
can provide an excellent solution for new environments looking for very low-latency application
performance. Dell Fluid Cache for DAS (Fluid Cache) is a new host-based caching solution that
combines the Fluid Cache for DAS software with ultra-high speed Dell PowerEdge
SSDs to create a high-performance cache within the server itself.
This paper provides a reference architecture of the Fluid Cache based storage solution and
demonstrates how the performance of an online transaction processing (OLTP) database can be
accelerated using this solution. The study compares the performance of the Fluid Cache based storage
solution to a traditional hard disk drive (HDD)-based storage solution used as the baseline
configuration.
The key performance improvement findings from this study show that the Fluid Cache based solution
compared to the baseline configuration
TM
Express Flash PCIe
Delivers approximately 60% more transactions per second (TPS)
Delivers approximately 95% improvement in average response time (ART) at 3100 user load
Supports approximately 34% more users while delivering two seconds or less ART
Introduction
In a typical OLTP database environment the data blocks that are read or are written to are small in size
and are distributed at random places on the storage disks. Due to this nature of an OLTP environment,
its performance in a traditional spinning HDD-based storage is greatly dependent on the speed at which
the disk head can seek the data blocks to read or write to. However, the speed or the movement of the
disk head is mechanically restricted; therefore, each storage disk can deliver limited input/output
operations per second (IOPS) performance. So in order to keep up with the increased demand for IOPS
performance, the number of spinning disks must be increased. However, beyond a certain point, adding
additional disks will increase capacity but not performance, since the storage controller has reached its
maximum processing capabilities.
With very fast enterprise-class PCIe SSDs now being integrated and offered in standard commoditybased servers can help to solve this problem. One of the ways to leverage these server-side PCIe SSDs is
to make use of a host-based caching software that can use these PCIe SSDs as a caching device and
thereby accelerate the database performance. However, a lot of the host-based caching software
currently in the market only support caching of the read data. As a result, the database is still
dependent on the backend spinning disks to write either the new or the modified dirty data to, and this
limits the overall performance. Dell Fluid Cache for DAS (Fluid Cache), a new host caching software,
overcomes this limitation by allowing caching of both read and write I/Os on to the local PCIe SSDs.
5
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
This whitepaper studies the performance of an Oracle OLTP database in a Fluid Cache based solution. It
compares the performance of the Fluid Cache based solution against a traditional HDD-based storage
solution used as the baseline configuration.
The following sub-section introduces the Fluid Cache for DAS product, and the following section
describes the design and reference architecture of the baseline and the Fluid Cache based storage
solution evaluated in this whitepaper. The test methodology used in the study is then described.
Comparative performance results and analysis follow. The paper ends with a conclusion on the best use
case environments that can benefit from Fluid Cache based storage solution.
This paper also includes several appendices that provide details of the hardware, software, test tools,
and other configuration and tuning details that were relevant to this study. An appendix also provides
the next steps for customers who are interested in purchasing this reference architecture.
Dell Fluid Cache for DAS Overview
Dell Fluid Cache for DAS (Fluid Cache) is a host caching software that allows you to create a virtual
cache pool on supported Dell PowerEdge systems. For the rest of this paper, Dell Fluid Cache for DAS
will be referred to as “Fluid Cache for DAS” or “Fluid Cache.”
Fluid Cache uses Dell PowerEdge Express Flash PCIe SSDs installed on supported Dell systems to provide
a read and write cache pool. You can install up to four PCIe SSDs in a Dell system. The supported PCIe
SSD capacities are 175 GB and 350 GB. These PCIe SSDs can be combined to create cache pool capacity
ranging from a minimum of 175 GB to a maximum of 1400 GB. The cache pool is used to accelerate
response times with significant improvements in input/output operations per second (IOPS).
Some of the features of the Fluid Cache software are:
Faster cache reads, writes, read-after-writes, and re-reads
Data protection, as writes are replicated across multiple PCIe SSDs
Orderly hot swap and hot plug capability that allows adding or removing a device without
halting or rebooting the system
Support of two modes of write operation: write-back and write-through
The Fluid Cache for DAS cache pool stays persistent through reboots and the cache pool is highlyavailable and resilient to failures. It ensures write cache data protection by utilizing unique journaling
and block replication technology. It actively and intelligently caches data at the block level and keeps
frequently accessed data sets on high-performance Express Flash PCIe SSD storage. This greatly reduces
latency and accelerates response times for Linux Oracle applications.
More information about Fluid Cache for DAS can be found in the user’s guide at
http://www.dell.com/support.
Solution design and reference architecture
The Fluid Cache software used in this whitepaper supports only DAS environments, and hence the scope
of the study in this whitepaper is limited to DAS-based solutions.
6
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
To accurately and systematically evaluate both the solutions, the first step was to design a baseline
configuration based on the traditional HDD-based storage. This baseline configuration was enhanced
with Fluid Cache solution. This approach allows a fair comparison of the performance merits or
demerits of Fluid Cache solution against the baseline configuration.
The following sections describe the design and reference architecture of the DAS-based storage
solutions evaluated in this study:
Traditional HDD-based storage solution (Baseline Configuration)
Fluid Cache for DAS-based storage solution (Fluid Cache)
Traditional HDD-based storage solution (Baseline Configuration)
This section describes the design and architecture of the traditional HDD-based storage solution that
was used as a baseline.
The goal of the baseline configuration was to illustrate the problem stated in the introduction i.e. to
architect a typical hardware configuration that illustrates the limitation of the baseline configuration
where the database performance cannot be improved by adding additional disks since the limits of the
storage controller have been reached.
Figure 1shows this configuration.A Dell PowerEdge R720 is used as a single node database server. The
Dell PowerEdge Express Flash 350GB SLC PCIe SSDs that are factory installed with the server are not
used in the baseline performance testing. For more details on the R720 server configuration used in this
study, refer to Table 1. The server is attached to four fully populated Dell PowerVaultTM MD1220
storage enclosures using a single Dell PERC H810 external RAID controller. The H810 is connected to the
four daisy-chained PowerVault MD1220 enclosures in unified mode1. In unified mode, the H810
automatically detects the redundant path and balances the I/O load through both paths to the backend
enclosures2.
Note: A single PERC H810 supports a maximum of four daisy-chained PowerVault MD1220s2.
7
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Architecture: Baseline configuration Figure 1.
As shown in Figure 1, eight virtual disks (VDs) were configured for Oracle data files and four VDs were
configured for Oracle Flash Recovery Area (FRA) across the four enclosures. Twelve disks were
configured as global hot spares to ensure that there is at least one hot spare for each of the twelve VDs
used for Oracle database. The VDs used for the Oracle data files were configured with eight disks in
RAID10. The VDs used for FRA were configured as RAID5 with 4+1 disks. These RAID levels were
configured based on Dell’s recommendation and best practices for Oracle OLTP database3. For more
details on the VD configuration, refer to Table 4.
The database server was configured in accordance with Dell’s standard best practices on installing
single node single instance Oracle 11gR2 databases4.
Automatic Shared Memory Management (ASMM) was enabled and the sga_target and
sga_max_size ASMM parameters were both set to 8GB. This size of the System Global Area (SGA)
allows the database to stress the storage disks by generating more physical I/Os than logical I/Os from
the main memory.
Each of the VDs created on the backend storage for the Oracle database was added as an Automatic
Storage Management (ASM) disk to its respective ASM disk group.Figure 1shows the following two
Oracle ASM disk groups created on the backend storage:
(for TPC-C schema) and other seed database tablespaces
FRA_DG― contains Archive logs and Flashback logs
8
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
For more details on the configuration of the ASM disk groups, refer to Table 7. For the rest of the
paper, the ASM disks added to the ‘DATA_DG’ will be referred to as data ASM disks and the ASM disks
added to the ‘FRA_DG’ will be referred to as FRA ASM disks.
For more details on the hardware and software configuration of the baseline, refer to the appendices.
In the rest of the paper, this configuration will be referred to as the “baseline configuration” or
“baseline”.
Fluid Cache for DAS-based storage solution (Fluid Cache)
This section describes how the baseline configuration described in the Traditional HDD-based storage solution (Baseline Configuration) section was enhanced and configured as the Fluid Cache for DASbased storage solution. In the rest of the paper, this solution will be referred to as “Fluid Cache based solution.”
In this solution, on top of the hardware and software configuration of the baseline, Fluid Cache
software was installed and enabled in the R720 database server. This solution was tested with Fluid
Cache enabled in write-back mode. This mode requires a minimum of two Express Flash PCIe SSDs to
ensure data protection and high availability that is achieved by unique journaling and block replication
technology.
As shown in Figure 2, a single Fluid Cache for DAS cache pool of ~650GB was created using two of the
350GB SLC Express Flash PCIe SSDs in the R720 database server. Since small random read/write I/O
workload benefits the most with caching, only the data ASM disks were enabled for caching in writeback mode. Caching was not enabled on the FRA ASM disks since the I/O pattern to this is small
sequential and caching is not expected to benefit.
9
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Architecture: Fluid Cache based storage solution Figure 2.
When Fluid Cache is configured with the cache pool (SSDs) and the caching on the disks to be cached
(data ASM disks) are enabled, a new Fluid Cache disk is created for each of the data ASM disks.
Example: If /dev/sdc is the block device configured as an ASM disk, then a new Fluid Cache disk
named /dev/fldc0 gets created that maps to this ASM disk.
The Fluid Cache disk is a standard /dev/xxx device and is transparent to the Oracle database
application. The appropriate ownership and permission to the data ASM disks and to the new Fluid
Cache disks are set. As the metadata of the ASM disk group is kept on the ASM disk itself and not in the
Oracle dictionary, the ASM instance scans the ASM disks based on the parameter asm_diskstring and
reads the header information from the newly-discovered Fluid Cache disks. Thus ASM is able to mount
the DATA_DG ASM disk group like in the baseline configuration.
For details on configuring Fluid Cache, refer to the following sections in the appendix:
Virtual Disk configuration for Fluid Cache based solution.
Appendix C.1.1 Enabling Fluid Cache
Appendix C.2.2. Udev settings for Fluid Cache based solution
ASM disk group configuration for the Fluid Cache based solution
10
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Test methodology
This section describes the test environment, test methodologies and the tools used to benchmark the
two solutions described in the Solution design and reference architecture section. Most of the steps
described in the Baseline configuration test methodology sub-section are used for Fluid Cache based
solution testing as well. The subsequent sub-sections describe the methods and procedures that are
specific to that particular solution.
Test environment
Dell Quest Benchmark Factory (BMF) software was used as the benchmarking tool for the OLTP
performance testing in this whitepaper. As shown in Figure 3, BMF was setup on a dedicated server and
was connected to the solution under test via a GigE Ethernet link. “Solution under test” represents
each of the storage solutions described in the Solution design and reference architecture section. BMF
was used to create the 450GB TPC-C database schema set and was also used to generate the OLTP
workload against that database schema.
Performance benchmarking architecture Figure 3.
Baseline configuration test methodology
This section describes the test methodology used to evaluate the baseline configuration. The steps
listed in this section forms the basis for Fluid Cache based solution section that follows.
1. Solution hardware setup: The baseline configuration hardware was configured as described in
the Traditional HDD-based storage solution (Baseline Configuration) section.
2. Database Server setup: The operating system (OS), network, storage and database pre-
requisites were configured on the PowerEdge R720 database server according to Dell’s
recommended best practices4.
11
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
2.1 The BIOS System Profile was changed to ‘Performance’. Rest of the BIOS options were
at default settings.
2.2 For details on VD configuration, refer to Table 4.
2.3 The Oracle ASM disk ownership and permission settings were configured in the
/etc/udevrules. For more details, refer to Appendix C.2.1. Udev settings for
baseline configuration.
2.4 The OS kernel parameters were tuned for performance testing. For more details, refer
to Appendix C.4.1. Kernel parameter settings.
2.5 Oracle’s OS Watcher (OSW) was installed to capture the performance metrics (CPU and
memory usage) of the host and the storage array (IOPS).
3. Oracle database setup: Oracle 11gR2 grid and database software for single node single
instance was installed4.
3.1 For details on configuration of ASM disks and ASM disk groups, refer to Table 7.
3.2 Oracle’s Automatic Shared Memory Management (ASMM) feature was enabled.
sga_target and sga_max_size were set to 8GB to stress the storage disks by
generating more physical I/Os than logical I/Os from the main memory
3.3 The database parameters were tuned for the performance test. For more details, refer
to Table 10.
4. Benchmarking tool and TPC-C database schema setup:
4.1 Dell Quest Benchmark Factory (BMF) was used to create a TPC-C test Oracle schema
data set of 450GB (300GB tables + 150GB Indexes) by using a benchmarking scale
factor of 4700 and was loaded into the DATA_DG
5. Database Stats collection: Database stats on the TPC-C schema was manually collected one
where QUEST is the 450GB TPC-C schema created from BMF
6. Database schema backup:
6.1 The TPC-C schema was backed-up and exported using Oracle’s Data Pump on to two
local 300GB 15K SAS HDDs on the database server for later use.
6.2 In order to quickly restore the database to its original clean state after each of the
test iterations, Oracles flashback guaranteed restore point was created. For more
details, refer to the wiki article How to quickly restore to a clean database using
Oracle’s restore point.
7. Test load setup: BMF was used to generate the OLTP workload against the 450GB TPC-C
database schema.
7.1 OLTP workload was configured with a user load range of 500-5000 in steps of 100. The
max userload value was determined by doing sample tests to ensure that the highest
user load was able to stress the solution beyond the 2 seconds average response time
7.2 The sampling duration for each iteration was unchanged from the default value of
4mins.
7.3 The think time and the keying time latency setting for each of the TPC-C transaction
mix was set to 1/10th the default value.
8. Pre-test setup:
12
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
8.1 Before each test, it was ensured that the Open Manage ‘dataeng’ service was
stopped to avoid any performance overhead.
8.2 Before each test, it was ensured that Oracle AWR report was not being collected to
avoid any performance overhead.
9. Test start:
9.1 The OSWatcher script was started on the database server to capture the performance
metrics.
9.2 The OLTP workload setup in step 8 was started from the BMF server.
10. Test end: The test was allowed to run until the average response time (ART) as displayed by
BMF crossed the 2 seconds limit.
11. Post-test results capture:
11.1 The User load, TPS and the Average Response Time (ART) results were captured using
BMF.
11.2 CPU utilization, IOWaits, and memory utilization stats were extracted from OSWatcher
results using a custom script.
12. Re-running the test:
12.1 Database was restored to the clean state using the flashback guaranteed restore point
created in step 6.2
12.2 Server was rebooted to ensure the server is in a clean state
12.3 Repeated step 8, step 9, step 10 and step 11 in that order to test the solution again, if
necessary.
Fluid Cache based solution test methodology
This section describes the test methodology that is specific to this solution testing. Hardware,
software, test methods and configuration settings listed in the Baseline configuration test methodology
section apply to this solution testing as well, unless specified below.
1. Restore database: Database was restored to the clean state before installing or enabling Fluid
Cache for DAS caching using the flashback guaranteed restore point created in step 6.2 of the
Baseline configuration test methodology section. This was done to ensure cold cache.
2. Express Flash PCIe SSD hardware and software setup: Only two 350GB Express Flash PCIe
SSDs were used for this solution testing giving a cache pool size of ~650GB. Fluid Cache
software was installed using the Fluid Cache for DAS user’s guide8.
3. Fluid Cache setup: Fluid Cache was tested in write-back mode only. For more details on the
configuration steps, refer to Appendix C.1.1 Enabling Fluid Cache.
4.IO Queue Depth: The Fluid Cache IO queue depth was increased from the default value of 64
to 256 in the /sys/kernel/config/fldc/io_queue_depth parameter file.
5. Testing and results capture: Step 12 from the Baseline configuration test methodology section
was repeated to test this storage solution. This step corresponds to restoring the database to a
clean state, restarting the OLTP benchmark and capturing the results.
6. Re-running the test:
6.1 To flush all the data block references and to start with cold cache again, Fluid Cache
was disabled. For details on the steps followed, refer to Appendix C.1.2 Removing Fluid Cache.
6.2 Database was restored to the clean state using the flashback guaranteed restore point
created in step 6.2 of the Baseline configuration test methodology section.
6.3 Rebooted the server to ensure the server is in a clean state.
13
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
6.4 Re-setup Fluid Cache as noted in Appendix C.1.1 Enabling Fluid Cache.
6.5 Repeat step 5 to run the test again, if necessary.
7. Disabling Fluid Cache:
7.1Fluid Cache was disabled. For details on the steps followed, refer to Appendix C.1.2
Removing Fluid Cache.
Performance results and analysis
This section presents the performance results and analysis of the two storage solutions described in the
Solution design and reference architecture section:
Traditional HDD-based storage solution (Baseline Configuration)
Fluid Cache for DAS-based storage solution (Fluid Cache)
For the remainder of this section each of the solutions will be referred to with the short description
mentioned in bold in the brackets above. These short descriptions will also be used as legends in the
graphs to represent each of the solution.
Note: The results presented in this section are intended only to showcase the relative performance of
the two solutions configured as described in this document. The results are not indicative of the
maximum capabilities of any system, database software, storage, or the solution.
For each of the solutions under test, multiple tests were conducted to check for consistency of the
results. Two seconds was used as the acceptable max average response time (ART) for each of the
tests. The tests were either manually terminated or the results were discarded past that point. Also, to
account for the standard deviation between each test run, the average of the results was used to
evaluate the performance of each of the storage solution.
Figure 4 shows the transactions per second (TPS) performance behavior spanning the entire duration of
the test for the two storage solutions evaluated in this paper. The graph plots the TPS behavior until
the average response time (ART) of two seconds was exceeded.
14
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
0
200
400
600
800
1000
1200
1400
1600
1800
5009001300 1700 21002500290033003700 41004500
TPS
User Load
OLTP (R720) - Transactions/Sec (TPS)
BaselineFluid Cache
0
0.5
1
1.5
2
500900130017002100250029003300370041004500
ART (secs)
User Load
OLTP (R720) - Average Response Time (ART)
BaselineFluid Cache
Performance graph: TPS behavior spanning entire test duration Figure 4.
As seen in Figure 4, both the storage solutions deliver similar TPS until a certain user load. Beyond that
user load point, the TPS performances for both the solutions start to differ and hit their peak
performance. This behavior occurs due to a sharp rise in average response time (ART) as seen in Figure
5. For example, in Figure 4, the Fluid Cache based solution reaches its peak TPS performance at 3200
user load. And, Figure 5 shows that the ART for the Fluid Cache based solution starts to climb sharply
around the same 3200 user load.
Performance graph: ART behavior spanning entire test duration Figure 5.
15
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
0
20
40
60
80
100
%
Increasing User Load -->
OLTP (R720) - CPU Utilization - IOWaits
BaselineFluid Cache
The CPU utilization captured during the benchmarking tests using the OSWatcher tool helps to further
investigate the cause of the sharp increase in the ART. As seen in Figure 6, the peak CPU IOWait for the
baseline configuration is around 60%, while the peak CPU IOWait for the Fluid Cache based solution is
around 10%. A high CPU IOWait typically indicates that the CPU is waiting on the backend storage I/O
to finish. This high IOWait behavior is observed in case of the baseline configuration because the
backend spinning disks, with its limited IOPS capability, cannot complete the increasing number of
transactions without the increase in response time. This confirms that the backend storage eventually
becomes the bottleneck in the case of the baseline configuration.
Performance graph: CPU Utilization - IOWaits Figure 6.
The 10% peak CPU IOWait in the case of the Fluid Cache based solution suggests that the storage was
not the cause for the increase in the average response time as the user load increased. The total CPU
utilization graph in Figure 7 helps to further investigate the cause of the increase in the ART in the
case of the Fluid Cache based solution.
16
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
0
20
40
60
80
100
%
Increasing User Load -->
OLTP (R720) - Total CPU Utilization
BaselineFluid Cache
Performance graph: Total CPU Utilization Figure 7.
Figure 7 shows, that in the case of the Fluid Cache based solution, as the user load keeps increasing,
the total CPU utilization also keeps increasing. In the Fluid Cache based solution, the cache pool
configured on the Dell Express Flash PCIe SSDs is transparent to the database application. As a result,
with caching enabled on the backend store, the database reads, re-reads, and writes are transparently
managed by the Fluid Cache software.
With the Fluid Cache based solution configured in write-back mode, the modified or the dirty data
flushed from the SGA buffer cache in the main-memory by the database is written to the Fluid Cache
for DAS cache pool. Fluid Cache transfers this cached dirty data back to the backend storage at a later
time. Without Fluid Cache, this dirty data would be flushed directly back to the spinning disk. As a
result, from the database point of view, most of the physical read and write transactions are
completed with very low latency even at high user loads in a Fluid Cache based solution. This
attributes to the increased CPU utilization. However, as seen in Figure 7, the CPU eventually hits 100%
utilization that results in response times crossing the two-second threshold. Thus, the CPU eventually
becomes the bottleneck in case of the Fluid Cache based solution.
17
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
983
1577
0
200
400
600
800
1000
1200
1400
1600
1800
BaselineFluid Cache
TPS
OLTP (R720) - Max TPS
60%
1.712
0.09
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
BaselineFluid Cache
ART (sec)
OLTP (R720) - ART at 3100 User Load
95%
Performance graph: Max TPS performance Figure 8.
Figure 8 compares the max TPS performance of the baseline and the Fluid Cache based solution. As can
be seen from that graph, Fluid Cache based solution delivers 60% more TPS than the baseline
configuration.
Performance graph: Average response time (ART) at 3100 user load Figure 9.
18
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
3200
4300
0
500
1000
1500
2000
2500
3000
3500
4000
4500
5000
BaselineFluid Cache
Userload
OLTP (R720) - Max Userload with 2secs ART SLA
34%
Figure 9 compares the average response time (ART) performance of both the storage solutions at 3100
user load. As can be seen from the graph, the Fluid Cache based solution delivers 95% lower ART at
3100 user load, which is near the peak performance of the baseline configuration.
Figure 10 compares the maximum user load that the two storage solutions were able to deliver while
keeping the response time at two seconds or less. As seen in Figure 10, the Fluid Cache based solution
delivered 34% more user load compared to the baseline configuration.
Performance graph: Max user load with 2secs ART SLA Figure 10.
The results in this section show that by adding Fluid Cache based solution to a saturated baseline
configuration can vastly improve the OLTP database performance without having to change any existing
hardware or software.
Conclusion
This paper demonstrates how a Dell PowerEdge server configured with Dell Fluid Cache for DAS can be
easily added to a traditional backend spinning HDD-based storage solution to significantly improve
OLTP performance in a DAS environment.
Fluid Cache can be a great solution to boost performance for the following DAS environments and use
cases
Existing traditional spinning HDD-based storage environments looking to boost performance for
OLTP databases. This can be achieved by replacing their existing single node database server
with a Dell’s PowerEdge server that supports Dell PowerEdge Express Flash PCIe SSDs and
configured with Dell Fluid Cache for DAS.
19
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Existing traditional spinning HDD-based storage environments that cannot grow in performance
because storage controller has reached its maximum processing capabilities. This can be
achieved by replacing their existing single node database server with a Dell’s PowerEdge server
that supports Dell PowerEdge Express Flash PCIe SSDs and configured with Dell Fluid Cache for
DAS.
New single node DAS solutions looking for low latency, high TPS for OLTP databases.
Single or multiple large OLTP databases (>700GB) looking for low latency and high TPS
performance and that cannot be consolidated directly onto the server-side PCIe SSDs.
References
1.Dell™ PowerVault™ MD1200 and MD1220 Storage Enclosures Hardware Owner’s Manual
Two 146GB 15K SAS HDDs (Operating System)
Two 300GB 15K SAS HDDs (TPC-C Database Schema Backup)
FW: YS08
Server Configuration
Dell PowerEdge Express Flash PCIe
SSDs
2 x 350GB SLC Express Flash PCIe SSDs
Driver: v1.3.7
FW: B1490208
PCIe extender adapter card
Populated in PCIe slot 5
Rest of the configuration is the same as baseline, as described in Table 1
Appendix A. Server configuration
This section describes the details of the hardware configuration used for each of the storage solutions
described in the Solution design and reference architecture section.
Server configuration details for baseline configuration Table 1.
Server configuration details for Fluid Cache based solution Table 2.
21
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Backend Storage Configuration
Storage
4 x Dell PowerVault MD1220s storage enclosures
Backplane (primary & secondary)
HW rev. A01;
FRU configuration Image rev. A00
EMM
FW v1.01
Power Supplies
HW rev. A00; FW v01.00.14
HDDs
Each Enclosure: 24 x 146GB 15K SAS HDD (Total 96 HDDs)
This section describes the details of the backend storage configuration used for each of the storage
solutions described in the Solution design and reference architecture section.
Backend storage configuration Table 3.
Virtual Disk configuration for baseline. Table 4.
22
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Virtual
Disk
(VD)
OS Block Device
RAID Group
(RG) Type
#HDDs/
RG
VD Size
Cache Policy
Segment
Size
FRA4
/dev/sdn1*
5 5 544.50GB
r=ARA^;w=WB
64KB
Block Device
Device Size
Cache Policy
Partition Type
/dev/rssda1*
350GB
default
default (fdisk)
/dev/rssdb1*
350GB
default
default (fdisk)
Rest of the VD configuration is the same as baseline, as described in Table 4
Software Versions
Operating System
Oracle Linux 6.2 – 2.6.32-220.el6.x86_64 (Red Hat Compatible
Kernel)
Database
Oracle 11g R2 (standalone database) – 11.2.0.3
Dell Fluid Cache for DAS
v1.0.0
Dell Open Manage
v7.1.2
OSWatcher (stats capture)
OSWatcher Black Box v5.0
Dell Quest Benchmark Factory
(BMF)
v6.8.1
Oracle database Client on BMF
Server
Oracle 11g R2 Client
*
- single disk partition spanning the entire disk; + - No Read Ahead; ^ - Adaptive Read Ahead
Virtual Disk configuration for Fluid Cache based solution. Table 5.
*
- single disk partition spanning the entire disk;
Appendix C. Software configuration
This section provides the software versions, software installation, and software configuration steps for
all the storage solutions described in the Solution design and reference architecture section.
Software Versions Table 6.
23
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Appendix C.1. Fluid Cache based solution configuration
Appendix C.1.1 Enabling Fluid Cache
This section describes the steps to configure Fluid Cache on the Express Flash PCIe SSDs and on the
backend store. This section assumes that the Fluid Cache for DAS v1.0.0 software has already been
installed and the fluid-cache service is up and running.
1. Stop the Oracle High Availability Service (OHAS) stack
1.1. $> su – grid
1.2. $> sqlplus / as sysasm
1.3. SQL> crsctl stop has
1.4. SQL> exit
2. Add the following two Dell Express Flash PCIe SSDs to the Fluid Cache pool
2.1. $> fldc --list --ssd
2.2. $> fldc --add --ssd=/dev/rssda1 –y
2.3. $> fldc --add --ssd=/dev/rssdb1 -y
2.4. $> fldc --status
3. Enable caching on the backend store. The following steps enable caching only on the VDs belonging
to the DATA_DG of the baseline configuration, as listed in Table 7
where sdX is the name of the block device to be used for Oracle
E.g. output:
sdc 360026b900061855e000008a54ea5356a
2. Edit the /etc/udev/rules.d/20-Dell_Oracle.rulesfile (create a new file if it doesn’t
already exist) and add the following lines to set the permissions needed for the baseline
configuration. Replace each of the <WWID_for_sdX> below with the correct equivalent WWID
result obtained from step 1 for that sdX block device. The example below adds all the twelve
block devices to be configured for the baseline configuration.
Appendix C.2.2. Udev settings for Fluid Cache based solution
After enabling caching on the block devices that belong to the DATA_DG, Fluid Cache creates an
equivalent fldc cache block device as noted in Appendix C.1.1 Enabling Fluid Cache. In order for ASM
to be able to mount the DATA_DG again, we need to disable Oracle permission on those VDs and give
permission to the equivalent fldc block devices. In order to achieve this edit the
/etc/udev/rules.d/20-Dell_Oracle.rules file configured for the baseline configuration as
described in Appendix C.2.1. Udev settings for baseline configuration and do the following steps:
1. Add the following line to set the permission for the Fluid Cache block devices
The ASM parameter asm_diskstringis set to “/dev/*d*”. This ensures that ASM instance is able to
scan both /dev/sd* block devices and the Fluid Cache /dev/fldc* devices.
ASM disk group configuration for the baseline Table 7.
28
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
ASM disk group configuration for the Fluid Cache based solution Table 8.
Appendix C.4. Parameter settings
The sections below provide the settings and configurations at the operating system level and at the
Oracle Database level.
Appendix C.4.1. Kernel parameter settings
The following kernel parameters were set in the /etc/sysctl.conf file according to Dell and
Oracle’s recommendation and best practices for all the solution testing.
Kernel parameters settings for Oracle database Table 9.
29
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Parameter
Value
kernel.shmall
1073741824
kernel.shmmax
135400749056
kernel.shmmni
4096
kernel.sem
250 32000 100 142
Parameter
Value
db_writer_processes
8
processes
11000
sessions
16544
open_cursors
11000
transactions
11000
undo_retention
1800
dml_locks
44000
parallel_max_servers
1280
audit_trail
none
Appendix C.4.2. User security limits settings
The following user security limits were set and appended to the /etc/security/limits.conf file
according to Dell and Oracle’s recommendations and best practices for all the solution testing.
grid hard nofile 131072
grid soft nproc 131072
oracle soft nofile 131072
oracle hard nofile 131072
oracle soft nproc 131072
oracle hard nproc 131072
oracle soft core unlimited
oracle hard core unlimited
oracle soft memlock 50000000
oracle hard memlock 50000000
The table below provides the database parameters used for testing all the solutions described in this
paper.
Database parameter settings Table 10.
30
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
Appendix D. Next Steps
Appendix D.1. Fluid Cache for DAS Reference Architecture Solution ID
The Dell Fluid Cache for DAS solution reference architecture evaluated in this paper can be ordered
using the Dell Star solution ID# 2995244
This Solution ID includes the following components listed in the Appendix:
Table 1: Server configuration details for Fluid Cache based solution
Table 2: Backend storage configuration
Dell Fluid Cache for DAS software
System profile in the BIOS set to ‘Performance’
Note: The solution ID does not include the software configuration listed in the Appendix C. Software
configuration section. All the software configurations detailed in this paper must be performed
strengthens Dell’s end-to-end solution capabilities. Quest’s database management solutions for Oracle
databases are designed to meet the challenges faced by IT professionals of all skill levels, such as
working with multiple database servers, complex data environments, and reporting needs.
combining automation of administrative and management tasks
optimizing performance
boosting productivity for database and data professionals
Dell Quest’s solutions of different database management tools allow you to achieve the highest levels
of database quality, performance, maintainability, and availability.
Toad® for Oracle ensures great productivity in development and administration of Oracle databases.
Toad combines the deepest functionality available with extensive automation and intuitive workflows.
With Toad, database professionals of all skill and experience levels can collaborate and work efficiently
and accurately.
Foglight® for Oracle is a scalable, web-based, 24x7 database monitoring tool. It provides constant
remote database monitoring and correlates performance data from across your technology stack. It
makes your job easier by extending the capabilities of native tools. It guides you through response-time
and wait-event analyses, so you instantly understand existing and developing database performance
conditions. Plus, Foglight’sIntelliProfile™ technology ensures your post-change database environment
31
Improving Oracle OLTP database performance with Dell Fluid Cache for DAS
is thriving to help eliminate deployment risks. Foglight for Oracle empowers you to take action
immediately and maximize your Oracle database resources.
SharePlex® for Oracle is a simple, affordable, impact-free Oracle database replication
solution. SharePlex is a mature, high-performance, high availability technology that offers a low-cost
alternative to other Oracle replication tools. Unlike other solutions, SharePlex provides data compare
and repair, in-flight data integrity, plus monitoring and alerting functionalities – all in one package. It
ensures business continuity while meeting your database operational goals, providing a real-time copy
of production data – without impacting your OLTP system’s performance and availability.
NetVault LiteSpeed® for Oracle reduces Oracle backup and recovery times by 50 percent or more and
decreases backup size by up to 90 percent. Tailored to the unique needs of an Oracle DBA, NetVault
LiteSpeed for Oracle significantly lowers storage costs and delivers a solid return on investment within
minutes of installation. Plus, it secures your critical data with Oracle backup data-compression
technology and up to four levels of encryption. It integrates with RMAN via Oracle’s Media Manager
architecture and seamlessly integrates with Tivoli Storage Manager (TSM) and Symantec NetBackup.
32
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.