SlideShare a Scribd company logo
1 of 22
Scalable Storage Configuration for theScalable Storage Configuration for the
Physics Database ServicesPhysics Database Services
22
OutlineOutline
• In this talk I will discussIn this talk I will discuss
– Storage configuration for scalable database services
• Main challenges
• Best practices
– An implementation of scalable storage
• Impacts on DB logical to physical mapping
• Performance and resource allocations
– How we can help you to size new database projects or
to scale up existing applications
• Performance testing
• Benchmark data
33
Oracle Scalable ArchitectureOracle Scalable Architecture
Goal:Goal: A database infrastructure that provides the required systemA database infrastructure that provides the required system
resources to the end-users and applications.resources to the end-users and applications.
How:How: A modular architecture that can scale up to a large number ofA modular architecture that can scale up to a large number of
componentscomponents
44
RAID 1: HA StorageRAID 1: HA Storage
• MirroringMirroring
– 2-Way mirroring (RAID 1) protects against single point
of failures
– Can be used to redistribute I/O load (performance)
55
RAID 0: Scalable PerformancesRAID 0: Scalable Performances
• RAID 0 (Striping) automatically redistributes files acrossRAID 0 (Striping) automatically redistributes files across
multiple disks.multiple disks.
• Performance and scalability are increasedPerformance and scalability are increased
• Error resiliency is decreasedError resiliency is decreased
UnstripedDisks StripedDisks
66
Mechanical and Geometrical constraintsMechanical and Geometrical constraints
• The external part of the disk providesThe external part of the disk provides
– More throughput
– Less latency
77
S.A.M.E StrategyS.A.M.E Strategy
• Goal: optimize storage I/O utilizationGoal: optimize storage I/O utilization
• S.A.M.E. (Stripe And Mirror Everything) StrategyS.A.M.E. (Stripe And Mirror Everything) Strategy
– Built on the concepts of RAID 1 + 0
– Proposed by J. Loaiza (Oracle) in 1999
– Replaces “old recipes”: manual balancing across
volumes
• Need a Software or Hardware Volume ManagerNeed a Software or Hardware Volume Manager
– ASM is Oracle’s solution with 10g “S.A.M.E. out of the
box”
– Other solutions available from different vendors
require configuration
88
Storage Configuration GuidelinesStorage Configuration Guidelines
• Use all available disk drivesUse all available disk drives
• Place frequently used data at outer half of diskPlace frequently used data at outer half of disk
– Fastest transfer rate
– Minimize seek time
• Stripe data at 1MB extentsStripe data at 1MB extents
– Distribute the workload across disks
– Eliminate hot spots
– Optimum sequential bandwidth gained with1MB I/O
• Stripe redo logs across multiple drivesStripe redo logs across multiple drives
– Maximize write throughput for small writes
– Smaller stripe size (128KB) and/or dedicated disks
• Use cache on the controllerUse cache on the controller
– ‘Write-back’ cache
– Battery-backed cache
99
Oracle’s ASM Main FeaturesOracle’s ASM Main Features
• Mirror protection:
– 2-way and 3-way mirroring available.
– Mirror on a per-file basis
– Can mirror across storage arrays
• Data striping across the volume:
– 1MB and 128KB stripes available
• Supports clustering and single instance
• Dynamic data distribution
– A solution to avoid ‘hot spots’
– On-line add/drop disk with minimal data relocation
– Automatic database file management
• Database File System with performance of RAW I/O
1010
ASM’s Configuration – ExamplesASM’s Configuration – Examples
• ASM is a volume manager, its output are disk groups (DG) that OracleASM is a volume manager, its output are disk groups (DG) that Oracle
databases can mount to allocate their filesdatabases can mount to allocate their files
RECOVERY-DGDATA-DG
Config 1: Disk groups created
with dedicated disks
Config 2: Disk groups created
by ‘horizontal’ slicing
1111
Proposed Storage ConfigurationProposed Storage Configuration
• Proposed storage configuration:Proposed storage configuration:
– High availability - Allows backups to disk
– High performance - Allows clusterware mirroring (10.2)
– DBs have dedicated resources
Storage
Arrays
Oracle RAC
Nodes
Data DG-2 Recovery DG-1Data DG-1 Recovery DG-2 Disk Groups
(ASM)
DB N.1 DB N.2
1212
FAQ 1: DatafilesFAQ 1: Datafiles
• Do I need to worry on the number and names ofDo I need to worry on the number and names of
the datafiles allocated for each tablespace?the datafiles allocated for each tablespace?
• ““Traditional” storage allocation across multiple volumes:Traditional” storage allocation across multiple volumes:
– Requires a careful allocation of multiple datafiles across logical
volumes and/or filesystems
– Datafile-to-filesystem and filesystem-to-physical storage mappings
have to be frequently tuned
• S.A.M.E. storage, such as Oracle ASM, provides balanced I/O accessS.A.M.E. storage, such as Oracle ASM, provides balanced I/O access
across disksacross disks
– There is NO NEED, for performance reasons, to allocate multiple
datafiles per tablespace.
– 10g new feature “bigfile tablespace” allows for tablespaces with a
single datafile that can grow up to 32 TB (db_block_size=8k)
1313
FAQ 2: Data and Index TablespacesFAQ 2: Data and Index Tablespaces
• Do I need dedicated tablespaces for indexes andDo I need dedicated tablespaces for indexes and
tables?tables?
• Separation of indexes and tables has often been advised to:Separation of indexes and tables has often been advised to:
– Distribute I/O
– Reduce fragmentation
– Allow separate backup of tables and indexes
• S.A.M.E. storage, such as Oracle ASM, provides balanced I/O accessS.A.M.E. storage, such as Oracle ASM, provides balanced I/O access
across disksacross disks
– No performance gains are expected by using dedicated
tablespaces for INDEXes and TABLEs.
• Additional Notes:Additional Notes:
– Tablespaces fragmentation has little impact when using locally managed
TBSs and automatic segment space management (9i and 10g)
– Very large database can profit from using multiple tablespaces for admin
purposes and logical separation of objects
1414
FAQ 3: Sizing StorageFAQ 3: Sizing Storage
• Storage sizing for database should not take size as theStorage sizing for database should not take size as the
first requirementfirst requirement
– Bandwidth and performance metrics are bound to the number of
disk spindles
– Magnetic HD technology has improved the GByte/$ ratio
– The rest of HD technology has not seen much improvements in
the last 5 years (since 15K rpms HDs)
• Sizing for storage requirements shouldSizing for storage requirements should
– Be based on stress test measurements
– Past performance measurements on comparable systems
– New projects can leverage benchmark data.
• Extra HD space is not wastedExtra HD space is not wasted
– Can be used to strengthen the B&R policy with Disk Backups
1515
IO Benchmark MeasurementsIO Benchmark Measurements
• Benchmark data can be used forBenchmark data can be used for
– Sizing of new projects and upgrades
– Performance baseline, testing for new hardware
• The following metrics have been measured:The following metrics have been measured:
– Sequential throughput (full scans)
– Random access (indexed access)
– I/O per second (indexed access)
– Metrics are measured as a function of workload
• Other test detailsOther test details
– Benchmark tool: Oracle’s ORION
– Infortrend Storage array: 16 SATA x 400 GB disks, 1
controller and 1 GB cache
1616
IO Benchmark DataIO Benchmark Data
Sequential Workload Performance
(Read Only Workload)
0
20
40
60
80
100
120
140
160
1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32
Load (N# Outstanding asynch I/Os)
Throughput(MBps)
12 LUNs, noraid
16 LUNs, no raid,
external partition
Throughput:
+ 25%
1717
IO Benchmark DataIO Benchmark Data
Latency for Small Random I/O
(Read Only Workload)
0
20
40
60
80
100
120
140
160
1 2 3 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80
Load (N# Outstanding asynch I/Os)
Latency(ms)
12 LUNs, noraid
16 LUNs, no raid,
external partition
Latency:
- 35%
1818
IO Benchmark DataIO Benchmark Data
Small Random I/O Performance
(Read Only Workload)
0
100
200
300
400
500
600
700
800
900
1000
1 4 16 28 40 52 64 76
Load (N# Outstanding asynch I/Os)
I/Opersecond
12 LUNs, noraid
16 LUNs, no raid,
external partition
I/O /sec:
+60%
1919
ConclusionsConclusions
• The Database Services for Physics can provideThe Database Services for Physics can provide
– Scalable Database services
• Scalable on CPU and Memory resources
• Scalable on Storage resources
– Sizing for new projects or upgrades
• Stress/Performance testing
• Integration and Validation Testing
• Benchmark data for capacity planning
2020
Additional Benchmark DataAdditional Benchmark Data
Sequential Workload Performance
(Read Only Workload)
0
20
40
60
80
100
120
140
1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32
Load (N# Outstanding asynch I/Os)
Throughput(MBps)
7 LUNs, raid0
14 LUNs, no raid
14 LUNs, no raid, outer
partition used
14 LUN, no raid, inner
partition used
2121
Additional Benchmark DataAdditional Benchmark Data
Latency for Small Random I/O
(Read Only Workload)
0
20
40
60
80
100
120
140
1 2 3 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80
Load (N# Outstanding asynch I/Os)
Latency(ms)
7 LUNs, raid0
14 LUNs, no raid
14 LUNs, no raid, outer
partition used
14 LUNS, no raid, inner
partition used
2222
Additional Benchmark DataAdditional Benchmark Data
Small Random I/O Performance
(Read Only Workload)
0
100
200
300
400
500
600
700
800
900
1 4 16 28 40 52 64 76
Load (N# Outstanding asynch I/Os)
I/Opersecond
7 LUNs, raid0
14 LUNs, no raid
14 LUNs, noraid, outer
partition used
14 LUNS, noraid, inner
partition used

More Related Content

What's hot

Oracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskOracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskAlan Williams
 
IBM Platform Computing Elastic Storage
IBM Platform Computing  Elastic StorageIBM Platform Computing  Elastic Storage
IBM Platform Computing Elastic StoragePatrick Bouillaud
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
 
Backup Options for IBM PureData for Analytics powered by Netezza
Backup Options for IBM PureData for Analytics powered by NetezzaBackup Options for IBM PureData for Analytics powered by Netezza
Backup Options for IBM PureData for Analytics powered by NetezzaTony Pearson
 
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and OptimisationDB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and OptimisationJohn Campbell
 
Nicholas:hdfs what is new in hadoop 2
Nicholas:hdfs what is new in hadoop 2Nicholas:hdfs what is new in hadoop 2
Nicholas:hdfs what is new in hadoop 2hdhappy001
 
Nn ha hadoop world.final
Nn ha hadoop world.finalNn ha hadoop world.final
Nn ha hadoop world.finalHortonworks
 
Oracle Database 12.1.0.2 New Performance Features
Oracle Database 12.1.0.2 New Performance FeaturesOracle Database 12.1.0.2 New Performance Features
Oracle Database 12.1.0.2 New Performance FeaturesChristian Antognini
 
IBM general parallel file system - introduction
IBM general parallel file system - introductionIBM general parallel file system - introduction
IBM general parallel file system - introductionIBM Danmark
 
Backup and Disaster Recovery in Hadoop
Backup and Disaster Recovery in HadoopBackup and Disaster Recovery in Hadoop
Backup and Disaster Recovery in Hadooplarsgeorge
 
Spectrum Scale final
Spectrum Scale finalSpectrum Scale final
Spectrum Scale finalJoe Krotz
 
HDFS- What is New and Future
HDFS- What is New and FutureHDFS- What is New and Future
HDFS- What is New and FutureDataWorks Summit
 
Oow 2008 yahoo_pie-db
Oow 2008 yahoo_pie-dbOow 2008 yahoo_pie-db
Oow 2008 yahoo_pie-dbbohanchen
 
Towards Application Driven Storage
Towards Application Driven StorageTowards Application Driven Storage
Towards Application Driven StorageJavier González
 
Backup_exadata_update
Backup_exadata_updateBackup_exadata_update
Backup_exadata_updateFran Navarro
 
Db2 recovery IDUG EMEA 2013
Db2 recovery IDUG EMEA 2013Db2 recovery IDUG EMEA 2013
Db2 recovery IDUG EMEA 2013Dale McInnis
 

What's hot (20)

IBM GPFS
IBM GPFSIBM GPFS
IBM GPFS
 
Oracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskOracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ Autodesk
 
IBM Platform Computing Elastic Storage
IBM Platform Computing  Elastic StorageIBM Platform Computing  Elastic Storage
IBM Platform Computing Elastic Storage
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
Exadata Backup
Exadata BackupExadata Backup
Exadata Backup
 
Backup Options for IBM PureData for Analytics powered by Netezza
Backup Options for IBM PureData for Analytics powered by NetezzaBackup Options for IBM PureData for Analytics powered by Netezza
Backup Options for IBM PureData for Analytics powered by Netezza
 
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and OptimisationDB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
DB2 10 & 11 for z/OS System Performance Monitoring and Optimisation
 
Nicholas:hdfs what is new in hadoop 2
Nicholas:hdfs what is new in hadoop 2Nicholas:hdfs what is new in hadoop 2
Nicholas:hdfs what is new in hadoop 2
 
Nn ha hadoop world.final
Nn ha hadoop world.finalNn ha hadoop world.final
Nn ha hadoop world.final
 
Oracle Database 12.1.0.2 New Performance Features
Oracle Database 12.1.0.2 New Performance FeaturesOracle Database 12.1.0.2 New Performance Features
Oracle Database 12.1.0.2 New Performance Features
 
IBM general parallel file system - introduction
IBM general parallel file system - introductionIBM general parallel file system - introduction
IBM general parallel file system - introduction
 
Backup and Disaster Recovery in Hadoop
Backup and Disaster Recovery in HadoopBackup and Disaster Recovery in Hadoop
Backup and Disaster Recovery in Hadoop
 
Spectrum Scale final
Spectrum Scale finalSpectrum Scale final
Spectrum Scale final
 
HDFS- What is New and Future
HDFS- What is New and FutureHDFS- What is New and Future
HDFS- What is New and Future
 
Oow 2008 yahoo_pie-db
Oow 2008 yahoo_pie-dbOow 2008 yahoo_pie-db
Oow 2008 yahoo_pie-db
 
Towards Application Driven Storage
Towards Application Driven StorageTowards Application Driven Storage
Towards Application Driven Storage
 
HDF5 I/O Performance
HDF5 I/O PerformanceHDF5 I/O Performance
HDF5 I/O Performance
 
Backup_exadata_update
Backup_exadata_updateBackup_exadata_update
Backup_exadata_update
 
Db2 recovery IDUG EMEA 2013
Db2 recovery IDUG EMEA 2013Db2 recovery IDUG EMEA 2013
Db2 recovery IDUG EMEA 2013
 
Ch8
Ch8Ch8
Ch8
 

Viewers also liked (20)

Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Soap
SoapSoap
Soap
 
Jsp
JspJsp
Jsp
 
Bpm
BpmBpm
Bpm
 
Soap service
Soap serviceSoap service
Soap service
 
Seo
SeoSeo
Seo
 
Rest
RestRest
Rest
 
EXtensible Markup Language
EXtensible Markup LanguageEXtensible Markup Language
EXtensible Markup Language
 
Presentation of Tax
Presentation of Tax Presentation of Tax
Presentation of Tax
 
Multiplatform
MultiplatformMultiplatform
Multiplatform
 
Jdbc drivers
Jdbc driversJdbc drivers
Jdbc drivers
 
Restful api modeling language
Restful api modeling languageRestful api modeling language
Restful api modeling language
 
Buissness model analysis
Buissness model analysisBuissness model analysis
Buissness model analysis
 
Mule anypoint platform
Mule anypoint platformMule anypoint platform
Mule anypoint platform
 
Mule fundamentals
Mule fundamentalsMule fundamentals
Mule fundamentals
 
Leadership today
Leadership todayLeadership today
Leadership today
 
Oracle Enterprise Repository
Oracle Enterprise RepositoryOracle Enterprise Repository
Oracle Enterprise Repository
 
Health triangle
Health triangleHealth triangle
Health triangle
 
Api desgin
Api desginApi desgin
Api desgin
 

Similar to Oracle real application_cluster

Scalable Storage Configuration for the Physics Database Services
Scalable Storage Configuration for the Physics Database ServicesScalable Storage Configuration for the Physics Database Services
Scalable Storage Configuration for the Physics Database Servicesmabessisindu
 
Building a High Performance Analytics Platform
Building a High Performance Analytics PlatformBuilding a High Performance Analytics Platform
Building a High Performance Analytics PlatformSantanu Dey
 
QCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureQCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureCeph Community
 
QCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureQCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitecturePatrick McGarry
 
Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph Ceph Community
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionSplunk
 
Accelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheAccelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheNicolas Poggi
 
Pros and Cons of Erasure Coding & Replication vs. RAID in Next-Gen Storage
Pros and Cons of Erasure Coding & Replication vs. RAID in Next-Gen StoragePros and Cons of Erasure Coding & Replication vs. RAID in Next-Gen Storage
Pros and Cons of Erasure Coding & Replication vs. RAID in Next-Gen StorageEric Carter
 
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...Ceph Community
 
Storage and performance- Batch processing, Whiptail
Storage and performance- Batch processing, WhiptailStorage and performance- Batch processing, Whiptail
Storage and performance- Batch processing, WhiptailInternet World
 
Designing for High Performance Ceph at Scale
Designing for High Performance Ceph at ScaleDesigning for High Performance Ceph at Scale
Designing for High Performance Ceph at ScaleJames Saint-Rossy
 
High Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisHigh Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisMike Pittaro
 
Mike Pittaro - High Performance Hardware for Data Analysis
Mike Pittaro - High Performance Hardware for Data Analysis Mike Pittaro - High Performance Hardware for Data Analysis
Mike Pittaro - High Performance Hardware for Data Analysis PyData
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionSplunk
 
Ceph: Low Fail Go Scale
Ceph: Low Fail Go Scale Ceph: Low Fail Go Scale
Ceph: Low Fail Go Scale Ceph Community
 
SF Big Analytics & SF Machine Learning Meetup: Machine Learning at the Limit ...
SF Big Analytics & SF Machine Learning Meetup: Machine Learning at the Limit ...SF Big Analytics & SF Machine Learning Meetup: Machine Learning at the Limit ...
SF Big Analytics & SF Machine Learning Meetup: Machine Learning at the Limit ...Chester Chen
 
Red Hat Storage Day Atlanta - Designing Ceph Clusters Using Intel-Based Hardw...
Red Hat Storage Day Atlanta - Designing Ceph Clusters Using Intel-Based Hardw...Red Hat Storage Day Atlanta - Designing Ceph Clusters Using Intel-Based Hardw...
Red Hat Storage Day Atlanta - Designing Ceph Clusters Using Intel-Based Hardw...Red_Hat_Storage
 
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Odinot Stanislas
 
High Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisHigh Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisMike Pittaro
 
High Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisHigh Performance Hardware for Data Analysis
High Performance Hardware for Data Analysisodsc
 

Similar to Oracle real application_cluster (20)

Scalable Storage Configuration for the Physics Database Services
Scalable Storage Configuration for the Physics Database ServicesScalable Storage Configuration for the Physics Database Services
Scalable Storage Configuration for the Physics Database Services
 
Building a High Performance Analytics Platform
Building a High Performance Analytics PlatformBuilding a High Performance Analytics Platform
Building a High Performance Analytics Platform
 
QCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureQCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference Architecture
 
QCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureQCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference Architecture
 
Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph Ceph Community Talk on High-Performance Solid Sate Ceph
Ceph Community Talk on High-Performance Solid Sate Ceph
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Accelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheAccelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket Cache
 
Pros and Cons of Erasure Coding & Replication vs. RAID in Next-Gen Storage
Pros and Cons of Erasure Coding & Replication vs. RAID in Next-Gen StoragePros and Cons of Erasure Coding & Replication vs. RAID in Next-Gen Storage
Pros and Cons of Erasure Coding & Replication vs. RAID in Next-Gen Storage
 
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
 
Storage and performance- Batch processing, Whiptail
Storage and performance- Batch processing, WhiptailStorage and performance- Batch processing, Whiptail
Storage and performance- Batch processing, Whiptail
 
Designing for High Performance Ceph at Scale
Designing for High Performance Ceph at ScaleDesigning for High Performance Ceph at Scale
Designing for High Performance Ceph at Scale
 
High Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisHigh Performance Hardware for Data Analysis
High Performance Hardware for Data Analysis
 
Mike Pittaro - High Performance Hardware for Data Analysis
Mike Pittaro - High Performance Hardware for Data Analysis Mike Pittaro - High Performance Hardware for Data Analysis
Mike Pittaro - High Performance Hardware for Data Analysis
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Ceph: Low Fail Go Scale
Ceph: Low Fail Go Scale Ceph: Low Fail Go Scale
Ceph: Low Fail Go Scale
 
SF Big Analytics & SF Machine Learning Meetup: Machine Learning at the Limit ...
SF Big Analytics & SF Machine Learning Meetup: Machine Learning at the Limit ...SF Big Analytics & SF Machine Learning Meetup: Machine Learning at the Limit ...
SF Big Analytics & SF Machine Learning Meetup: Machine Learning at the Limit ...
 
Red Hat Storage Day Atlanta - Designing Ceph Clusters Using Intel-Based Hardw...
Red Hat Storage Day Atlanta - Designing Ceph Clusters Using Intel-Based Hardw...Red Hat Storage Day Atlanta - Designing Ceph Clusters Using Intel-Based Hardw...
Red Hat Storage Day Atlanta - Designing Ceph Clusters Using Intel-Based Hardw...
 
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
 
High Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisHigh Performance Hardware for Data Analysis
High Performance Hardware for Data Analysis
 
High Performance Hardware for Data Analysis
High Performance Hardware for Data AnalysisHigh Performance Hardware for Data Analysis
High Performance Hardware for Data Analysis
 

More from Prabhat gangwar

More from Prabhat gangwar (20)

Middleware
MiddlewareMiddleware
Middleware
 
Pseudolocalization
PseudolocalizationPseudolocalization
Pseudolocalization
 
Mule anypoint studio
Mule anypoint studioMule anypoint studio
Mule anypoint studio
 
What is cluster analysis
What is cluster analysisWhat is cluster analysis
What is cluster analysis
 
clustering and load balancing
clustering and load balancingclustering and load balancing
clustering and load balancing
 
Middleware systems overview and introduction
Middleware systems overview and introductionMiddleware systems overview and introduction
Middleware systems overview and introduction
 
Gsm architecture
Gsm architectureGsm architecture
Gsm architecture
 
Oracle vs-mulesoft-api-manager-features
Oracle vs-mulesoft-api-manager-featuresOracle vs-mulesoft-api-manager-features
Oracle vs-mulesoft-api-manager-features
 
Introducing adf business components
Introducing adf business componentsIntroducing adf business components
Introducing adf business components
 
File transfer methods
File transfer methodsFile transfer methods
File transfer methods
 
Ftp tftp
Ftp tftpFtp tftp
Ftp tftp
 
Global warming
Global warmingGlobal warming
Global warming
 
Vedic mathmetics
Vedic mathmeticsVedic mathmetics
Vedic mathmetics
 
Trends
TrendsTrends
Trends
 
E commerce buissness-model
E commerce buissness-modelE commerce buissness-model
E commerce buissness-model
 
Effective communication skills
Effective communication skillsEffective communication skills
Effective communication skills
 
Office politics
Office politicsOffice politics
Office politics
 
Introduction to xamarin
Introduction to xamarinIntroduction to xamarin
Introduction to xamarin
 
Add to the path on mac os x
Add to the path on mac os xAdd to the path on mac os x
Add to the path on mac os x
 
Cross platform mobile application devlopment
Cross platform mobile application devlopmentCross platform mobile application devlopment
Cross platform mobile application devlopment
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

Oracle real application_cluster

  • 1. Scalable Storage Configuration for theScalable Storage Configuration for the Physics Database ServicesPhysics Database Services
  • 2. 22 OutlineOutline • In this talk I will discussIn this talk I will discuss – Storage configuration for scalable database services • Main challenges • Best practices – An implementation of scalable storage • Impacts on DB logical to physical mapping • Performance and resource allocations – How we can help you to size new database projects or to scale up existing applications • Performance testing • Benchmark data
  • 3. 33 Oracle Scalable ArchitectureOracle Scalable Architecture Goal:Goal: A database infrastructure that provides the required systemA database infrastructure that provides the required system resources to the end-users and applications.resources to the end-users and applications. How:How: A modular architecture that can scale up to a large number ofA modular architecture that can scale up to a large number of componentscomponents
  • 4. 44 RAID 1: HA StorageRAID 1: HA Storage • MirroringMirroring – 2-Way mirroring (RAID 1) protects against single point of failures – Can be used to redistribute I/O load (performance)
  • 5. 55 RAID 0: Scalable PerformancesRAID 0: Scalable Performances • RAID 0 (Striping) automatically redistributes files acrossRAID 0 (Striping) automatically redistributes files across multiple disks.multiple disks. • Performance and scalability are increasedPerformance and scalability are increased • Error resiliency is decreasedError resiliency is decreased UnstripedDisks StripedDisks
  • 6. 66 Mechanical and Geometrical constraintsMechanical and Geometrical constraints • The external part of the disk providesThe external part of the disk provides – More throughput – Less latency
  • 7. 77 S.A.M.E StrategyS.A.M.E Strategy • Goal: optimize storage I/O utilizationGoal: optimize storage I/O utilization • S.A.M.E. (Stripe And Mirror Everything) StrategyS.A.M.E. (Stripe And Mirror Everything) Strategy – Built on the concepts of RAID 1 + 0 – Proposed by J. Loaiza (Oracle) in 1999 – Replaces “old recipes”: manual balancing across volumes • Need a Software or Hardware Volume ManagerNeed a Software or Hardware Volume Manager – ASM is Oracle’s solution with 10g “S.A.M.E. out of the box” – Other solutions available from different vendors require configuration
  • 8. 88 Storage Configuration GuidelinesStorage Configuration Guidelines • Use all available disk drivesUse all available disk drives • Place frequently used data at outer half of diskPlace frequently used data at outer half of disk – Fastest transfer rate – Minimize seek time • Stripe data at 1MB extentsStripe data at 1MB extents – Distribute the workload across disks – Eliminate hot spots – Optimum sequential bandwidth gained with1MB I/O • Stripe redo logs across multiple drivesStripe redo logs across multiple drives – Maximize write throughput for small writes – Smaller stripe size (128KB) and/or dedicated disks • Use cache on the controllerUse cache on the controller – ‘Write-back’ cache – Battery-backed cache
  • 9. 99 Oracle’s ASM Main FeaturesOracle’s ASM Main Features • Mirror protection: – 2-way and 3-way mirroring available. – Mirror on a per-file basis – Can mirror across storage arrays • Data striping across the volume: – 1MB and 128KB stripes available • Supports clustering and single instance • Dynamic data distribution – A solution to avoid ‘hot spots’ – On-line add/drop disk with minimal data relocation – Automatic database file management • Database File System with performance of RAW I/O
  • 10. 1010 ASM’s Configuration – ExamplesASM’s Configuration – Examples • ASM is a volume manager, its output are disk groups (DG) that OracleASM is a volume manager, its output are disk groups (DG) that Oracle databases can mount to allocate their filesdatabases can mount to allocate their files RECOVERY-DGDATA-DG Config 1: Disk groups created with dedicated disks Config 2: Disk groups created by ‘horizontal’ slicing
  • 11. 1111 Proposed Storage ConfigurationProposed Storage Configuration • Proposed storage configuration:Proposed storage configuration: – High availability - Allows backups to disk – High performance - Allows clusterware mirroring (10.2) – DBs have dedicated resources Storage Arrays Oracle RAC Nodes Data DG-2 Recovery DG-1Data DG-1 Recovery DG-2 Disk Groups (ASM) DB N.1 DB N.2
  • 12. 1212 FAQ 1: DatafilesFAQ 1: Datafiles • Do I need to worry on the number and names ofDo I need to worry on the number and names of the datafiles allocated for each tablespace?the datafiles allocated for each tablespace? • ““Traditional” storage allocation across multiple volumes:Traditional” storage allocation across multiple volumes: – Requires a careful allocation of multiple datafiles across logical volumes and/or filesystems – Datafile-to-filesystem and filesystem-to-physical storage mappings have to be frequently tuned • S.A.M.E. storage, such as Oracle ASM, provides balanced I/O accessS.A.M.E. storage, such as Oracle ASM, provides balanced I/O access across disksacross disks – There is NO NEED, for performance reasons, to allocate multiple datafiles per tablespace. – 10g new feature “bigfile tablespace” allows for tablespaces with a single datafile that can grow up to 32 TB (db_block_size=8k)
  • 13. 1313 FAQ 2: Data and Index TablespacesFAQ 2: Data and Index Tablespaces • Do I need dedicated tablespaces for indexes andDo I need dedicated tablespaces for indexes and tables?tables? • Separation of indexes and tables has often been advised to:Separation of indexes and tables has often been advised to: – Distribute I/O – Reduce fragmentation – Allow separate backup of tables and indexes • S.A.M.E. storage, such as Oracle ASM, provides balanced I/O accessS.A.M.E. storage, such as Oracle ASM, provides balanced I/O access across disksacross disks – No performance gains are expected by using dedicated tablespaces for INDEXes and TABLEs. • Additional Notes:Additional Notes: – Tablespaces fragmentation has little impact when using locally managed TBSs and automatic segment space management (9i and 10g) – Very large database can profit from using multiple tablespaces for admin purposes and logical separation of objects
  • 14. 1414 FAQ 3: Sizing StorageFAQ 3: Sizing Storage • Storage sizing for database should not take size as theStorage sizing for database should not take size as the first requirementfirst requirement – Bandwidth and performance metrics are bound to the number of disk spindles – Magnetic HD technology has improved the GByte/$ ratio – The rest of HD technology has not seen much improvements in the last 5 years (since 15K rpms HDs) • Sizing for storage requirements shouldSizing for storage requirements should – Be based on stress test measurements – Past performance measurements on comparable systems – New projects can leverage benchmark data. • Extra HD space is not wastedExtra HD space is not wasted – Can be used to strengthen the B&R policy with Disk Backups
  • 15. 1515 IO Benchmark MeasurementsIO Benchmark Measurements • Benchmark data can be used forBenchmark data can be used for – Sizing of new projects and upgrades – Performance baseline, testing for new hardware • The following metrics have been measured:The following metrics have been measured: – Sequential throughput (full scans) – Random access (indexed access) – I/O per second (indexed access) – Metrics are measured as a function of workload • Other test detailsOther test details – Benchmark tool: Oracle’s ORION – Infortrend Storage array: 16 SATA x 400 GB disks, 1 controller and 1 GB cache
  • 16. 1616 IO Benchmark DataIO Benchmark Data Sequential Workload Performance (Read Only Workload) 0 20 40 60 80 100 120 140 160 1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 Load (N# Outstanding asynch I/Os) Throughput(MBps) 12 LUNs, noraid 16 LUNs, no raid, external partition Throughput: + 25%
  • 17. 1717 IO Benchmark DataIO Benchmark Data Latency for Small Random I/O (Read Only Workload) 0 20 40 60 80 100 120 140 160 1 2 3 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 Load (N# Outstanding asynch I/Os) Latency(ms) 12 LUNs, noraid 16 LUNs, no raid, external partition Latency: - 35%
  • 18. 1818 IO Benchmark DataIO Benchmark Data Small Random I/O Performance (Read Only Workload) 0 100 200 300 400 500 600 700 800 900 1000 1 4 16 28 40 52 64 76 Load (N# Outstanding asynch I/Os) I/Opersecond 12 LUNs, noraid 16 LUNs, no raid, external partition I/O /sec: +60%
  • 19. 1919 ConclusionsConclusions • The Database Services for Physics can provideThe Database Services for Physics can provide – Scalable Database services • Scalable on CPU and Memory resources • Scalable on Storage resources – Sizing for new projects or upgrades • Stress/Performance testing • Integration and Validation Testing • Benchmark data for capacity planning
  • 20. 2020 Additional Benchmark DataAdditional Benchmark Data Sequential Workload Performance (Read Only Workload) 0 20 40 60 80 100 120 140 1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 Load (N# Outstanding asynch I/Os) Throughput(MBps) 7 LUNs, raid0 14 LUNs, no raid 14 LUNs, no raid, outer partition used 14 LUN, no raid, inner partition used
  • 21. 2121 Additional Benchmark DataAdditional Benchmark Data Latency for Small Random I/O (Read Only Workload) 0 20 40 60 80 100 120 140 1 2 3 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 Load (N# Outstanding asynch I/Os) Latency(ms) 7 LUNs, raid0 14 LUNs, no raid 14 LUNs, no raid, outer partition used 14 LUNS, no raid, inner partition used
  • 22. 2222 Additional Benchmark DataAdditional Benchmark Data Small Random I/O Performance (Read Only Workload) 0 100 200 300 400 500 600 700 800 900 1 4 16 28 40 52 64 76 Load (N# Outstanding asynch I/Os) I/Opersecond 7 LUNs, raid0 14 LUNs, no raid 14 LUNs, noraid, outer partition used 14 LUNS, noraid, inner partition used