Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 







Current Newswire:

The Bruno Knaapen Technology Learning Center is Established

Anjal: GNOME's Evolution for Netbooks

Linux Mint 8 KDE Community Edition

Open source means freedom from 'anti-features'

GTalX - Google Voice Chat has arrived in Ubuntu 9.10 (Karmic)

Top 10 Super Bowl tech ads

OOXML not suitable for Norwegian government, says study

Add Cloud Storage to OpenOffice.org with SMECloud

10 Ways that Enterprises use Linux

SECURITY: A sensation of wonder about technological developments




Senior Linux Administrator - Red Hat (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume
:Some Reasonable Defaults for MySQL Settings
Some Reasonable Defaults for MySQL Settings
Nov 25, 2009, 01 :33 UTC (0 Talkback[s]) (2279 reads)

(Other stories by Jeremy Zawodny)

"slave_net_timeout

"There is no heartbeat mechanism that helps slaves to know that their connection to a master hasn’t vanished. What can happen is a network connection gets broken between the two in a way that neither detects. This is typically a firewall/router issue or something that neither host initiates or sees, so neither one is able to send (or receive) a TCP packet that would normally begin to shut down the connection. This is especially true of replication topologies that involve crossing significant distances where multiple networks and providers may be involved.

"MySQL uses a simple timeout mechanism to detect this hopefully rare occurrence. If the slave I/O thread has not seen anything from the master in slave_net_timeout seconds, it will connect and then attempt to reconnect and continue replicating. That mechanism works very well and allows slaves to deal with the occasional network glitch.

"Unfortunately the default value for this variable is 3600. That’s a full hour of time that passes before the slave decides to give up and try starting with a new connection. So not only do you run the risk of a slave being nearly an hour behind on replication, you may find that this is trickier to detect than you might think!"

Complete Story

Related Stories:
Hacking with CouchDB(Nov 09, 2009)
An Introduction to CouchDB(Nov 02, 2009)
Data By The Numbers(Oct 28, 2009)
NoSQL: Distributed and Scalable Non-Relational Database Systems(Oct 19, 2009)
Everything is Unix(Oct 13, 2009)
Expecting to Fail(Sep 26, 2009)
Database Storage Performance Testing in a Hurry(Sep 22, 2009)
The Curious Case of the Failing Connections, Part 2(Sep 15, 2009)
Redis: Lightweight key/value Store That Goes the Extra Mile(Sep 02, 2009)
Quick and Dirty MySQL Performance Troubleshooting(Aug 20, 2009)
MySQL Sandbox: Treat MySQL Instances like Virtual Machines(Jul 28, 2009)
MySQL Performance from the Start(Jul 14, 2009)



No talkbacks posted.
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers