PowerPoint Format
Upcoming SlideShare
Loading in...5
×
 

PowerPoint Format

on

  • 487 views

 

Statistics

Views

Total Views
487
Views on SlideShare
487
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

PowerPoint Format PowerPoint Format Presentation Transcript

  • Mysql – Clusters
  • Sleeping Pills
    • Clustering – What is it?
    • Mysql Clustering – Native Support.
    • EMIC Enterprise Application Cluster for Mysql.
    • Leveraging Novell Clustering Services for Mysql.
    • Cluster JDBC.
    • Oracle RAC.
    • Mysql Native Clustering support future.
  • 1. About Clustering
    • Clustering : What is it?
        • Shared Disk Approach.
        • Shared Nothing Approach.
        • Federated Databases.
    • Need for it :
        • Load Balancing.
        • Fault tolerance.
        • Scalability.
        • Sometimes Online Backup tooo  .
  • About Clustering (contd..)
      • Important Features of clustering :
        • IP Sharing.
        • Seemless Connections on Fail over.
        • Complete Abstraction to applications on Clustering functions.
        • Centralized Management of cluster nodes.
  • 2. Mysql Clustering – Native Support.
    • Mysql Natively has these two options for clustering.
        • Shared Nothing Approach : Replication.
        • Shared Data Directory .
  • Mysql-Replication How do they work? Master Slave1 Slave 2 Clients Doing Selects Clients Doing Updates Insert & Update Insert & Update Selects Select
  • Mysql-Replication (contd.) Source – BS2003 presentation TUT205
    • How are they Useful?
        • Load Balancing.
        • Fault tolerance.
        • Scalability.
        • Online Backup
    S1 S2 S3 M1 Client1 Client2 Client1 Client2 S3 S1 S2 M1 When M1 goes Down
  • Mysql Replication (Contd.)
    • Issues and some obvious reasons !!!.
        • Slaves Always lag behind the Master.
        • Virtual IPAddress??
        • Scalability is Limited to Number of selects??
        • No Abstraction provided to Client.
    • Solution :-
    • Use Spread or Message passing for synchronous replication
    • Two Phase commit approach.
  • Mysql – Shared Data Directory.
    • How to set up?
    • 2. How are they Useful ?
        • Provides all the functionalities of replication.
        • Master and slaves will be always in sync.
    Server1 Server2 Shared Data dir
  • Shared Data directory (contd.)
    • Issues & Some obvious reasons.
    • a. Locking issues with Innodb.
    • b. query caches might result in false data.
    • c. Very slow over Network File System or Remote File system that can be shared across two machines.
    • What is it?
        • Provides Application Level clustering.
        • Uses shared Nothing Approach.
        • Comprehensive clustering solution for Mysql.
    3. EMIC EAC for Mysql
  • EMIC EAC For Mysql (Contd..) 2. Software Architecture. EMIC EAC Software Architecture
  • EMIC EAC For Mysql (Contd..) 3. How it works.
  • EMIC EAC for Mysql ( Contd…)
    • 4. What are the clustering features do they address?
        • Dynamic Load Balancing.
        • Seemless connections.
        • Virtual IP.
        • Scalability.
        • Complete transparency and Centralized Mangement.
        • Cons :
          • Might be slower than because of additional complex clustering logic provided by EMIC ( Not tested Hence No data.. I have started testing it If data proves assumption wrong then I will remove this  )
  • 4. Leveraging NCS for Mysql on Netware
    • What is NCS?
        • Clustering framework for all services running on NetWare 6 and above.
        • Shared disk approach through SAN (Fibre channel) or ISCSI.
    Server1 Server2 Server3 Server1 Server2 Server3 Fibre Channel Switch Shared Disk System
  • NCS for Mysql on Netware (Contd..)
    • Clustering Features Addressed!!!
        • Fault tolerance.
        • Virtual IP Address.
        • Seemless connections.
        • Complete Abstraction and Centralized management through e-directory.
      • Features that can be Added.
        • Application level load balancing is not yet supported for Mysql through NCS. NCS provides load balancing by moving the applications across different Machines. Load balancing by running the same applications in two Cluster nodes is not yet provided.
  • 5. Cluster JDBC
    • What is it?
        • Database cluster middleware through jdbc driver.
        • Provides clustering support only for Java Applications.
        • It provides complete abstraction to java applications accessing cluster databases.
        • Provides clustering support across Multiple database types.
        • Open source software under LGPL.
  • Cluster JDBC (Contd…)
    • Software Architecture
  • Cluster JDBC (Contd…)
    • Pros
        • Scalability.
        • Load Balancing.
        • Fault tolerance.
        • Client Side abstraction (Very minimal changes to the Java applications).
        • Seemless connections.
    • Cons
        • Slow because of one layer of additional processing.
        • Only Java applications can leverage them.
  • 6. Oracle RAC
    • How is clustering done?
        • Shared Disk Approach.
        • Cache Fusion Architecture.
    • Architecture.
    Cluster Interconnect Shared storage Subsystem
    • Pros
        • Scalability.
        • Load Balancing through Funtion shipping and Data Shipping.
        • High Availability (handles N-1 Node failures)
        • Seemless connections.
        • Data access during recovery.
    • Cons
        • VirtualIP Address is not supported.
    Oracle RAC
  • 7. Mysql clustering Native Support-Future
    • NDB
      • What is it? : It’s the cluster technology that Mysql has got through the Acquisition of Alzato.
      • What might be native clustering support in Mysql in Future through NDB?
  •