Qual versão do MySQL suportava a replicação baseada em linha?

1

Estou pensando em migrar da replicação MySQL baseada em STATEMENT para ROW, mas estou tendo dificuldades para descobrir se a replicação baseada em ROW está disponível em meu servidor 5.1.41-3ubuntu12.10-log / cliente.

Olhando a documentação aqui: link

... parece que o ROW não é uma opção até 5.1.5. Mas MIXED é mencionado como uma opção anterior (e MIXED implica que ROW está disponível, eu acho). Talvez o doc esteja falando apenas sobre a opção de inicialização da linha de comando?

Em resumo, a replicação MySQL baseada em ROW está disponível para mim (5.1.41)?

    
por Darryl Shippy 04.08.2011 / 19:47

1 resposta

1

De acordo com o link :

Replication capabilities in MySQL originally were based on propagation of SQL statements from master to slave. This is called statement-based replication (often abbreviated as SBR), which corresponds to the standard statement-based binary logging format. In MySQL 5.1.4 and earlier, binary logging and replication used this format exclusively.

Row-based binary logging logs changes in individual table rows. When used with MySQL replication, this is known as row-based replication (often abbreviated as RBR). In row-based replication, the master writes events to the binary log that indicate how individual table rows are changed.

As of MySQL 5.1.8, the server can change the binary logging format in real time according to the type of event using mixed-format logging.

When the mixed format is in effect, statement-based logging is used by default, but automatically switches to row-based logging in particular cases as described later. Replication using the mixed format is often referred to as mixed-based replication or mixed-format replication. For more information, see Section 5.2.4.3, “Mixed Binary Logging Format”.

From MySQL 5.1.12 to MySQL 5.1.28, mixed format is the default. Beginning with MySQL 5.1.29, statement-based format is the default.

Baseado neste excerto e no fato de que o MySQL 5.1.30 foi o primeiro lançamento GA do MySQL 5.1, o MySQL 5.1.41 tem que ter registro binário baseado em linha e, portanto, replicação baseada em linha.

    
por 04.08.2011 / 20:07