Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9016987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:08:50+00:00 2026-06-16T04:08:50+00:00

I have 2 mysql servers with circular replication set up between them. Doing a

  • 0

I have 2 mysql servers with circular replication set up between them. Doing a slave status check on both servers shows everything is OK. However, when an update on a table on server1 is done, server2 does not sync immediately. Sometimes it will sync after a few minutes. Sometimes it will only sync after mysqld on server2 is restarted.

I have

innodb_flush_log_at_trx_commit = 1

and

sync_binlog = 1

in my my.cnf files.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:08:51+00:00Added an answer on June 16, 2026 at 4:08 am

    sync-binlog may be the prime suspect.

    MySQL Documntation on sync-binlog says

    A value of 1 is the safest choice because in the event of a crash you lose at most one statement or transaction from the binary log. However, it is also the slowest choice (unless the disk has a battery-backed cache, which makes synchronization very fast).

    I would check your disk controller battery on the Master

    I would also recommend using

    [mysqld]
    innodb_flush_method=O_DIRECT
    

    I wrote about innodb_flush_method in the DBA StackExchange

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a MySQL master-slave replication enviroment if I have 4 slave servers how can
I have two servers, both running phpmyadmin, and I exported a mysql dump on
I have two mysql servers, both of which are masters. After some problems with
I have two MySQL servers configured in a multi-master replication setup. Each is a
I have two MySQL servers configured in a Master-Slave relationship. Master -> my.cnf: server-id=1283522287
I have two Linux/MySQL servers located in the UK, current system timezone on both
I have 2 servers that have mail server, both have mysql, dovecot, postfix installed.
I have 2 mysql servers, one is set with all the mysql defaults (port,socket,
I have 2 5.0 MySQL servers running in Master-Master replication and before refreshing the
I've been experimenting with master-master replication between two MySQL servers but with different database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.