High Availability, Replicating, Load Balanced MySQL Databases Oliver Hookins Systems Administrator Network Fixinator Script Hacker All round su
|
|
|
- Marjory Curtis
- 10 years ago
- Views:
Transcription
1 Linux Conf AU 2008 High Availability, Replicating, Load Balanced MySQL Databases Oliver Hookins Systems Administrator Network Fixinator Script Hacker All round super fun guy
2 Background Who Am I, And How Did I Get Here Assumptions Familiar with single server database systems We aren't dealing with the Application side
3 Questions Why aren't single DB systems good enough? Risk of Failure Performance Time to repair from failure Not enough of a geek challenge any more What is the ratio of reads to writes? Can the app separate reads and writes?
4 Alternatives Circular/multi master Difficult to add more masters breaks the chain More nodes, more delay. How to verify data? Broken node = broken chain. How to repair?
5 Alternatives Circular/multi master Difficult to add more masters breaks the chain More nodes, more delay. How to verify data? Broken node = broken chain. How to repair?
6 Alternatives Circular/multi master Difficult to add more masters breaks the chain More nodes, more delay. How to verify data? Broken node = broken chain. How to repair?
7 Alternatives Circular/multi master Difficult to add more masters breaks the chain More nodes, more delay. How to verify data? Broken node = broken chain. How to repair?
8 Alternatives Circular/multi master Difficult to add more masters breaks the chain More nodes, more delay. How to verify data? Broken node = broken chain. How to repair?
9 Alternatives Circular/multi master Difficult to add more masters breaks the chain More nodes, more delay. How to verify data? Broken node = broken chain. How to repair?
10 Alternatives MySQL Cluster Prior to 5.1, all data is kept in memory Minimum 3 nodes requirement Storage Node, Management Node, SQL Node Synchronous Relatively Complex Replication & High Availability built in
11 Alternatives PostgreSQL and Slony... just kidding!
12 Getting Started Read the documentation! MySQL docs now have section on DRBD, Heartbeat, Replication... (but not quite complete) Answers many useful questions such as: Can I use DRBD on top of LVM?
13 Getting Started Read the documentation! MySQL docs now have section on DRBD, Heartbeat, Replication... (but not quite complete) Answers many useful questions such as: Can I use DRBD on top of LVM? Can I use LVM on top of DRBD?
14 Getting Started Read the documentation! MySQL docs now have section on DRBD, Heartbeat, Replication... (but not quite complete) Answers many useful questions such as: Can I use DRBD on top of LVM? Can I use LVM on top of DRBD? Can I use DRBD on top of LVM while at the same time running LVM on top of that DRBD???
15 Getting Started Decide on a MySQL version 3.x? No way 4.x? Still a lot of replication bugs 5.0 at least. Latest has a lot of replication bugfixes. 5.1 adds partitioning, row based & mixed format replication & logging, logging to a table, event scheduler, plugins 6.0 adds Falcon backend, better locking, NDB replication conflict resolution, built in replication heartbeats, cpu scheduling, backup status reporting USE THE SAME VERSION ON ALL HOSTS!
16 Getting Started DRBD we use 0.7, but 8.0 is stable 8.0 adds peer authentication with shared secret better split brain recovery methods more straightforward commands two primaries, and a third server with async replication better integration with Heartbeat, and other improvements 8.2 adds data integrity checking some support for DRBD proxy some support for cache warming support for online verify of on disk data
17 Getting Started Heartbeat use Release 2! Use CRM mode MySQL docs use non CRM mode Hard to understand at first, but it is better for you in the long run.
18 Getting Started Examples use: 2 masters to avoid SPOF 3 slaves LVS & ldirectord on (HA) loadbalancer DRBD 0.7 (8.0 is the current stable) Heartbeat R2 MySQL 5.0 A bunch of scripts
19 Overall Structure
20 Setting Up The Masters Try to use identical hardware Allocate a decent bit of diskspace for DRBD (although you can resize later... can be tricky) Build DRBD for your kernel & OS Set up your config file
21 DRBD Configuration File 1 resource mysqlmaster { 2 protocol C; 3 incon-degr-cmd "echo '!DRBD! pri on incon-degr' wall ; sleep 60 ; halt -f"; 4 startup { 5 wfc-timeout 60; 6 degr-wfc-timeout 120; # 2 minutes. 7 } 8 disk { 9 on-io-error pass_on; 10 } 11 net { 12 sndbuf-size 256K; 13 max-buffers 2048; 14 max-epoch-size 2048; 15 } 16 syncer { 17 rate 50M; 18 group 1;
22 DRBD Configuration File 21 on shark { 22 device /dev/drbd0; 23 disk /dev/shark/drbd; 24 address :7788; 25 meta-disk internal; 26 } 27 on octopus { 28 device /dev/drbd0; 29 disk /dev/octopus/drbd; 30 address :7788; 31 meta-disk internal; 32 } 33 }
23 A Side Note About Buffers & Caching Use DRBD Protocol C Protocol A returns after write reaches local net buffer Protocol B returns after write reaches remove disk buffer Turn off disk write back caching! OK to use battery backed write cache Can use write barrier support, but not supported in DM or DRBD currently
24 DRBD Setup Start DRBD on both nodes: /etc/init.d/drbd start Start syncing: drbdadm -- --do-what-i-say primary all Check /proc/drbd for DRBD sync completion Start using DRBD on the primary!
25 Heartbeat Sends data between nodes to check if they are alive or dead Makes decisions for resouces based on status of nodes (and other things) Release 2 > Release 1 Three main config files: /etc/ha.d/ha.cf /etc/ha.d/authkeys /var/lib/heartbeat/crm/cib.xml
26 /etc/ha.d/ha.cf 1 keepalive 2 2 deadtime 30 3 warntime 5 4 initdead 80 5 mcast eth node shark 7 node octopus 8 crm yes 9 autojoin none 10 use_logd on
27 /etc/ha.d/authkeys 1 auth sha1 yeel3aikaigoothubee9eiwa2v
28 /var/lib/heartbeat/crm/cib.xml 1 <cib> 2 <configuration> 3 <crm_config/> 4 <nodes/> 5 6 <resources> 7 <group id="master" description="mysql Master Role"> 8 <primitive id="master_ip" class="heartbeat" type="ipaddr2_vlan" provider="heartbeat"> 9 <operations> 10 <op id="master_ip_monitor" name="monitor" interval="60s" timeout="15s"/> 11 </operations> 12 <instance_attributes id="master_ip_inst"> 13 <attributes> 14 <nvpair id="master_ip_inst_attr" name="1" value=" /24/eth0"/>
29 /var/lib/heartbeat/crm/cib.xml 17 <primitive id="master_drbd" class="heartbeat" type="drbddisk" provider="heartbeat"> 18 <operations> 19 <op id="master_drbd_monitor" name="monitor" interval="60s" timeout="15s"/> 20 </operations> 21 <instance_attributes id="master_drbd_inst"> 22 <attributes> 23 <nvpair id="master_drbd_inst_attr1" name="1" value="mysqlmaster"/> 24 </attributes> 25 </instance_attributes> 26 </primitive>
30 /var/lib/heartbeat/crm/cib.xml 27 <primitive id="master_filesystem" class="ocf" type="filesystem" provider="heartbeat"> 28 <operations> 29 <op id="master_filesystem_monitor" name="monitor" interval="60s" timeout="15s"/> 30 </operations> 31 <instance_attributes id="master_filesystem_inst"> 32 <attributes> 33 <nvpair id="master_filesystem_inst_attr0" name="device" value="/dev/drbd0"/> 34 <nvpair id="master_filesystem_inst_attr1" name="directory" value="/hamysql"/> 35 <nvpair id="master_filesystem_inst_attr2" name="fstype" value="ext3"/> 36 <nvpair id="master_filesystem_inst_attr3" name="options" value="rw,noatime"/> 37 </attributes>
31 /var/lib/heartbeat/crm/cib.xml 40 <primitive id="master_mysql" class="lsb" type="mysqld" provider="heartbeat"> 41 <operations> 42 <op id="master_mysql_monitor" name="monitor" interval="60s" timeout="15s"/> 43 </operations> 44 </primitive> <primitive id="master_mailto" class="ocf" type="mailto" provider="heartbeat"> 47 <instance_attributes id="master_mailto_inst"> 48 <attributes> 49 <nvpair id="master_mailto_inst_attr0" name=" " 50 <nvpair id="master_mailto_inst_attr1" name="subject" value="master_mysql_resource"/> 51 </attributes>
32 Notes About the CIB Dynamically maintained, so configuration management is difficult Release 1 had a static resource file :( Designated Coordinator distributes latest version to nodes Annotated DTD is on the Linux HA website and very useful.
33 Master MySQL Configuration 1 [mysqld] 2 safe-user-create 3 safe-show-database 4 set-variable=max_user_connections= set-variable=max_connections= bind-address= port= datadir=/hamysql/mysql 9 socket=/var/lib/mysql/mysql.sock 10 table_cache= sync_binlog=1 12 log-bin=mysql-bin 13 server-id=1 14 tmpdir=/hamysql/tmp 15 net_write_timeout= [mysql.server] 18 user=mysql 19 basedir=/hamysql
34 Slave MySQL Configuration 1 [mysqld] 2 safe-user-create 3 safe-show-database 4 set-variable=max_user_connections= set-variable=max_connections= bind-address= port= datadir=/var/lib/mysql 9 socket=/var/lib/mysql/mysql.sock 10 table_cache= sync_binlog=1 12 server-id=xxxxx 13 report-host=xxxxx 14 master-host=dbmaster 15 master-user=slave 16 master-password=xxxxx 17 read-only 18 master-connect-retry=10 19 master-retry-count=60480
35 Linux Virtual Server Used for load balancing the slaves Layer 4 switch Core LVS code in kernel = fast ipvsadm is a fairly low level userspace program to admin LVS ldirectord is a high level wrapper around ipvsadm and LVS
36 MySQL Proxy Basic functionality includes load balancing... Can be extended with LUA scripts to support read/write splitting, partitioning/sharding etc. Operates on MySQL queries & not in kernel so not as fast as LVS. Still alpha code, but promising.
37 /etc/ha.d/conf/mysqlslave.cf 1 checktimeout = 10 2 negotiatetimeout = 10 3 autoreload = yes 4 quiescent = no 5 6 virtual= : scheduler=wlc 8 # slave 1 9 real= :3306 masq # slave 2 11 real= :3306 masq # slave 3 13 real= :3306 masq # DB master as a last resort 15 real= :3306 masq 1 16 protocol=tcp 17 service=none 18 checktype=connect
38 Getting Data Onto The Slaves If starting from a clean slate just set up replication then enter data into the master. MySQL replication has no COPY_SET like Slony on PostgreSQL :( LOAD DATA TABLE FROM MASTER... only works on MyISAM and still locks databases Could use LVM snapshot on master My perl script locks tables then dumps
39 init_mysql_slave $ init_mysql_slave -source sourcetype master -user repl --pass secure --database mysql,clusterdb --repluser slave -- replpass secure --replsource Stops local slave Connects to source FLUSH TABLES WITH READ LOCK Reads binary logfile name and position Pipes mysqldump from source into mysql on slave Unlocks remote tables Starts local replication using binary logfile name and position, and specified master details Once you've set up one slave, you can set up new slaves without locking the master
40 You're Done! Or Are You? You aren't providing a service until it is being monitored. Monitoring service levels provides better justification for upgrades later. We use Nagios & NRPE Remote MySQL TCP connection on slaves, master and loadbalanced slave Local MySQL TCP connection on all servers Replication status on slaves DRBD/Heartbeat on masters
41 DRBD/Heartbeat Monitoring check_proc for Heartbeat processes check drbd for DRBD. Checks state of connection and resynchronisation DOPD is available for DRBD automatic monitoring and response You need to know if DRBD is in a critical state anyway You will most likely need to respond Danger of automatically outdating both copies and ending up with no DRBD running at all.
42 What To Do About Replication Monitoring Slave SQL and I/O Threads Running Seconds_behind_master Really seconds difference between SQL and I/O threads A transaction can take a very long time to complete on a master, and then the slave has to run it again Master can do many writes in parallel Slaves have a single I/O thread Replication is always asynchronous Levels of Replication Paranoia
43 Replication Paranoia Level 1: SQL and I/O thread running and seconds_behind_master acceptable Level 2: Create replication metadata table, insert timestamp on the master. Check the timestamp on slaves. Level 2.1 : Not really checking delay behind master. Use CHECKSUM DATABASE TABLE to see if data is the same on master as it is on slaves. Level 3: Specific checks dependent on application data. E.g. number of orders in an order table. Requires in depth knowledge of the nature of the data, and can be as complicated as you have time to spend on it.
44 write_heartbeat.pl (fragment) 1 eval { 2 if ($::rowcount == 0) { 3 debug "INSERT INTO heartbeat (unix_time, db_time) VALUES (unix_timestamp(), NULL)\n"; 4 $::dbh->do("insert INTO heartbeat (unix_time, db_time) VALUES (unix_timestamp(), NULL)"); 5 } 6 elsif ($::rowcount > 1) { 7 $::rowcount--; 8 debug "DELETE FROM heartbeat ORDER BY unix_time ASC LIMIT $::rowcount\n"; 9 $::dbh->do("delete FROM heartbeat ORDER BY unix_time ASC LIMIT $::rowcount"); 10 } debug "UPDATE heartbeat SET unix_time = UNIX_TIMESTAMP(), db_time = NULL\n"; 13 $::dbh->do("update heartbeat SET unix_time = UNIX_TIMESTAMP(), db_time = NULL"); 14 };
45 Some really useful stuff... MySQL toolkit (now called Maatkit) has scripts for: efficient checking of table checksums generating row changesets between servers that have different data slave error detector and resolver heartbeat generator and watcher...much more
46 Monitoring And Loadbalancing What happens when a slave is out of sync but it is still serving queries? We have the monitoring smarts, but need to automate. ldirectord has a mysql check...
47 lvs-helper 1 #!/bin/sh 2 CHAIN="LVS_HELPER" 3 OUTPUT=`/usr/local/sbin/check_replication.pl --slave localhost --slave-user replcheck --slave-pass XXXX --master-user replcheck --master-pass XXXX` 4 retval=$? 5 6 if [ "$retval" -gt 1 ] 7 then 8 if [ "`/sbin/iptables -L $CHAIN -n /usr/bin/wc -l`" -le 2 ] 9 then 10 /sbin/iptables -I $CHAIN -j REJECT 11 fi 12 else iptables N LVS_HELPER 13 if [ "`/sbin/iptables -L $CHAIN -n /usr/bin/wc -l`" -gt 2 ] iptables I INPUT p tcp s loadbalancer.company.net dport mysql j LVS_HELPER 14 then 15 /sbin/iptables -F $CHAIN
48 Performance You got replication, you don't need any more performance, right? Add more slaves = can do more reads Bottleneck is the master Use circular replication / MySQL cluster... argh Tune hardware e.g. hardware RAID, battery backed cache Sharding and/or creative use of MySQL Proxy Later versions of MySQL may support multi master to single slave.
49 Backups Multiple copies of database, but may all be destroyed by administrative error Have to take consistent backups Usually means locking
50 Backups Multiple copies of database, but may all be destroyed by administrative error Have to take consistent backups Usually means locking So why not use a slave server?
51 Backups Multiple copies of database, but may all be destroyed by administrative error Have to take consistent backups Usually means locking So why not use a slave server? Standard Slave / Dedicated Backups Slave OR...
52 Backups From Standby Master Give Masters more disk(s) Create a second DRBD resource, active only on standby Run a slave on the standby DRBD Take backups using the standby's slave NOTE: Do not impact standby's write performance, thus degrading the master!
53 Additional Heartbeat Configuration Part 1 1 <group id="slave" description="mysql Slave Role"> 2 <primitive id="slave_ip" class="heartbeat" type="ipaddr2_vlan" provider="heartbeat"> 3 <operations> 4 <op id="slave_ip_monitor" name="monitor" interval="60s" timeout="15s"/> 5 </operations> 6 <instance_attributes id="slave_ip_inst"> 7 <attributes> 8 <nvpair id="slave_ip_inst_attr" name="1" value=" /24/eth0"/> 9 </attributes> 10 </instance_attributes> 11 </primitive> 12 <primitive id="slave_mysql" class="lsb" type="mysqlslaved" provider="heartbeat"> 13 <operations> 14 <op id="slave_mysql_monitor" name="monitor" interval="60s" timeout="15s"/>
54 Additional Heartbeat Configuration Part 2 17 <primitive id="slave_mailto" class="ocf" type="mailto" provider="heartbeat"> 18 <instance_attributes id="slave_mailto_inst"> 19 <attributes> 20 <nvpair id="slave_mailto_inst_attr0" name=" " value="[email protected]"/> 21 <nvpair id="slave_mailto_inst_attr1" name="subject" value="slave_mysql_resource"/> 22 </attributes> 23 </instance_attributes> 24 </primitive> 25 </group> 26 </resources> 27 <constraints> 28 <rsc_colocation id="separate_master_and_slave" from="master" 29 </constraints> 30 to="slave" score="-infinity"/> Isn't Heartbeat R2 cool?
55 Even Better Backups Backup every 10 mins, use xdelta to generate binary diffs = can store many differentials with little disk space. Another handy perl script Daily backup mode full gzipped backup once a day Lock tables and record binlog name & position of where we're up to on the master Full dump and xdelta between it and the daily Record binlog name & position in a metadata file Maatkit to generate row diff for rollback?
56 Restoring Slave just blow it away and re init Master as long as everything is in sync, can import backup and the slaves will reload the data from the master. Or blow it all away and start again :(
57 Finally Lots of room for improvement New features to make things easier for sysadmins being added to MySQL in later versions. Share your wealth with the community
58 Linkage Resources for this talk Replication script Nirvana Replicationnow and then.html ha.org Linux Heartbeat LVS ldirectord DRBD xdelta MySQL Proxy Nagios
59 Anchor Is Hiring! PostgreSQL / Python Developer Working on internal systems Flexible, fun working environment Sydney based
High Availability with DRBD & Heartbeat. Chris Barber http://www.cb1inc.com
High Availability with DRBD & Heartbeat Chris Barber http://www.cb1inc.com What is DRBD? Distributed Replicated Block Device RAID 1 mirror across network Realtime replications Linux-only kernel module
Open-Xchange Server High Availability
OPEN-XCHANGE Whitepaper Open-Xchange Server High Availability High Availability Concept for OX Example Configuration v1.00 Copyright 2005, OPEN-XCHANGE Inc. This document is the intellectual property of
High Availability Solutions for the MariaDB and MySQL Database
High Availability Solutions for the MariaDB and MySQL Database 1 Introduction This paper introduces recommendations and some of the solutions used to create an availability or high availability environment
PRM and DRBD tutorial. Yves Trudeau October 2012
PRM and DRBD tutorial Yves Trudeau October 2012 Agenda Introduction to Pacemaker PRM principle PRM Hands-on HA over shared storage What is DRBD? Impacts of DRBD on MySQL DRBD Hands-on About me Pacemaker
High Availability Solutions for MySQL. Lenz Grimmer <[email protected]> 2008-08-29 DrupalCon 2008, Szeged, Hungary
High Availability Solutions for MySQL Lenz Grimmer 2008-08-29 DrupalCon 2008, Szeged, Hungary Agenda High Availability in General MySQL Replication MySQL Cluster DRBD Links/Tools Why
High Availability Low Dollar Clustered Storage
High Availability Low Dollar Clustered Storage Simon Karpen [email protected] / [email protected] Thanks to Shodor for use of this space for the meeting. This document licensed under the Creative Commons
MySQL High Availability Solutions. Lenz Grimmer <[email protected]> http://lenzg.net/ 2009-08-22 OpenSQL Camp St. Augustin Germany
MySQL High Availability Solutions Lenz Grimmer < http://lenzg.net/ 2009-08-22 OpenSQL Camp St. Augustin Germany Agenda High Availability: Concepts & Considerations MySQL Replication
Tushar Joshi Turtle Networks Ltd
MySQL Database for High Availability Web Applications Tushar Joshi Turtle Networks Ltd www.turtle.net Overview What is High Availability? Web/Network Architecture Applications MySQL Replication MySQL Clustering
Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL
Architectures Haute-Dispo Joffrey MICHAÏE Consultant MySQL 04.20111 High Availability with MySQL Higher Availability Shared nothing distributed cluster with MySQL Cluster Storage snapshots for disaster
Building Elastix-2.4 High Availability Clusters with DRBD and Heartbeat (using a single NIC)
Building Elastix2.4 High Availability Clusters with DRBD and Heartbeat (using a single NIC) This information has been modified and updated by Nick Ross. Please refer to the original document found at:
MySQL Backup and Recovery: Tools and Techniques. Presented by: René Cannaò @rene_cannao Senior Operational DBA www.palominodb.com
MySQL Backup and Recovery: Tools and Techniques Presented by: René Cannaò @rene_cannao Senior Operational DBA www.palominodb.com EXPERIENCE WITH BACKUP How many of you consider yourself beginners? How
Database Administration with MySQL
Database Administration with MySQL Suitable For: Database administrators and system administrators who need to manage MySQL based services. Prerequisites: Practical knowledge of SQL Some knowledge of relational
Synchronous multi-master clusters with MySQL: an introduction to Galera
Synchronous multi-master clusters with : an introduction to Galera Henrik Ingo OUGF Harmony conference Aulanko, Please share and reuse this presentation licensed under Creative Commonse Attribution license
Monitoring MySQL. Geert Vanderkelen MySQL Senior Support Engineer Sun Microsystems
Monitoring MySQL Geert Vanderkelen MySQL Senior Support Engineer Sun Microsystems Agenda Short intro into MySQL, the company Monitoring MySQL: some examples Nagios plugins for MySQL MySQL Enterprise Monitor
short introduction to linux high availability description of problem and solution possibilities linux tools
High Availability with Linux / Hepix October 2004 Karin Miers 1 High Availability with Linux Using DRBD and Heartbeat short introduction to linux high availability description of problem and solution possibilities
Maintaining Non-Stop Services with Multi Layer Monitoring
Maintaining Non-Stop Services with Multi Layer Monitoring Lahav Savir System Architect and CEO of Emind Systems [email protected] www.emindsys.com The approach Non-stop applications can t leave on their
High availability infrastructures for TYPO3 Websites
1 High availability infrastructures for TYPO3 Websites Luc de Louw bit heads GmbH, Internet Services, Rosengartenstrasse 72, CH 8037 Zürich, Switzerland. luc.delouw@bit heads.ch Abstract. The best content
MySQL Cluster Deployment Best Practices
MySQL Cluster Deployment Best Practices Johan ANDERSSON Joffrey MICHAÏE MySQL Cluster practice Manager MySQL Consultant The presentation is intended to outline our general product
Monitoring MySQL. Kristian Köhntopp
Monitoring MySQL Kristian Köhntopp I am... Kristian Köhntopp Database architecture at a small travel agency in Amsterdam In previous lives: MySQL, web.de, NetUSE, MMC Kiel, PHP, PHPLIB, various FAQs and
High Availability and Scalability for Online Applications with MySQL
High Availability and Scalability for Online Applications with MySQL Part 1I - Advanced Replication Ivan Zoratti Sales Engineering Manager EMEA [email protected] April 2007 Agenda Welcome back! and Welcome
MySQL High-Availability and Scale-Out architectures
MySQL High-Availability and Scale-Out architectures Oli Sennhauser Senior Consultant [email protected] 1 Introduction Who we are? What we want? 2 Table of Contents Scale-Up vs. Scale-Out MySQL Replication
Tier Architectures. Kathleen Durant CS 3200
Tier Architectures Kathleen Durant CS 3200 1 Supporting Architectures for DBMS Over the years there have been many different hardware configurations to support database systems Some are outdated others
MySQL Replication. openark.org
MySQL Replication Solutions & Enhancements Shlomi Noach June 2011 What is MySQL Replication? Replication is a mechanism built into MySQL. It allows a MySQL server (Master) to log changes made to schema
DBA Tutorial Kai Voigt Senior MySQL Instructor Sun Microsystems [email protected] Santa Clara, April 12, 2010
DBA Tutorial Kai Voigt Senior MySQL Instructor Sun Microsystems [email protected] Santa Clara, April 12, 2010 Certification Details http://www.mysql.com/certification/ Registration at Conference Closed Book
SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques
SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques Module: 1 Module: 2 Module: 3 Module: 4 Module: 5 Module: 6 Module: 7 Architecture &Internals of SQL Server Engine Installing,
Availability Digest. MySQL Clusters Go Active/Active. December 2006
the Availability Digest MySQL Clusters Go Active/Active December 2006 Introduction MySQL (www.mysql.com) is without a doubt the most popular open source database in use today. Developed by MySQL AB of
How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev. Percona Inc MySQLPerformanceBlog.
How to choose High Availability solutions for MySQL MySQL UC 2010 Yves Trudeau Read by Peter Zaitsev Percona Inc MySQLPerformanceBlog.com -2- About us http://www.percona.com http://www.mysqlperformanceblog.com/
Microsoft SQL Database Administrator Certification
Microsoft SQL Database Administrator Certification Training for Exam 70-432 Course Modules and Objectives www.sqlsteps.com 2009 ViSteps Pty Ltd, SQLSteps Division 2 Table of Contents Module #1 Prerequisites
Scaling Graphite Installations
Scaling Graphite Installations Graphite basics Graphite is a web based Graphing program for time series data series plots. Written in Python Consists of multiple separate daemons Has it's own storage backend
Preparing for the Big Oops! Disaster Recovery Sites for MySQL. Robert Hodges, CEO, Continuent MySQL Conference 2011
Preparing for the Big Oops! Disaster Recovery Sites for Robert Hodges, CEO, Continuent Conference 2011 Topics / Introductions / A Motivating Story / Master / Slave Disaster Recovery Replication Tungsten
Outline. Failure Types
Outline Database Management and Tuning Johann Gamper Free University of Bozen-Bolzano Faculty of Computer Science IDSE Unit 11 1 2 Conclusion Acknowledgements: The slides are provided by Nikolaus Augsten
The Future of PostgreSQL High Availability Robert Hodges - Continuent, Inc. Simon Riggs - 2ndQuadrant
The Future of PostgreSQL High Availability Robert Hodges - Continuent, Inc. Simon Riggs - 2ndQuadrant Agenda / Introductions / Framing the High Availability (HA) Problem / Hot Standby + Log Streaming /
Mind Q Systems Private Limited
MS SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques Module 1: SQL Server Architecture Introduction to SQL Server 2012 Overview on RDBMS and Beyond Relational Big picture of
SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1
SQL Server 2008 Designing, Optimizing, and Maintaining a Database Course The SQL Server 2008 Designing, Optimizing, and Maintaining a Database course will help you prepare for 70-450 exam from Microsoft.
Eloquence Training What s new in Eloquence B.08.00
Eloquence Training What s new in Eloquence B.08.00 2010 Marxmeier Software AG Rev:100727 Overview Released December 2008 Supported until November 2013 Supports 32-bit and 64-bit platforms HP-UX Itanium
Dave Stokes MySQL Community Manager
The Proper Care and Feeding of a MySQL Server for Busy Linux Admins Dave Stokes MySQL Community Manager Email: [email protected] Twiter: @Stoker Slides: slideshare.net/davidmstokes Safe Harbor Agreement
Scalability of web applications. CSCI 470: Web Science Keith Vertanen
Scalability of web applications CSCI 470: Web Science Keith Vertanen Scalability questions Overview What's important in order to build scalable web sites? High availability vs. load balancing Approaches
Open-Xchange Server High availability 2010-11-06 Daniel Halbe, Holger Achtziger
Open-Xchange Server High availability 2010-11-06 Daniel Halbe, Holger Achtziger Agenda Open-Xchange High availability» Overview» Load Balancing and Web Service» Open-Xchange Server» Filestore» Database»
Overview: Clustering MySQL with DRBD & Pacemaker
Overview: Clustering MySQL with DRBD & Pacemaker Trent Lloyd 1 Overview Software Packages (OpenAIS, Pacemaker/CRM, DRBD) Concepts Setup & configuration Installing packages Configure
MySQL: Cloud vs Bare Metal, Performance and Reliability
MySQL: Cloud vs Bare Metal, Performance and Reliability Los Angeles MySQL Meetup Vladimir Fedorkov, March 31, 2014 Let s meet each other Performance geek All kinds MySQL and some Sphinx Working for Blackbird
Cloud Based Application Architectures using Smart Computing
Cloud Based Application Architectures using Smart Computing How to Use this Guide Joyent Smart Technology represents a sophisticated evolution in cloud computing infrastructure. Most cloud computing products
High Availability Solutions with MySQL
High Availability Solutions with MySQL best OpenSystems Day Fall 2008 Ralf Gebhardt Senior Systems Engineer MySQL Global Software Practice [email protected] 1 HA Requirements and Considerations HA
Part 3. MySQL DBA I Exam
Part 3. MySQL DBA I Exam Table of Contents 23. MySQL Architecture... 3 24. Starting, Stopping, and Configuring MySQL... 6 25. Client Programs for DBA Work... 11 26. MySQL Administrator... 15 27. Character
A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES
A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES By: Edward Whalen Performance Tuning Corporation INTRODUCTION There are a number of clustering products available on the market today, and clustering has become
How to evaluate which MySQL High Availability solution best suits you
How to evaluate which MySQL High Availability solution best suits you Henrik Ingo Oscon, 2013 Please share and reuse this presentation licensed under the Creative Commons Attribution License http://creativecommons.org/licenses/by/3.0/
Hardening MySQL. Maciej Dobrzański maciek at psce.com @MushuPL http://www.psce.com/
Hardening MySQL Maciej Dobrzański maciek at psce.com @MushuPL http://www.psce.com/ In this presentation Database security Security features in MySQL The ugly truth Improving security DATABASE SECURITY
Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam [email protected]
Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam [email protected] Agenda The rise of Big Data & Hadoop MySQL in the Big Data Lifecycle MySQL Solutions for Big Data Q&A
MySQL synchronous replication in practice with Galera
MySQL synchronous replication in practice with Galera FOSDEM MySQL and Friends Devroom February 5, 2012, ULB Brussels Oli Sennhauser Senior MySQL Consultant, FromDual [email protected] Content
Contents. SnapComms Data Protection Recommendations
Contents Abstract... 2 SnapComms Solution Environment... 2 Concepts... 3 What to Protect... 3 Database Failure Scenarios... 3 Physical Infrastructure Failures... 3 Logical Data Failures... 3 Service Recovery
Monitor the Heck Out Of Your Database
Monitor the Heck Out Of Your Database Postgres Open 2011 Josh Williams End Point Corporation Data in... Data out... What are we looking for? Why do we care? Performance of the system Application throughput
2000 databases later. Kristian Köhntopp http://google.com/+kristiankohntopp. Mittwoch, 17. April 13
2000 databases later Kristian Köhntopp http://google.com/+kristiankohntopp TL;DR about 2000 MySQL instances in production Mostly running MySQL 5.5, some 5.6 beta since May 2012 made gamble that we would
Comparing MySQL and Postgres 9.0 Replication
Comparing MySQL and Postgres 9.0 Replication An EnterpriseDB White Paper For DBAs, Application Developers, and Enterprise Architects March 2010 Table of Contents Introduction... 3 A Look at the Replication
HAOSCAR 2.0: an open source HA-enabling framework for mission critical systems
HAOSCAR 2.0: an open source HA-enabling framework for mission critical systems Rajan Sharma, Thanadech Thanakornworakij { tth010,rsh018}@latech.edu High availability is essential in mission critical computing
High Availability and Backup Strategies for the Lustre MDS Server
HA and Backup Methods for Lustre Hepix May '08 [email protected] 1 High Availability and Backup Strategies for the Lustre MDS Server Spring 2008 Karin Miers / GSI HA and Backup Methods for Lustre Hepix May
MySQL Fabric: High Availability Solution for Connector/Python
DBAHire.com MySQL Fabric: High Availability Solution for Connector/Python Jaime Crespo PyConES 2014 Zaragoza -8 Nov 2014- dbahire.com 1 Table of Contents 1. What is MySQL Fabric? 4. Sharding 2. Installation
MarkLogic Server. Database Replication Guide. MarkLogic 8 February, 2015. Copyright 2015 MarkLogic Corporation. All rights reserved.
Database Replication Guide 1 MarkLogic 8 February, 2015 Last Revised: 8.0-1, February, 2015 Copyright 2015 MarkLogic Corporation. All rights reserved. Table of Contents Table of Contents Database Replication
I-Motion SQL Server admin concerns
I-Motion SQL Server admin concerns I-Motion SQL Server admin concerns Version Date Author Comments 4 2014-04-29 Rebrand 3 2011-07-12 Vincent MORIAUX Add Maintenance Plan tutorial appendix Add Recommended
Module 14: Scalability and High Availability
Module 14: Scalability and High Availability Overview Key high availability features available in Oracle and SQL Server Key scalability features available in Oracle and SQL Server High Availability High
Adding Indirection Enhances Functionality
Adding Indirection Enhances Functionality The Story Of A Proxy Mark Riddoch & Massimiliano Pinto Introductions Mark Riddoch Staff Engineer, VMware Formally Chief Architect, MariaDB Corporation Massimiliano
Zero Downtime Deployments with Database Migrations. Bob Feldbauer twitter: @bobfeldbauer email: [email protected]
Zero Downtime Deployments with Database Migrations Bob Feldbauer twitter: @bobfeldbauer email: [email protected] Deployments Two parts to deployment: Application code Database schema changes (migrations,
Flash Databases: High Performance and High Availability
Flash Databases: High Performance and High Availability Flash Memory Summit Software Tutorial August 11,2011 Dr John R Busch Founder and CTO Schooner Information Technology JohnBusch@SchoonerInfoTechcom
SQL Server Training Course Content
SQL Server Training Course Content SQL Server Training Objectives Installing Microsoft SQL Server Upgrading to SQL Server Management Studio Monitoring the Database Server Database and Index Maintenance
MySQL Cluster 7.0 - New Features. Johan Andersson MySQL Cluster Consulting [email protected]
MySQL Cluster 7.0 - New Features Johan Andersson MySQL Cluster Consulting [email protected] Mat Keep MySQL Cluster Product Management [email protected] Copyright 2009 MySQL Sun Microsystems. The
MySQL backups: strategy, tools, recovery scenarios. Akshay Suryawanshi Roman Vynar
MySQL backups: strategy, tools, recovery scenarios Akshay Suryawanshi Roman Vynar April 15, 2015 Introduction 2 This is a brief talk on Backups for MySQL, where we will cover basics of backing up MySQL,
Ultimate Guide to Oracle Storage
Ultimate Guide to Oracle Storage Presented by George Trujillo [email protected] George Trujillo Twenty two years IT experience with 19 years Oracle experience. Advanced database solutions such
Bigdata High Availability (HA) Architecture
Bigdata High Availability (HA) Architecture Introduction This whitepaper describes an HA architecture based on a shared nothing design. Each node uses commodity hardware and has its own local resources
MySQL Backup and Security. Best practices on how to run MySQL on Linux in a secure way Lenz Grimmer <[email protected]>
MySQL Backup and Security Best practices on how to run MySQL on Linux in a secure way Lenz Grimmer Introduction In this session you will learn best practises on how to configure and run
Postgres Plus xdb Replication Server with Multi-Master User s Guide
Postgres Plus xdb Replication Server with Multi-Master User s Guide Postgres Plus xdb Replication Server with Multi-Master build 57 August 22, 2012 , Version 5.0 by EnterpriseDB Corporation Copyright 2012
SCALABLE DATA SERVICES
1 SCALABLE DATA SERVICES 2110414 Large Scale Computing Systems Natawut Nupairoj, Ph.D. Outline 2 Overview MySQL Database Clustering GlusterFS Memcached 3 Overview Problems of Data Services 4 Data retrieval
SharePoint 2013 Best Practices
SharePoint 2013 Best Practices SharePoint 2013 Best Practices When you work as a consultant or as a SharePoint administrator, there are many things that you need to set up to get the best SharePoint performance.
MyISAM Default Storage Engine before MySQL 5.5 Table level locking Small footprint on disk Read Only during backups GIS and FTS indexing Copyright 2014, Oracle and/or its affiliates. All rights reserved.
GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster
GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster Overview This documents the SQL Server 2012 Disaster Recovery design and deployment, calling out best practices and concerns from the
Tivoli Endpoint Manager BigFix Dashboard
Tivoli Endpoint Manager BigFix Dashboard Helping you monitor and control your Deployment. By Daniel Heth Moran Version 1.1.0 http://bigfix.me/dashboard 1 Copyright Stuff This edition first published in
The Evolution of Database Management Systems
1 ABBREVIATIONS AND SYMBOLS... 4 1 INTRODUCTION... 5 1.1 Objectives of the study... 5 1.2 Scope of the study... 5 1.3 Structure of the study... 6 2 REQUIREMENTS FOR THE SYSTEM... 7 2.1 Data protection...
How To Monitor Mysql With Zabbix
MySQL Performance Monitoring with Zabbix An alternative to the MySQL Enterprise Monitor? by Oli Sennhauser [email protected] http:// 1 How many of you... monitor their database servers? monitor
Open Source High Availability Writing Resource Agents for your own services. Lars Marowsky-Brée Team Lead SUSE Labs [email protected]
Open Source High Availability Writing Resource Agents for your own services Lars Marowsky-Brée Team Lead SUSE Labs [email protected] Agenda Introduction Resource Agents in context Basic Resource Agents (+ code)
MySQL Backup Strategy @ IEDR
MySQL Backup Strategy @ IEDR Marcelo Altmann Oracle Certified Professional, MySQL 5 Database Administrator Oracle Certified Professional, MySQL 5 Developer Percona Live London November 2014 Who am I? MySQL
MySQL Administration and Management Essentials
MySQL Administration and Management Essentials Craig Sylvester MySQL Sales Consultant 1 Safe Harbor Statement The following is intended to outline our general product direction. It
High Availability Storage
High Availability Storage High Availability Extensions Goldwyn Rodrigues High Availability Storage Engineer SUSE High Availability Extensions Highly available services for mission critical systems Integrated
High Availability & Disaster Recovery Development Project. Concepts, Design and Implementation
High Availability & Disaster Recovery Development Project Concepts, Design and Implementation High Availability & Disaster Recovery Development Project CONCEPTS Who: Schmooze Com Inc, maintainers, core
Top 10 Reasons why MySQL Experts Switch to SchoonerSQL - Solving the common problems users face with MySQL
SCHOONER WHITE PAPER Top 10 Reasons why MySQL Experts Switch to SchoonerSQL - Solving the common problems users face with MySQL About Schooner Information Technology Schooner Information Technology provides
IBRIX Fusion 3.1 Release Notes
Release Date April 2009 Version IBRIX Fusion Version 3.1 Release 46 Compatibility New Features Version 3.1 CLI Changes RHEL 5 Update 3 is supported for Segment Servers and IBRIX Clients RHEL 5 Update 2
Administering a Microsoft SQL Server 2000 Database
Aug/12/2002 Page 1 of 5 Administering a Microsoft SQL Server 2000 Database Catalog No: RS-MOC2072 MOC Course Number: 2072 5 days Tuition: $2,070 Introduction This course provides students with the knowledge
High-Availability Using Open Source Software
High-Availability Using Open Source Software Luka Perkov Iskon Internet, Zagreb, Croatia Nikola Pavković Ruđer Bošković Institute Bijenička cesta Zagreb, Croatia Juraj Petrović Faculty of Electrical Engineering
PostgreSQL Backup Strategies
PostgreSQL Backup Strategies Austin PGDay 2012 Austin, TX Magnus Hagander [email protected] PRODUCTS CONSULTING APPLICATION MANAGEMENT IT OPERATIONS SUPPORT TRAINING Replication! But I have replication!
Appendix A Core Concepts in SQL Server High Availability and Replication
Appendix A Core Concepts in SQL Server High Availability and Replication Appendix Overview Core Concepts in High Availability Core Concepts in Replication 1 Lesson 1: Core Concepts in High Availability
Ingres Backup and Recovery. Bruno Bompar Senior Manager Customer Support
Ingres Backup and Recovery Bruno Bompar Senior Manager Customer Support 1 Abstract Proper backup is crucial in any production DBMS installation, and Ingres is no exception. And backups are useless unless
Release Notes LS Retail Data Director 3.01.04 August 2011
Release Notes LS Retail Data Director 3.01.04 August 2011 Copyright 2010-2011, LS Retail. All rights reserved. All trademarks belong to their respective holders. Contents 1 Introduction... 1 1.1 What s
Database Backup and Restore Mechanism. Presented by : Mary Meladath
Database Backup and Restore Mechanism Presented by : Mary Meladath Database Server Connection Error Suppose error is handled gracefully. The error message may be :- The Database server is down. Please
$99.95 per user. SQL Server 2005 Database Administration CourseId: 152 Skill level: 200-500 Run Time: 30+ hours (158 videos)
Course Description This popular LearnItFirst.com course is a soup-to-nuts course that will teach you how to choose your edition, install, configure and manage any edition of. You ll learn the details of
MySQL Enterprise Backup
MySQL Enterprise Backup Fast, Consistent, Online Backups A MySQL White Paper February, 2011 2011, Oracle Corporation and/or its affiliates Table of Contents Introduction... 3! Database Backup Terms...
This article Includes:
Log shipping has been a mechanism for maintaining a warm standby server for years. Though SQL Server supported log shipping with SQL Server 2000 as a part of DB Maintenance Plan, it has become a built-in
Database Replication with MySQL and PostgreSQL
Database Replication with MySQL and PostgreSQL Fabian Mauchle Software and Systems University of Applied Sciences Rapperswil, Switzerland www.hsr.ch/mse Abstract Databases are used very often in business
Weaving Stored Procedures into Java at Zalando
Weaving Stored Procedures into Java at Zalando Jan Mussler JUG DO April 2013 Outline Introduction Stored procedure wrapper Problems before the wrapper How it works How to use it More features including
How To Build A Fault Tolerant Mythrodmausic Installation
High-availability mechanisms in MySQL Ari J. Flinkman [email protected], University of Helsinki Abstract. With MySQL, the popular commercial open source relational database engine, been implemented several
Distributed File Systems
Distributed File Systems Paul Krzyzanowski Rutgers University October 28, 2012 1 Introduction The classic network file systems we examined, NFS, CIFS, AFS, Coda, were designed as client-server applications.
