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

  • Home
  • SEARCH
  • 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 3453338
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:21:46+00:00 2026-05-18T09:21:46+00:00

I hear that many people use master – slave arrangements help to improve time

  • 0

I hear that many people use master – slave arrangements help to improve time taken when changing schemas by using replication to setup a new temporary master, then stopping relocation and then swapping roles before starting again. I have found an example (below) found on stack overflow.

  1. Setup slave
  2. Stop replication.
  3. Make ALTER on slave
  4. Let slave catch up the master
  5. swap master and slave, so slave becomes production server with changed
    structure and minimum downtime

This is all very well, however, i dont understand step 4 it isn’t clear to me.

I wonder if anyone could please explain the procedure clearer.

  • 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-05-18T09:21:46+00:00Added an answer on May 18, 2026 at 9:21 am

    Let slave catch up the master

    Let slave catch up with the master meaning slave is 0 seconds behind master.

    This mean if the replication stopped at some point (for you to alter table),
    it will register a last replication time.

    When the replication resume,
    it will compare the current write on master with the last replication time on slave.

    However, the procedures seems to be a flaw.
    You cannot alter slave and
    expecting schema in the updated slave is same as master.

    In the events column type changed, column dropped,
    potentially lead to replication failure.

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

Sidebar

Related Questions

I often hear complaints that programming languages that make heavy use of symbols for
I often hear around here from test driven development people that having a function
Like many people I've been doing image preload for a long time, but not
Many times I hear that F# is not suited to particular tasks, such as
I'm building a web app that many people will be using at the same
I am new to Web Programming and I hear that there are many biggies
I am building an application that performs a master query with many joins. This
I hear a lot of people talking about the revolution that is coming in
i hear that NTFS alternate data streams can be used to hide running executabes.
I hear that Data.Text is going to replace String s in future Haskell versions.

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.