8
HP StorageWorks P4000 Scalability for Performance with Oracle Technical Brief Describing how Oracle environments benefit from expanding P4000 SAN Solutions Technical brief Table of contents Executive summary............................................................................................................................... 2 Introduction ......................................................................................................................................... 2 P4000 SAN Overview ..................................................................................................................... 2 Overview of Oracle ......................................................................................................................... 2 P4000/Oracle test environment ............................................................................................................ 3 P4000 SAN .................................................................................................................................... 3 Servers ........................................................................................................................................... 3 ASM Layout..................................................................................................................................... 3 Test hardware and software .............................................................................................................. 3 Test environment .............................................................................................................................. 4 Performance and scale out .................................................................................................................... 5 Storage node addition ...................................................................................................................... 5 Scale-out performance ...................................................................................................................... 6 Other performance considerations ..................................................................................................... 7 Conclusion.......................................................................................................................................... 8

4AA1-9550ENW P4000 Oracle Performance.pdf

Embed Size (px)

Citation preview

  • HP StorageWorks P4000 Scalability for Performance with Oracle

    Technical Brief Describing how Oracle environments benefit from expanding P4000 SAN Solutions

    Technical brief

    Table of contents

    Executive summary ............................................................................................................................... 2

    Introduction ......................................................................................................................................... 2P4000 SAN Overview ..................................................................................................................... 2Overview of Oracle ......................................................................................................................... 2

    P4000/Oracle test environment ............................................................................................................ 3P4000 SAN .................................................................................................................................... 3Servers ........................................................................................................................................... 3ASM Layout ..................................................................................................................................... 3Test hardware and software .............................................................................................................. 3Test environment .............................................................................................................................. 4

    Performance and scale out .................................................................................................................... 5Storage node addition ...................................................................................................................... 5Scale-out performance ...................................................................................................................... 6Other performance considerations ..................................................................................................... 7

    Conclusion .......................................................................................................................................... 8

  • 2

    Executive summary In todays competitive environment, companies need to accelerate business growth, while keeping costs under control. Having the ability to easily scale your storage will keep database and storage administrators from over-allocating storage capacity to resolve anticipated issues associated with application performance and space.

    This paper explores how to help optimize a HP Storage Works P4000 SAN for performance in an Oracle 11gR2 online transaction processing (OLTP) environment. The P4000 SAN demonstrates the value of a modular, scale out storage architecture. The P4000 SAN provides storage that is highly scalable and optimized for Oracle databases. A virtual pool of storage is created, which is easy to manage and scales out capacity and performance without causing downtime.

    This HP and Oracle solution demonstrates SAN through storage virtualization. Furthermore, significantly higher returns on investment (ROI) are achieved through pooled storage capacity and the ability to scale out storage without disruption. This will allow IT to right size space and energy requirements while helping to optimize operational costs. The P4000 SAN and Oracle 11gR2 join to make a complete, scalable solution.

    Introduction

    P4000 SAN Overview HP P4000 SANs use the SAN/IQ storage management software to pool together the storage capacity and performance of the P4000 storage nodes. Each storage node consists of a disk array, processor, memory, two network ports, and redundant power supplies. The individual storage nodes are fully functional disk arrays with hardware RAID 5, 6, or 10.

    The SAN/IQ storage software manages clusters of nodes as a single storage pool. The Network RAID functionality stripes and protects multiple copies of data across a cluster of storage nodes helping to eliminate any single point of failure in the HP P4000 SAN. Applications have near continuous data availability in the event of a disk, controller, storage node, power, network, or site failure. Network RAID levels are chosen on a per-volume basis and can be changed on the fly. Network RAID levels 0, 5, 6, 10, 10+1, 10+2 are available.

    The modular design and the flexibility of P4000 SANs allow storage and performance to be increased without disruption. As storage nodes are added to a P4000 cluster, volumes are rebalanced to span all storage nodes increasing storage capacity and performance. Scaling a P4000 SAN for increased capacity also yields better performance.

    Overview of Oracle Oracles Relational Database Management Systems (RDBMS) serves data for a wide range of applications in the IT world. Data access patterns vary widely in Oracle environments both small block transaction intensive processing and large block data mining applications. The amount of data required to do business doesnt shrink. As organizations and customer bases expand so does the amount of data Oracle is asked to manage. The scalable performance and online expansion of the P4000 SAN makes it an ideal storage solution for Oracle environments.

  • 3

    P4000/Oracle test environment A test environment was built to characterize the behavior of a P4000 SAN serving storage to an Oracle RAC environment while scaling the SAN for performance under an OLTP type workload. Quest Benchmark Factory was used to generate an OLTP type of load on a two node RAC cluster.

    P4000 SAN The volumes on the P4000 storage cluster were created with Network RAID10 (2-way mirror), meaning each data block for a particular volume is striped and mirrored across different storage nodes in the same SAN. The individual disks in the P4000 storage nodes were configured in a RAID10 set to provide disk-level data protection. Finally, each storage node was connected through two different gigabit Ethernet switches for network load balancing and redundancy.

    Servers Two servers were combined into an Oracle Real Application Cluster (RAC). The servers were installed with Oracle Enterprise Linux 5u5 and Oracle version 11g Release 2. Each server had a two port QLA4062c HBA used as hardware iSCSI initiator with Linux native multipathing.

    ASM Layout Oracles Automatic Storage Management (ASM) was used to manage the P4000 volumes. Four ASM disk groups were created. The ASM disk group DATA consisted of four P4000 volumes that contained all the data files in the database.

    Test hardware and software

    Oracle RAC Cluster Nodes HP Proliant DL 785 G5

    Qlogic iSCSI HBA QLA4062C

    Oracle Enterprise Linux 5u5

    Oracle 11g Release 2

    Oracle ASM

    Storage HP StorageWorks P4500 15k SAS

    RAID 10

    Network RAID 10

    HP P4000 SAN/IQ 8.5

    HP P4000 Centralized Management Console

    Network Procurve 1800-24G switch

    Procurve 3400cl-24G switch

  • 4

    Test environment

    Figure 1: Test environment

  • 5

    Performance and scale out Oracle performance was first measured against a P4000 SAN with two nodes in the storage cluster. Then two additional storage nodes were added, the cluster rebalanced with the new nodes and performance was measured again.

    10ms was chosen as the standard for good performance for the tests described in this paper. With I/O latency at less than or equal to 10ms it is unlikely that storage performance is impeding any part of the Oracle environment. The number of Oracle sessions working in the database was increased, causing the number of OLTP transactions per second (TPS) to also increase, when I/O latency increased to 10ms that number of Oracle sessions chosen as the acceptable number of users for the environment.

    Storage node addition Two nodes were added to the existing two node cluster resulting in a four node cluster. SAN I/Q automatically restripes the volumes to span all nodes in the cluster. SAN I/Q allows the storage administrator to choose how much bandwidth is dedicated to restriping. The restriping operation is done online without causing downtime.

    Figure 2: Online scale-out

  • 6

    Scale-out performance Figures 4 and 5 show the relative performance improvement of the expanded P4000 SAN cluster. All performance metrics doubled with the addition of 2 more storage nodes. The scaling operation was initiated with a few clicks in the SAN I/Q GUI and required no downtime. In other testing this linear performance improvement has been seen to continue as nodes are added. IOPs and throughput scale up linearly until other limitations in the SAN are met. If network bandwidth and server capacity are not limitations the P4000 SAN can meet virtually any performance or capacity requirement.

    Figure 3: 2X Performance Scaling

    Figure 4: 2 Node SAN Two nodes: 4051 IOPS with less than10ms average latency

  • 7

    Figure 5: 4 Node SAN Four nodes: 8533 IOPs with less than 10ms average latency

    Other performance considerations Oracle installations vary greatly in their I/O patterns and server requirements. There are several general rules that can benefit performance and should be considered when designing an Oracle environment on a P4000 SAN

    OLTP and Data Warehouse databases benefit from separation. Heavy random access loads can perturb cache and impact the throughput of sequential access jobs that are running at the same time. Consider scheduling the loads to run at different times or move the database to separate clusters if this becomes an issue.

    Redo logs are Common bottlenecks in I/O intensive Oracle applications. Redo logs and archive logs should reside on different volumes to avoid contention during a log switch. Transactions will be held up if log switches are slow.

    Small volumes deliver higher IOPs than a few large volumes under an OLTP type of load. Multiple HBAs/initiators and/or multiple network connections are important for reducing the chance

    of connectivity loss to the SAN.

  • Conclusion In business-critical Oracle environments IT organizations are faced with meeting challenging service levels. The amount of data storage is constantly growing and downtime equates with lost revenue. The HP StorageWorks P4000 SAN is a highly available storage solution that linearly scales both performance and capacity. The P4000 solves performance problems by allowing the storage administrator to add nodes without disruption, scaling-up both speed and space with each new node.

    Even in the face of rapidly expanding databases, the P4000 promises SAN performance and data availability that grow as needed. The modular design provides the flexibility and ease of expansion so that storage requirements can be met.

    To learn more about how HP StorageWorks P4000 SAN enhances performance and scalability in Oracle environment, visit: HP StorageWorks P4000 SAN Users Guide or www.hp.com/go/p4000

    Share with colleagues

    Copyright 2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

    Oracle is a registered trademark of Oracle Corporation and/or its affiliates.

    4AA1-9550ENW, Created October 2010

    Executive summaryIntroductionP4000 SAN OverviewOverview of Oracle

    P4000/Oracle test environmentP4000 SANServersASM LayoutTest hardware and softwareTest environment

    Performance and scale outStorage node additionScale-out performanceOther performance considerations

    Conclusion

    /ColorConversionStrategy /CMYK /ColorImageAutoFilterStrategy /JPEG /ColorImageDepth -1 /ColorImageDict > /ColorImageDownsampleThreshold 1.50000 /ColorImageDownsampleType /Bicubic /ColorImageFilter /DCTEncode /ColorImageMinDownsampleDepth 1 /ColorImageMinResolution 300 /ColorImageMinResolutionPolicy /OK /ColorImageResolution 300 /ColorSettingsFile () /CompatibilityLevel 1.5 /CompressObjects /Tags /CompressPages true /ConvertImagesToIndexed true /CreateJDFFile false /CreateJobTicket false /CropColorImages false /CropGrayImages false /CropMonoImages false /DSCReportingLevel 0 /DefaultRenderingIntent /Default /Description > /DetectBlends true /DetectCurves 0 /DoThumbnails false /DownsampleColorImages true /DownsampleGrayImages true /DownsampleMonoImages true /EmbedAllFonts true /EmbedJobOptions true /EmbedOpenType false /EmitDSCWarnings false /EncodeColorImages true /EncodeGrayImages true /EncodeMonoImages true /EndPage -1 /GrayACSImageDict > /GrayImageAutoFilterStrategy /JPEG /GrayImageDepth -1 /GrayImageDict > /GrayImageDownsampleThreshold 1.50000 /GrayImageDownsampleType /Bicubic /GrayImageFilter /DCTEncode /GrayImageMinDownsampleDepth 2 /GrayImageMinResolution 300 /GrayImageMinResolutionPolicy /OK /GrayImageResolution 300 /ImageMemory 1048576 /JPEG2000ColorACSImageDict > /JPEG2000ColorImageDict > /JPEG2000GrayACSImageDict > /JPEG2000GrayImageDict > /LockDistillerParams false /MaxSubsetPct 100 /MonoImageDepth -1 /MonoImageDict > /MonoImageDownsampleThreshold 1.50000 /MonoImageDownsampleType /Bicubic /MonoImageFilter /CCITTFaxEncode /MonoImageMinResolution 1200 /MonoImageMinResolutionPolicy /OK /MonoImageResolution 1200 /Namespace [ (Adobe) (Common) (1.0) ] /NeverEmbed [ true ] /OPM 1 /Optimize true /OtherNamespaces [ > /FormElements false /GenerateStructure false /IncludeBookmarks false /IncludeHyperlinks true /IncludeInteractive true /IncludeLayers true /IncludeProfiles false /MarksOffset 6 /MarksWeight 0.25000 /MultimediaHandling /UseObjectSettings /Namespace [ (Adobe) (CreativeSuite) (2.0) ] /PDFXOutputIntentProfileSelector /DocumentCMYK /PageMarksFile /RomanDefault /PreserveEditing true /UntaggedCMYKHandling /LeaveUntagged /UntaggedRGBHandling /UseDocumentProfile /UseDocumentBleed false >> > ] /PDFX1aCheck false /PDFX3Check false /PDFXBleedBoxToTrimBoxOffset [ 0 0 0 0 ] /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXOutputCondition () /PDFXOutputConditionIdentifier () /PDFXOutputIntentProfile () /PDFXRegistryName () /PDFXSetBleedBoxToMediaBox true /PDFXTrapped /False /PDFXTrimBoxToMediaBoxOffset [ 0 0 0 0 ] /ParseDSCComments true /ParseDSCCommentsForDocInfo true /ParseICCProfilesInComments true /PassThroughJPEGImages true /PreserveCopyPage true /PreserveDICMYKValues true /PreserveEPSInfo true /PreserveFlatness false /PreserveHalftoneInfo false /PreserveOPIComments true /PreserveOverprintSettings true /StartPage 1 /SubsetFonts true /TransferFunctionInfo /Apply /UCRandBGInfo /Preserve /UsePrologue false /sRGBProfile (sRGB IEC61966-2.1)>> setdistillerparams> setpagedevice