Best option for MySQL redundancy

Posted on 2007-10-20
Last Modified: 2008-01-09
Would someone describe in detail the simplest solution for higher availability on MySQL 5 Community Edition?

I can stand a few minutes of downtime on an unexpected outage but need automated recovery and need to maintain data integrity (this is a DSS system so transaction integrity is not critical).  Data is on a SAN and I have plenty of harware.  Running instances on CentOS and Win 2003.

Thanks in advance!!!
Question by:goknows
    LVL 24

    Accepted Solution

    Cluster is usually the best way to provide redundancy and high availability, but the docs are pretty clear that keeping data on "SANs is not recommended or supported"

    If, like most db's, you have many more SELECT queries than UPDATE or INSERTs, then you should probably have several slaves and one master. Aim as many of the select queries at the slaves and the updates at the master. That way you have multiple up-to-date copies of the db, but still have high availability.

    Master/Slave replication:

    Author Comment

    an OS cluster?  MySQL Cluster is really a different beast that I am not interested in.  Not sure why MySQL would care if the data is laid down on a SAN or not ... but thank you for the response.

    Author Comment

    I think I'll just use VMWare under MySQL enterprise and be done with it....
    LVL 24

    Expert Comment

    You are right. I am not sure why mysql would care about SAN. For that matter, I am not sure how mysql would even know if the disk is san or not, but the docs forbid it. Perhaps the latency is too much, or the file locking doesn't work as well. I dunno.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
    Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now