SlideShare a Scribd company logo
Clustering Presentatie voor SNS Bank, afdeling  Datacenter Services,TADS-DBS 12 Juli 2007
Clustering algemeen (Web) applicaties (Transactieverwerkende) databases Oracle clustering Conclusie Agenda
A formal Definition “ Clustering is a configuration of a group of autonomous server machines that work together to behave as a single system.”  www.dbmsmag.com In Simple “ A computer cluster is a group of loosely coupled computers that work together closely so that in many respects it can be viewed as though it were a single computer.” wikipedia.org What is a Clusters?
It provides high  Scalability You can  “scale out”  your system cluster according to your requirements It is more cost effective Redundant Array of Inexpensive Servers (RAIS) It provides high  Availability It eliminates the single point of failure Redundant nodes can used to automatically recover data Why Clusters?
Clustering for Scalability Browsers Web Servers Servlet Engines (JSP) Object Servers (JMS/EJB) Databases (JDBC) = Load Balancing of incoming Connections  (Web) Application Clustering architecture  Example: BEA WebLogic Cluster Architecture Load Balancing & Failover Points #1 #2 #3 #4
Clustering for Availability Session State Replication For State full Services Browser Web Servers Servlet Engines B A B C B C A (Web) Application Clustering architecture  Example: BEA WebLogic Cluster Architecture #1 #2
Three dominant themes in building high  transaction  rate multiprocessor CLIENTS CLIENTS CLIENTS Memory Processors Easy to program Expensive to build Difficult to scale Hard to program Cheap to build Easy to scale Sequent SGI Sun VMScluster IBM Parallel Sysplex Oracle RAC Tandem Teradata, IBM SP2 IBM BD2 UDB (Use affinity routing to approximate SN- like non-contention) Transaction processing  is designed to maintain a database in a known, consistent state, by ensuring that any operations carried out on the database that are interdependent are either all completed successfully or all cancelled successfully. Shared Memory  (SM)  Multiple processors shared a common central memory  Shared Disk  (SD)  Multiple processors with private memory share a common collection of disks  Shared Noting  (SN)  Neither memory nor peripheral storage is shared among processors
System feature  Shared Memory (SM)  Shared Disk (SD)  Shared Nothing (SN)  1 ) Difficulty of concurrency control  2 ) Difficulty of crash recovery 3 ) Difficulty of database design 4 ) Difficulty of load balancing 5 ) Difficulty of high availability 6 ) Number of messages 7 ) Required bandwidth 8 ) Ability to scale to large number of   machines 2 3 2 1 3 2 2 2 3 1 2 3 3 2 1 1 2 3 3 2 1 3 2 1 3 2 1 9 ) Ability to have large distances   between machines 3 2 1 10) Susceptibility to critical sections 1 3 3 11) Number of system images 3 3 3 12) Susceptibility to hot spots Three dominant themes in building high transaction rate multiprocessor systems Bron: The Case for Shared Nothing, Michael Stonebraker, Database Engineering Bulletin,1986  . 1 = the best 2 = 2 e  the best 3 = 3 e  the best
Clustering for scalability  Pipelined parallelism: many machines each doing one step in a multi-step process. Pipeline Partitioned parallelism: many machines doing the same thing to different pieces of data. Partition 1) Parallel executing model 2) Parallel executing model Both are natural in DBMS .   Clustering for scalability ≈ parallel processing   Two executing models for parallel processing   Any  Sequential Program Any  Sequential Program Sequential Sequential Sequential Sequential Any  Sequential Program Any  Sequential Program
Frontend SQL Compiler Query Plan/code Coördinator Executor Executor Executor Executor User Application Backend Catalog Scheduler Shared Nothing DBMS Partitioned parallelism: many machines doing the same thing to different pieces of data. Partition Sequential Sequential Sequential Sequential Any  Sequential Program Any  Sequential Program Uses parallel Executing model Transaction management requires a distributed deadlock detector and a multi-phase commit protocol
Why Parallel Access To Data? 1 Terabyte 10 MB/s At 10 MB/s 1.2 days to scan   1 Terabyte 1,000 x parallel 1.5 minute to scan. Parallelism: Divide a big problem  into many smaller ones to be solved in parallel.   Bandwidth Shared Nothing DBMS
Concepts Design for (not all 4) Performance Cost Scalability Availability 99.999% is 5 minutes a year Solutions Dataguard Failsafe Real Application Cluster (RAC) Oracle HA
<<server>> <<server>> <<process>> :Ora1 Primaire server 1) Oracle Dataguard : Physical standby  and logical standby <<data opslag>> Primaire database Log data Log data <<data opslag>> Redo logs SQL Statements Transform Archive log files to SQL Statements <<data opslag>> Fysical standby database <<server>> <<data opslag>> Logical standby database Physical Standby Logical Standby Oracle Dataguard Database-level replication feature.  Allows offsite data replication Managed as a single configuration Primary and standby databases can be Real Application Clusters or single-instance Oracle Up to nine standby databases supported in a single configuration <<process>> :Ora3 Logical standby server <<process>> :Ora2 Physical  standby server
<<server>> <<server>> <<process>> :Ora1 <<process>> :Ora1 Agent 2) Oracle Fail Safe / HA <<data opslag>> Primaire disks  Ora1 <<data opslag>> Primaire disks Ora2 <<server>> <<server>> <<process>> :Ora1 <<process>> :Ora2 Overname Normale werking Werking na overname <<process>> :Ora2 Agent <<process>> :Ora2 <<process>> Ora2 Uitgevallen <<process>> :Ora1 Agent Uitgevallen <<data opslag>> Primaire disks  Ora1 <<data opslag>> Primaire disks Ora2
Shared Cache <<server>> <<server>> 3) Oracle RAC <<Opslag services>> {FC,PPRC} <<Data opslag netwerk>> <<server>> <<Database netwerk>> <<Applicatie netwerk>> {TCP/IP} {Inifiniband of Gigabyte ethernet} RAC is database clustering Shared disk solution One physical database serviced by multiple cluster nodes/instances Cluster consists of database nodes, fast cluster interconnect, shared disk subsystem Oracle provides integrated clusterware and storage management <<process>> :Ora1 <<process>> :Ora2 <<process>> :Ora3
Criterium Performance Availability Data Loss Manageability Cost Failover Data Guard Low Normal High Complex Low 8-10 minutes HA Oracle Normal High Low Easy Normal 2-3 minutes Oracle RAC High Very High Very low Easy High < 1 minutes (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) Oracle HA concepts compared (  ) (  ) (  ) Disaster recovery Supported Possible Not supported  (  ) (  ) (  ) Maximum Availability Architectures are using Oracle RAC and Oracle Data Guard together 1) 1) 1)
How much availability do you need? TIME TO FAILOVER Oracle with Symantec Virtual Cluster Server RAC 5 MIN 15 MIN 25 MIN 35 MIN MANUAL RAC failover is not instant, it can take 20+ seconds RAC failover requires most apps to re-connect (downtime) Storage Foundation VCS can failover within seconds/minutes Oracle RAC Availability Bron: Clustering Choices for Oracle RAC, Stefan Kwiatkowski, Symantec,  Upstate NY Oracle Users Group   Oracle User Group  Select Journal “ Most likely, you don’t need RAC. Alternatives will usually be cheaper, easier to manage and quite sufficient.”
Global Cache Service Consumes Resources  Performance per node degrades with more nodes RAC an ineffective answer to scalability How well does RAC scale?  COST PERFORMANCE SERVER CAPACITY AVAILABLE CAPACITY Oracle RAC Scalability Bron: Clustering Choices for Oracle RAC, Stefan Kwiatkowski, Symantec,  Upstate NY Oracle Users Group   De weergave is in lijn met inhoud van het rapport:”Database Scale-Out, Server Infrastructure Strategies, Philips Dawson, 20 Augustus 2002, MetaGroup”. Schaalbaarheid van een Propierty Cluster (Bijvoorbeeld HP TrueCluster in combinatie met Oracle RAC) bedraagt minder dan 75-85 % per node
Oracle RAC Scalability Be Aware of Costs Example:  Enterprise environment needing 4 databases Does not even include maintenance, management, implementation, etc. Bron: Clustering Choices for Oracle RAC, Stefan Kwiatkowski, Symantec,  Upstate NY Oracle Users Group   SF-HA = Veritas Storage Foundation for Databases  SINGLE INSTANCE WITH HA $40K/CPU RAC $60K/CPU HARDWARE USD $70,000 20 CPUs in a SF-HA cluster USD $96,000 32 CPUs in four RAC cluster nodes (8 CPUs each) ORACLE SOFTWARE USD $800,000 20 CPUs USD $1,920,000 32 CPUs STORAGE SOFTWARE USD $50,000 20 CPUs USD $192,000 32 CPUs TOTAL USD $920,000 USD $2,208,000
Clustering in het algemeen Het is moeilijk door middel van  éé n type clustering zowel hoge beschikbaar en uitwijk te realiseren, gecombineerd met een hoge schaalbaarheid. Shared Nothing Architecturen bieden de beste mogelijkheden. Oracle Clustering Oracle Real Application Cluster (RAC) biedt op een aantal punten voordelen ten opzichten van alternatieve Oracle Clusterconfiguraties.  Het is sterk afhankelijk van de specifieke omgeving en de gestelde eisen, of deze voordelen opwegen tegen de consequenties. Als gevolg van de beperkte schaalbaarheid lijkt de haalbaarheid van een kostenbesparende Redundant Array of Inexpensive Servers (RAIS) klein. Conclusies

