Replication When the Master and Slave Have Different Table Definitions

You are viewing an old version of this article. View the current version here.

This article is currently incomplete.

Tables on the slave and the master do not need to have the same definition in order for replication to take place. There can be differing numbers of columns, or differing data definitions and, in certain cases, replication can still proceed.

Different Data Definitions - Attribute Promotion and Demotion

In most cases, it is possible to replicate to a slave that has a column of the same or a larger type than the master, for example a column defined as VARCHAR(10) will successfully be replicated on a slave with a definition of VARCHAR(12).

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.