89530
Statement-based replication. When using statement-based replication, a simple rule of thumb to
follow is, “If the statement run on the master would also execute successfully on the slave, it should
also replicate successfully”. In other words, if the statement uses a value that is compatible with the
type of a given column on the slave, the statement can be replicated. For example, you can insert any
value that fits in a TINYINT column into a BIGIKT column as well; it follows that, even if you change
the type of a TINYINT column in the slave's copy of a table to BIGINT, any insert into that column
on the master that succeeds should also succeed on the slave, sińce it is impossible to have a legał
TINYINT value that is large enough to exceed a BIGINT column.
Priorto MySQL 5.6.10, when using statement-based replication, AUTO_INCREMENT columns were
required to be the same on both the master and the slave; otherwise, updates could be applied to the
wrong table on the slave. (Bug #12669186)
Wyszukiwarka
Podobne podstrony:
memcached Deployment When using memcached you can use a number of different potential deployment strUsing the YVinnt32 Command The syntax of the winnt32 command is as follows: winnt32 [/s.sourcepath]Ask Me Everything&8 Language detective When the Egyptian civilization ended, the use of hieroglyphsHandling MySQL Recovery with ZFS When using ZFS replication to provide a constant copy of your data,Safe slave shutdown when using temporary tables. Temporary tables are replicated except in the caseTransactions and the count () function. When using MySQL Cluster Replication, it is not possible toUsing GTlDs for Failover and Scaleout There are a number of techniques when using MySQL ReplicationCreating a User for Replication Each slave must connect to the master using a MySQL user name and paReplication and Master or Slave Shutdowns It is safe to shut down a master server and restart it latReplication and Reserved Words You can encounter problems when you attempt to replicate from an oldeUsing Replication for Backups To use replication as a backup solution, replicate data from the mastePicture7 lesign Based on Structure shape of a human skuli as a point of reference. tf the robot’s mMECHANICS AND MACHINĘ BUILDING I Modernity of the education is based on technical Alumnus of Facultyscan0005 (5) // ■ // V e Look at the following extracts from Silvia’s skills-based CV. What kinds ofwięcej podobnych podstron