More Related Content

PPTX
DataStax | Data Science with DataStax Enterprise (Brian Hess) | Cassandra Sum...
PPTX
Cassandra internals
PPTX
Everyday I’m scaling... Cassandra
PPTX
Building a Multi-Region Cluster at Target (Aaron Ploetz, Target) | Cassandra ...
PPTX
Cassandra Tuning - above and beyond
PPTX
Running 400-node Cassandra + Spark Clusters in Azure (Anubhav Kale, Microsoft...
PPTX
Apache Cassandra at the Geek2Geek Berlin
PPTX
Processing 50,000 events per second with Cassandra and Spark
DataStax | Data Science with DataStax Enterprise (Brian Hess) | Cassandra Sum...
Cassandra internals
Everyday I’m scaling... Cassandra
Building a Multi-Region Cluster at Target (Aaron Ploetz, Target) | Cassandra ...
Cassandra Tuning - above and beyond
Running 400-node Cassandra + Spark Clusters in Azure (Anubhav Kale, Microsoft...
Apache Cassandra at the Geek2Geek Berlin
Processing 50,000 events per second with Cassandra and Spark

What's hot (20)

PPTX
Hazelcast Essentials
PPTX
Cassandra on Mesos Across Multiple Datacenters at Uber (Abhishek Verma) | C* ...
PPTX
BigData Developers MeetUp
PPTX
How to size up an Apache Cassandra cluster (Training)
PPTX
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
PPTX
DataStax | Best Practices for Securing DataStax Enterprise (Matt Kennedy) | C...
PDF
Apache Cassandra @Geneva JUG 2013.02.26
PDF
Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...
PPTX
An Overview of Apache Cassandra
PDF
Hazelcast Introduction
PDF
Introduction to Cassandra
ODP
Intro to cassandra
ODP
Nyc summit intro_to_cassandra
PDF
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
PPTX
M6d cassandrapresentation
PPTX
Lessons Learned on Java Tuning for Our Cassandra Clusters (Carlos Monroy, Kne...
PDF
Distributed applications using Hazelcast
PPT
Introduction to cassandra
PDF
Cassandra TK 2014 - Large Nodes
PPTX
Cassandra Architecture FTW
Hazelcast Essentials
Cassandra on Mesos Across Multiple Datacenters at Uber (Abhishek Verma) | C* ...
BigData Developers MeetUp
How to size up an Apache Cassandra cluster (Training)
Lessons Learned From Running 1800 Clusters (Brooke Jensen, Instaclustr) | Cas...
DataStax | Best Practices for Securing DataStax Enterprise (Matt Kennedy) | C...
Apache Cassandra @Geneva JUG 2013.02.26
Apache Cassandra Multi-Datacenter Essentials (Julien Anguenot, iLand Internet...
An Overview of Apache Cassandra
Hazelcast Introduction
Introduction to Cassandra
Intro to cassandra
Nyc summit intro_to_cassandra
Performance Scenario: Diagnosing and resolving sudden slow down on two node RAC
M6d cassandrapresentation
Lessons Learned on Java Tuning for Our Cassandra Clusters (Carlos Monroy, Kne...
Distributed applications using Hazelcast
Introduction to cassandra
Cassandra TK 2014 - Large Nodes
Cassandra Architecture FTW
Ad

Viewers also liked (6)

PPT
Semantische interoperabiliteit met behulp van een bedrijfsbrede taxonomie
PPT
Dispositivos De Almacenamiento, Maria Belen
PPTX
Verkenning internet of things
PPT
Semantische Interoperatibiliteit Ngi 2008(Final)
PPT
Services oriented architecture
PPT
Establishing SOA and SOA Governance 23032010 Amsterdam
Semantische interoperabiliteit met behulp van een bedrijfsbrede taxonomie
Dispositivos De Almacenamiento, Maria Belen
Verkenning internet of things
Semantische Interoperatibiliteit Ngi 2008(Final)
Services oriented architecture
Establishing SOA and SOA Governance 23032010 Amsterdam
Ad

Similar to Clustering van IT-componenten (20)

PPT
11g R2
PPTX
Oracle & sql server comparison 2
PDF
Oracle exalytics deployment for high availability
PDF
EOUG95 - Client Server Very Large Databases - Paper
PDF
VMworld 2013: Virtualizing Databases: Doing IT Right
PPT
Breaking The Clustering Limits @ AlphaCSP JavaEdge 2007
PPT
SQL Server Cluster Presentation
PDF
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
PPT
Oracle 10g rac_overview
PDF
In-Memory Logical Data Warehouse for accelerating Machine Learning Pipelines ...
PDF
Azure and cloud design patterns
PDF
Maa goldengate-rac-2007111
PDF
System Design Basics by Pratyush Majumdar
PDF
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
PDF
maa-goldengate-rac-2007111.pdf
PPTX
PPT
MYSQL
PDF
Rac&asm
PPT
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
PPTX
Intro to Azure SQL database
11g R2
Oracle & sql server comparison 2
Oracle exalytics deployment for high availability
EOUG95 - Client Server Very Large Databases - Paper
VMworld 2013: Virtualizing Databases: Doing IT Right
Breaking The Clustering Limits @ AlphaCSP JavaEdge 2007
SQL Server Cluster Presentation
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle 10g rac_overview
In-Memory Logical Data Warehouse for accelerating Machine Learning Pipelines ...
Azure and cloud design patterns
Maa goldengate-rac-2007111
System Design Basics by Pratyush Majumdar
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
maa-goldengate-rac-2007111.pdf
MYSQL
Rac&asm
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Intro to Azure SQL database

More from Richard Claassens CIPPE (20)

PPTX
Privacy het nieuwe groen | KNVI afdeling IT-audit | definitief
PDF
Is privacywetgeving een blokkade voor technologisch gedreven innovatie?
PDF
Data Masking | waar in het IT-systeemlandschap? ...
PDF
Taken van de functionaris voor gegevensbescherming
PDF
Positie van de functionaris voor gegevensbescherming (FG)
PDF
Pripare methodology-handbook-final-feb-24-2016
PDF
Benoeming van een functionaris voor gegevensbescherming (FG)
PPTX
Privacy het nieuwe groen KNVI definitief
PPTX
A taxonomy of personal data by origin
PDF
Semantische interoperabiliteit met behulp van een bedrijfsbrede taxonomie
PPTX
Heidag Architectuur | presentatie van verkenningen
PPTX
Verkenning geo services
PPTX
Ontwerpmodel Internet Of Things Diensten
PPT
Software packaged software principles publiek
PPT
Kennismaking sfdc v1
PPT
PPT
Cloud computing lunchsessie (v2)
PPT
Cloud computing overzicht
PPT
Establishing Soa And Soa Governance Hsa
PPT
Cloud Computing
Privacy het nieuwe groen | KNVI afdeling IT-audit | definitief
Is privacywetgeving een blokkade voor technologisch gedreven innovatie?
Data Masking | waar in het IT-systeemlandschap? ...
Taken van de functionaris voor gegevensbescherming
Positie van de functionaris voor gegevensbescherming (FG)
Pripare methodology-handbook-final-feb-24-2016
Benoeming van een functionaris voor gegevensbescherming (FG)
Privacy het nieuwe groen KNVI definitief
A taxonomy of personal data by origin
Semantische interoperabiliteit met behulp van een bedrijfsbrede taxonomie
Heidag Architectuur | presentatie van verkenningen
Verkenning geo services
Ontwerpmodel Internet Of Things Diensten
Software packaged software principles publiek
Kennismaking sfdc v1
Cloud computing lunchsessie (v2)
Cloud computing overzicht
Establishing Soa And Soa Governance Hsa
Cloud Computing

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
Teaching material agriculture food technology
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
NewMind AI Weekly Chronicles - August'25 Week I
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Teaching material agriculture food technology
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
Big Data Technologies - Introduction.pptx
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Reach Out and Touch Someone: Haptics and Empathic Computing
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Agricultural_Statistics_at_a_Glance_2022_0.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Dropbox Q2 2025 Financial Results & Investor Presentation
The Rise and Fall of 3GPP – Time for a Sabbatical?

Clustering van IT-componenten

  • 1. Clustering Presentatie voor SNS Bank, afdeling Datacenter Services,TADS-DBS 12 Juli 2007
  • 2. Clustering algemeen (Web) applicaties (Transactieverwerkende) databases Oracle clustering Conclusie Agenda
  • 3. A formal Definition “ Clustering is a configuration of a group of autonomous server machines that work together to behave as a single system.” www.dbmsmag.com In Simple “ A computer cluster is a group of loosely coupled computers that work together closely so that in many respects it can be viewed as though it were a single computer.” wikipedia.org What is a Clusters?
  • 4. It provides high Scalability You can “scale out” your system cluster according to your requirements It is more cost effective Redundant Array of Inexpensive Servers (RAIS) It provides high Availability It eliminates the single point of failure Redundant nodes can used to automatically recover data Why Clusters?
  • 5. Clustering for Scalability Browsers Web Servers Servlet Engines (JSP) Object Servers (JMS/EJB) Databases (JDBC) = Load Balancing of incoming Connections (Web) Application Clustering architecture Example: BEA WebLogic Cluster Architecture Load Balancing & Failover Points #1 #2 #3 #4
  • 6. Clustering for Availability Session State Replication For State full Services Browser Web Servers Servlet Engines B A B C B C A (Web) Application Clustering architecture Example: BEA WebLogic Cluster Architecture #1 #2
  • 7. Three dominant themes in building high transaction rate multiprocessor CLIENTS CLIENTS CLIENTS Memory Processors Easy to program Expensive to build Difficult to scale Hard to program Cheap to build Easy to scale Sequent SGI Sun VMScluster IBM Parallel Sysplex Oracle RAC Tandem Teradata, IBM SP2 IBM BD2 UDB (Use affinity routing to approximate SN- like non-contention) Transaction processing is designed to maintain a database in a known, consistent state, by ensuring that any operations carried out on the database that are interdependent are either all completed successfully or all cancelled successfully. Shared Memory (SM) Multiple processors shared a common central memory Shared Disk (SD) Multiple processors with private memory share a common collection of disks Shared Noting (SN) Neither memory nor peripheral storage is shared among processors
  • 8. System feature Shared Memory (SM) Shared Disk (SD) Shared Nothing (SN) 1 ) Difficulty of concurrency control 2 ) Difficulty of crash recovery 3 ) Difficulty of database design 4 ) Difficulty of load balancing 5 ) Difficulty of high availability 6 ) Number of messages 7 ) Required bandwidth 8 ) Ability to scale to large number of machines 2 3 2 1 3 2 2 2 3 1 2 3 3 2 1 1 2 3 3 2 1 3 2 1 3 2 1 9 ) Ability to have large distances between machines 3 2 1 10) Susceptibility to critical sections 1 3 3 11) Number of system images 3 3 3 12) Susceptibility to hot spots Three dominant themes in building high transaction rate multiprocessor systems Bron: The Case for Shared Nothing, Michael Stonebraker, Database Engineering Bulletin,1986 . 1 = the best 2 = 2 e the best 3 = 3 e the best
  • 9. Clustering for scalability Pipelined parallelism: many machines each doing one step in a multi-step process. Pipeline Partitioned parallelism: many machines doing the same thing to different pieces of data. Partition 1) Parallel executing model 2) Parallel executing model Both are natural in DBMS . Clustering for scalability ≈ parallel processing Two executing models for parallel processing Any Sequential Program Any Sequential Program Sequential Sequential Sequential Sequential Any Sequential Program Any Sequential Program
  • 10. Frontend SQL Compiler Query Plan/code Coördinator Executor Executor Executor Executor User Application Backend Catalog Scheduler Shared Nothing DBMS Partitioned parallelism: many machines doing the same thing to different pieces of data. Partition Sequential Sequential Sequential Sequential Any Sequential Program Any Sequential Program Uses parallel Executing model Transaction management requires a distributed deadlock detector and a multi-phase commit protocol
  • 11. Why Parallel Access To Data? 1 Terabyte 10 MB/s At 10 MB/s 1.2 days to scan 1 Terabyte 1,000 x parallel 1.5 minute to scan. Parallelism: Divide a big problem into many smaller ones to be solved in parallel. Bandwidth Shared Nothing DBMS
  • 12. Concepts Design for (not all 4) Performance Cost Scalability Availability 99.999% is 5 minutes a year Solutions Dataguard Failsafe Real Application Cluster (RAC) Oracle HA
  • 13. <<server>> <<server>> <<process>> :Ora1 Primaire server 1) Oracle Dataguard : Physical standby and logical standby <<data opslag>> Primaire database Log data Log data <<data opslag>> Redo logs SQL Statements Transform Archive log files to SQL Statements <<data opslag>> Fysical standby database <<server>> <<data opslag>> Logical standby database Physical Standby Logical Standby Oracle Dataguard Database-level replication feature. Allows offsite data replication Managed as a single configuration Primary and standby databases can be Real Application Clusters or single-instance Oracle Up to nine standby databases supported in a single configuration <<process>> :Ora3 Logical standby server <<process>> :Ora2 Physical standby server
  • 14. <<server>> <<server>> <<process>> :Ora1 <<process>> :Ora1 Agent 2) Oracle Fail Safe / HA <<data opslag>> Primaire disks Ora1 <<data opslag>> Primaire disks Ora2 <<server>> <<server>> <<process>> :Ora1 <<process>> :Ora2 Overname Normale werking Werking na overname <<process>> :Ora2 Agent <<process>> :Ora2 <<process>> Ora2 Uitgevallen <<process>> :Ora1 Agent Uitgevallen <<data opslag>> Primaire disks Ora1 <<data opslag>> Primaire disks Ora2
  • 15. Shared Cache <<server>> <<server>> 3) Oracle RAC <<Opslag services>> {FC,PPRC} <<Data opslag netwerk>> <<server>> <<Database netwerk>> <<Applicatie netwerk>> {TCP/IP} {Inifiniband of Gigabyte ethernet} RAC is database clustering Shared disk solution One physical database serviced by multiple cluster nodes/instances Cluster consists of database nodes, fast cluster interconnect, shared disk subsystem Oracle provides integrated clusterware and storage management <<process>> :Ora1 <<process>> :Ora2 <<process>> :Ora3
  • 16. Criterium Performance Availability Data Loss Manageability Cost Failover Data Guard Low Normal High Complex Low 8-10 minutes HA Oracle Normal High Low Easy Normal 2-3 minutes Oracle RAC High Very High Very low Easy High < 1 minutes (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) (  ) Oracle HA concepts compared (  ) (  ) (  ) Disaster recovery Supported Possible Not supported (  ) (  ) (  ) Maximum Availability Architectures are using Oracle RAC and Oracle Data Guard together 1) 1) 1)
  • 17. How much availability do you need? TIME TO FAILOVER Oracle with Symantec Virtual Cluster Server RAC 5 MIN 15 MIN 25 MIN 35 MIN MANUAL RAC failover is not instant, it can take 20+ seconds RAC failover requires most apps to re-connect (downtime) Storage Foundation VCS can failover within seconds/minutes Oracle RAC Availability Bron: Clustering Choices for Oracle RAC, Stefan Kwiatkowski, Symantec, Upstate NY Oracle Users Group Oracle User Group Select Journal “ Most likely, you don’t need RAC. Alternatives will usually be cheaper, easier to manage and quite sufficient.”
  • 18. Global Cache Service Consumes Resources Performance per node degrades with more nodes RAC an ineffective answer to scalability How well does RAC scale? COST PERFORMANCE SERVER CAPACITY AVAILABLE CAPACITY Oracle RAC Scalability Bron: Clustering Choices for Oracle RAC, Stefan Kwiatkowski, Symantec, Upstate NY Oracle Users Group De weergave is in lijn met inhoud van het rapport:”Database Scale-Out, Server Infrastructure Strategies, Philips Dawson, 20 Augustus 2002, MetaGroup”. Schaalbaarheid van een Propierty Cluster (Bijvoorbeeld HP TrueCluster in combinatie met Oracle RAC) bedraagt minder dan 75-85 % per node
  • 19. Oracle RAC Scalability Be Aware of Costs Example: Enterprise environment needing 4 databases Does not even include maintenance, management, implementation, etc. Bron: Clustering Choices for Oracle RAC, Stefan Kwiatkowski, Symantec, Upstate NY Oracle Users Group SF-HA = Veritas Storage Foundation for Databases SINGLE INSTANCE WITH HA $40K/CPU RAC $60K/CPU HARDWARE USD $70,000 20 CPUs in a SF-HA cluster USD $96,000 32 CPUs in four RAC cluster nodes (8 CPUs each) ORACLE SOFTWARE USD $800,000 20 CPUs USD $1,920,000 32 CPUs STORAGE SOFTWARE USD $50,000 20 CPUs USD $192,000 32 CPUs TOTAL USD $920,000 USD $2,208,000
  • 20. Clustering in het algemeen Het is moeilijk door middel van éé n type clustering zowel hoge beschikbaar en uitwijk te realiseren, gecombineerd met een hoge schaalbaarheid. Shared Nothing Architecturen bieden de beste mogelijkheden. Oracle Clustering Oracle Real Application Cluster (RAC) biedt op een aantal punten voordelen ten opzichten van alternatieve Oracle Clusterconfiguraties. Het is sterk afhankelijk van de specifieke omgeving en de gestelde eisen, of deze voordelen opwegen tegen de consequenties. Als gevolg van de beperkte schaalbaarheid lijkt de haalbaarheid van een kostenbesparende Redundant Array of Inexpensive Servers (RAIS) klein. Conclusies