89483

89483



Replication of Columns Having Different Data Types

Corresponding columns on the master's and the slave’s copies of the same table ideally should have

the same data type. However, beginning with MySQL 5.1.21, this is not always

strictly enforced, as

long as certain conditions are met.

Ali other things being equal, it is always possible to replicate from a column of a given data type to

another column of the same type and same size or width, where applicable, or larger. For example,

you can replicate from a CHAR (10) column to another CHAR (10), or from a CHAR (10) column to a

CHAR (25) column without any problems. In certain cases, it also possible to replicate from a column

having one data type (on the master) to a column having a different data type (on the slave); when the

data type of the master’s version of the column is promoted to a type that is the same size or larger on

the slave, this is known as ałtribute promotion.

Attribute promotion can be used with both statement-based and row-based replication, and is not

dependent on the storage engine used by either the master or the slave. However, the choice of

logging format does have an effect on the type conversions that are permitted; the particulars are

discussed later in this section.



Wyszukiwarka

Podobne podstrony:
Supported corwersions. Supported conversions between different but similar data types are shown in t
Replication and Server SQL Modę Using different server SQL modę settings on the master and the slave
2013 Editor: KAŹMIERCZAK). 2 THE INFLUENCE OF TYPICAL SOURCES 0F TRAFFIC NOISE MODELLING METHOD 
72 (63) G R E E N ANY LEGENDS SURROUND the feminine color of green which represents all tangibly gro
Obtaining the Replication Master Binary Log Coordinates To configure replication on the slave you mu
CAUTION AGAINST TIIE USE OF LITERARY SOURCES • •• • 155 Fig. 2 : A stitchcd boat depiclcd on th
calibre cover irnu-H 0 An f‘xplositr mul of Caribbran plan ta tum lift whtrr Inst icas thr master&nb
carving?ce) Rangę of Expressions 29 óirrow particularly, can be seen on the girl, they are rounded&n
The analysis of photon pair source at telecom wavelength based on the BBO crystal arXiv: 1509.01262
help3 1 The hook can puli out of a flsh If there is too much slack on the linę. When a hooked flsh r
Cornfield Crew10 Ear-Of-Corn Pattern Use wilh "Paper-Plale Raccoons on page 68 and "Corny
RPE Launcher Structure of Document Specification containing Output Types, Templates and th

więcej podobnych podstron