Replication - Binary log parsing(Tableid generation, ON DELETE CASCADE handling, Changed columns for update event)

dba.stackexchange https://dba.stackexchange.com/questions/51873

Question

I am using MySQL 5.5 with InnoDB engine. I have set binlog format as row-based replication.

I have some doubts regarding replication:

1) How is the tableID generated? Is it stored somewhere?

2) Say I have Table T1(parent), T2(child), T3(child). T1 has a FK(ON DELETE CASCADE) relationship with its children: T2 & T3. If a row is deleted from T1, then will a DELETE event be generated for all T1, T2 & T3?

3) Is there any way to get info about the changed columns in case of an UPDATE event?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top