Oracle Storage Performance Studies

Slides:



Advertisements
Similar presentations
Scalable Storage Configuration for the Physics Database Services Luca Canali, CERN IT LCG Database Deployment and Persistency Workshop October, 2005.
Advertisements

Exadata Distinctives Brown Bag New features for tuning Oracle database applications.
Query Processing and Optimizing on SSDs Flash Group Qingling Cao
Database Storage for Dummies Adam Backman President – White Star Software, LLC.
DB server limits (process/sessions) Carlos Fernando Gamboa, BNL Andrew Wong, TRIUMF WLCG Collaboration Workshop, CERN Geneva, April 2008.
Understanding Storage’s Impact on Oracle Performance Jamon Bowen Texas Memory Systems.
CERN IT Department CH-1211 Genève 23 Switzerland t Storage for Data Management and Physics Databases Luca Canali, IT-DM After-C5 Presentation.
Oracle Clustering and Replication Technologies CCR Workshop - Otranto Barbara Martelli Gianluca Peco.
Fast Track, Microsoft SQL Server 2008 Parallel Data Warehouse and Traditional Data Warehouse Design BI Best Practices and Tuning for Scaling SQL Server.
1 RAL Status and Plans Carmine Cioffi Database Administrator and Developer 3D Workshop, CERN, November 2009.
BNL Oracle database services status and future plans Carlos Fernando Gamboa RACF Facility Brookhaven National Laboratory, US Distributed Database Operations.
SQL Server 2008 & Solid State Drives Jon Reade SQL Server Consultant SQL Server 2008 MCITP, MCTS Co-founder SQLServerClub.com, SSC
Storage review Carmine Cioffi Database Administrator and Developer 3D Workshop, Barcelona (ES), April 2009.
Database Services for Physics at CERN with Oracle 10g RAC HEPiX - April 4th 2006, Rome Luca Canali, CERN.
CERN IT Department CH-1211 Geneva 23 Switzerland t Experience with NetApp at CERN IT/DB Giacomo Tenaglia on behalf of Eric Grancher Ruben.
CERN - IT Department CH-1211 Genève 23 Switzerland t The High Performance Archiver for the LHC Experiments Manuel Gonzalez Berges CERN, Geneva.
Luca Canali, CERN Dawid Wojcik, CERN
CERN - IT Department CH-1211 Genève 23 Switzerland t Tier0 database extensions and multi-core/64 bit studies Maria Girone, CERN IT-PSS LCG.
Hadoop Hardware Infrastructure considerations ©2013 OpalSoft Big Data.
Databases at TRIUMF Andrew Wong CANADA’S NATIONAL LABORATORY FOR PARTICLE AND NUCLEAR PHYSICS Owned and operated as a joint venture by a consortium of.
ATLAS Scalability Tests of Tier-1 Database Replicas WLCG Collaboration Workshop (Tier0/Tier1/Tier2) Victoria, British Columbia, Canada September 1-2, 2007.
DBI313. MetricOLTPDWLog Read/Write mixMostly reads, smaller # of rows at a time Scan intensive, large portions of data at a time, bulk loading Mostly.
CASTOR Databases at RAL Carmine Cioffi Database Administrator and Developer Castor Face to Face, RAL February 2009.
LFC Replication Tests LCG 3D Workshop Barbara Martelli.
CERN - IT Department CH-1211 Genève 23 Switzerland t Oracle Real Application Clusters (RAC) Techniques for implementing & running robust.
ASM Configuration Review Luca Canali, CERN-IT Distributed Database Operations Workshop CERN, November 26 th, 2009.
CERN Database Services for the LHC Computing Grid Maria Girone, CERN.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
LHCb File-Metadata: Bookkeeping Carmine Cioffi Department of Physics, Oxford University UK Metadata Workshop Oxford, 04 July 2006.
Oracle for Physics Services and Support Levels Maria Girone, IT-ADC 24 January 2005.
CERN IT Department CH-1211 Genève 23 Switzerland t Storage Overview and IT-DM Lessons Learned Luca Canali, IT-DM DM Group Meeting
Maria Girone CERN - IT Tier0 plans and security and backup policy proposals Maria Girone, CERN IT-PSS.
Scalable Oracle 10g for the Physics Database Services Luca Canali, CERN IT January, 2006.
Database CNAF Barbara Martelli Rome, April 4 st 2006.
PIC port d’informació científica Luis Diaz (PIC) ‏ Databases services at PIC: review and plans.
Optimizing SQL Server and Databases for large Fact Tables =tg= Thomas Grohser, NTT Data SQL Server MVP SQL Server Performance Engineering SQL Saturday.
What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently and safely. Provide.
2 Copyright © 2006, Oracle. All rights reserved. RAC and Shared Storage.
DB Questions and Answers open session (comments during session) WLCG Collaboration Workshop, CERN Geneva, 24 of April 2008.
Oracle for Physics Services and Support Levels Maria Girone, IT-ADC 6 April 2005.
Exadata Distinctives 988 Bobby Durrett US Foods. What is Exadata? Complete Oracle database platform Disk storage system Unique to Exadata – intelligent.
Indexing strategies and good physical designs for performance tuning Kenneth Ureña /SpanishPASSVC.
Oracle Clustering and Replication Technologies UK Metadata Workshop - Oxford Barbara Martelli Gianluca Peco.
Performance Assurance for Large Scale Big Data Systems
Size Matters Not =tg= Thomas Grohser, NTT Data SQL Server MVP
Database Services Katarzyna Dziedziniewicz-Wojcik On behalf of IT-DB.
Backup & Recovery of Physics Databases
Optimizing SQL Server and Databases for large Fact Tables
Flash Storage 101 Revolutionizing Databases
Diskpool and cloud storage benchmarks used in IT-DSS
IT-DB Physics Services Planning for LHC start-up
Storage Overview and IT-DM Lessons Learned
Database Services at CERN Status Update
Optimizing SQL Server and Databases for large Fact Tables
Scalable Database Services for Physics: Oracle 10g RAC on Linux
Oracle Database Monitoring and beyond
Storage Team (Controller Performance) Aggregate Utilization
VNX Storage Report Project: Sample VNX Report Project ID:
Grid Canada Testbed using HEP applications
Case studies – Atlas and PVSS Oracle archiver
April 30th – Scheduling / parallel
ASM-based storage to scale out the Database Services for Physics
Oracle Solutions for Data Archiving
Implementing ASM Without HW RAID, A User’s Experience
Optimizing SQL Server and Databases for large Fact Tables
CERN DB Services: Status, Activities, Announcements
Scalable Database Services for Physics: Oracle 10g RAC on Linux
Evaluating and testing storage performance for Oracle DBs
Virtunet Systems Elevator Pitch
Hybrid Buffer Pool The Good, the Bad and the Ugly
Presentation transcript:

