Oracle10gRelease1 APP 011 01
Oracle10gRelease1 APP 011 01
i
APP-011-01 ii Copyright SANRAD 2005
SANRAD Storage System Solutions
This application note is intended for IT professionals considering iSCSI and SANRAD V-Switch as a
means for centralizing database storage for one to many Oracle 10g database servers. There are several
benefits to moving to a shared storage model, but with these benefits there are certain considerations
regarding what type of solution best fits the needs of the organization. Performance, guaranteed data
availability and future scalability costs are concerns that need to be addressed when placing Oracle
Database on a centralized network storage solution.
This application note assumes knowledge and experience with Oracle Database administration. It is also
recommended to familiarize yourself with V-Switch basic configuration and operation.
When planning the storage strategy for Oracle 10g, companies should design the Oracle storage based
on a combination of capacity, availability, RAID performance and cost to best suite their needs and
budget.
General Recommendations
In an iSCSI environment each component can contribute to improved capacity, availability and
performance.
For example, an FC disk array with SATA disks and at least 512 MB cache controller
is a good combination of performance and cost for up to 500 users.
Note: While the IO subsystems will impact the Oracle database performance it is
equally important to emphasize fine-tuning the database which can
improve performance dramatically. There are numerous fine-tuning guides
and articles available on the web for Oracle databases.
Test Method
To test the performance of Oracle using SANRAD V-Switch 3000, we created a test environment (see
Figure 1) that included a Linux RedHat Enterprise Linux 3.0 server running Oracle 10g (release 10.1.0.3)
with a SANRAD V-Switch 3000 (firmware ver. 2.2.7.5) connected to a JMR FC RAID array. The disk
array was configured as JBOD with 4 available LUNs – one for each drive. On the V-Switch we allocated
a single-disk volume that was attached through iSCSI to the Oracle server. We also created a small FC-
attached environment by connecting the server using FC HBAs directly to the disk array so we could
compare the performance between the SANRAD iSCSI V-Switch and FC-attached storage. Oracle 10g
database was installed according to the guidelines provided in Oracle 10g Release 1 Quick Installation
Guide for Linux x86. (http://download.oracle.com/docs/html/B15521_01/toc.htm). After initial
installation and post-installation steps were carried out, a DBCA wizard application was used to create a
new instance of Oracle database on the target drive. Default settings were used whenever possible
throughout the installation, configuration and DB instance creation. The process was repeated for each
instance that was created for different storage architecture used in the test.
Note: The goal of the test was to achieve a relative performance comparison between
storage connectivity scenarios, rather than an absolute TPS (Transactions Per
Second) number possible. Therefore, the configuration that was used during the
test does not reflect an optimum configuration and setup designed to achieve the
highest TPS result.
TPC-C
The TPC-C benchmark measures on-line transaction processing (OLTP) workloads. It combines read-
only and update intensive transactions simulating the activities found in complex OLTP enterprise
environments. The TPC-C benchmark minimizes the diversity of operations found in a production
application and emphasizes the application's essential performance characteristics.
The TPC-C benchmark represents any company that sells, manages, or distributes products or services.
The TPC-C benchmark reports performance metrics in orders fully processed per minute. This is
expressed as tpmC.
The scale factor determines the amount of information initially loaded into the benchmark tables. For the
TPC-C benchmark, each scale factor represents one warehouse as per TPC-C specification. The TPC-C
benchmark involves a mix of five concurrent transactions of different types and complexity. The database
is comprised of nine tables with a wide range of records.
A maximum of 10 users should be run against each warehouse. For example, user loads of 1, 5, and 10,
set the scale to 1. If using other user load values, change the scale factor accordingly.
TPC-B
The TPC-B benchmark measures transaction throughput in terms of how many transaction per second
(TPS) a system can handle. The TPC-B benchmark can be compared to an electronic data processing
batch application that runs overnight when no customer users are logged on. The TPC-B benchmark is
characterized by:
• Significant disk input/output
• Moderate system and application execution time
• Transaction integrity
Scalable Hardware
The Scalable Hardware benchmark measures relational database systems. This benchmark is a subset
of the AS3AP benchmark and tests the following:
• CPU
• Disk
• Network
• Any combination of the above three entities
The scale factor determines the amount of information initially loaded into the benchmark tables. For the
Scalable Hardware benchmark, each scale factor represents one user accessing the system. Two tables
are created in the database, and they are loaded with a varying number of rows.
For each virtual user, a separate set of data must be created. Therefore the scale factor used when
loading the database should be the size of the maximum user load. For example, with user loads of 1, 5,
and 10, a scale factor of 10 should be used.
The Scalable Hardware benchmark has a scaling factor of one.
FC-attached
Database Instance
Local Disk
Database instance
Oracle10g-RHEL3.0x86
TPC Benchmarks
Scalable Hardware
Benchmark
Local Disk
4553 210.6 3692 277.5 313.6
Fibre Channel
4510 199.9 3712 277.1 318.4
iSCSI-HBA
4509 154.8 4144 248.5 247
iSCSI-Software
3424 118.5 3683 247.5 290.1
iSCSI-Software
iSCSI-HBA
Fibre Channel
Local Disk
5000
4500
4000
3500
3000
Local Disk
2500 Fibre Channel
2000 iSCSI-HBA
1500 iSCSI-Software
1000
500
0
CPU- INSERT- READ- UPDATE- MIX
INTENSIVE INTENSIVE INTENSIVE INTENSIVE
Summary
The test results show that Sanrad V-Switch iSCSI solution offers a cost-effective alternative to
FC-attached storage. The difference in the numbers between the iSCSI solution and the FC solution is
negligible, on average. The results achieved with connecting the database instance through iSCSI-HBA
are similar or better to the numbers of FC-attached instance. Therefore, the SANRAD V-Switch can be
used for as a viable solution for I/O intensive OLTP applications such as Oracle 10g Database.