I was wondering what happens to the binlog when run an alter using pt-online-schema-change or gh-ost?
for the pt-online-schema-change I have read that it copies the table and use some triggers to apply the changes. I don't know if it create a table from the beginning with the new schema or it just apply the alter after copying the table?
if it alters the table from the beginning, then what happens to binglog? is the positions different than the previous binglog?