Oracle Storage Performance Studies Luca Canali, IT-DM WLCG Collaboration Workshop Database track, April 25th, 2008

Outline Goal: deploy I/O subsystems that meet applications’ requirements Input 1: What is needed. Ultimately comes from application owners Input 2: What is available. Technology- and cost- driven How to measure HW performance? Lessons learned and experience collected at CERN and T1s

New Hardware for LHC startup RAC5 RAC6

CPU and Memory Performance Measuring CPU and memory performance, is a relatively easy task. Upgrade to quad-core servers

Storage is a different game There is not yet a big jump in performance for storage technologies This can quickly change in a few years (SSD) Measuring and sizing storage subsystems is not as easy as servers (CPU) For Oracle there is traditionally a lot of FUD focused towards high-end solutions Traditionally storage configuration is not the DBA’s job

Criteria for PDB Storage Sizing We have selected the following main criteria for sizing PDB storage: IOPS: small random I/O performance (e.g. index-based read, nested loops join) TB: total capacity after mirroring MBPS: sequential IO performance (e.g. backups, full scans, hash joins) High Availability of the solution is a must Storage is shared in a RAC cluster

Cluster Storage for Oracle Several layers between Oracle tablespaces and physical storage Arrays, controllers, storage network, HBAs, volume managers, filesystems Each of them can be a bottleneck How can we find this out? Let’s measure it!

Tools – Oracle’s Orion Oracle ORION simulates Oracle workload: IOPS for random I/O (8KB) MBPS for sequential I/O (in chunks of 1 MB) Latency associated with the IO operations Simple to use Get started: ./orion_linux_em64t -run simple -testname mytest -num_disks 2 More info: https://twiki.cern.ch/twiki/bin/view/PSSGroup/OrionTests

ORION output - example

ORION results – HW tests Small random read operations, IOPS as measured with ORION System Type RAID Level IOPS IOPS / DISK(*) Usable Capacity Infortrend 128x SATA ASM ‘RAID10’ 12000 100 24 TB 96x Raptor 16000 160 6.5 TB Netapps SAN 80x SAS RAID-DP ‘RAID6’ 17000 210 7.5 TB

ORION - Lessons learned (*) IOPS measured by ORION are saturation levels (~10% higher than expected) Write tests are important RAID5 and 6 volumes are OK for reads but have degraded performance with write operations Take cache in consideration when testing: (ex: -cache_size 8000) Orion is very useful also when tuning arrays (parameters, stripe sizes, etc)

Case Study: The largest cluster I have ever installed, RAC5 The test used:14 servers

Multipath Fiber Channel 8 FC switches: 4Gbps (10Gbps uplink)

Many Spindles 26 storage arrays (16 SATA disks each)

Case Study: I/O metrics for the RAC5 cluster Measured, sequential I/O Read: 6 GByte/sec (70K IOPS) Read-Write: 3+3 GB/sec Measured, small random IO Read: 40K IOPS (8 KB read ops) Note: 410 SATA disks, 26 HBAS on the storage arrays Servers: 14 x 4+4Gbps HBAs, 112 cores, 224 GB of RAM

Tools – Custom SQL A custom SQL-based DB workload: IOPS: Probe randomly a large table (several TBs) via several parallel queries slaves (each reads a single block at a time) MBPS: Read a large (several TBs) table with parallel query Scripts are available on request The test table used for the RAC5 cluster was 5 TB in size created inside a diskgroup of 70TB

Case Study: Conclusions Commodity Storage on SAN and Linux servers can scale (tested up to 410 disks) RAC and ASM can scale up to 410 disks Lessons learned: disk and controller ‘infant mortality’ can be a problem.

Conclusions Configuration of the storage subsystems for WLCG databases is critical HA, IOPS and capacity are the most critical parts ASM and SAN on commodity HW have proven to perform and scale Being able to measure HW performance is an important part of the process Arrays with SATA, Raptor and SAS have been tested at CERN and T1s SATA are proven, SAS are promising more tests are planned

Acknowledgments This presentation contains the work of the IT-DM DBA team: Dawid, Eva, Jacek, Maria, Miguel. Many thanks to Luis (PICS) for the Netapps tests. Thanks also to the T1 DBAs who showed interest in testing their storage with Orion: Andrew, Carmine, Carlos.