<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>With online DDL an ALTER on FromDual GmbH</title><link>https://www.fromdual.com/blog/online-ddl_vs_pt-online-schema-change/comment-894/</link><description>Recent content in With online DDL an ALTER on FromDual GmbH</description><generator>Hugo</generator><language>en-GB</language><managingEditor>oli.sennhauser@fromdual.com (Oli Sennhauser)</managingEditor><webMaster>oli.sennhauser@fromdual.com (Oli Sennhauser)</webMaster><copyright>© FromDual GmbH</copyright><lastBuildDate>Fri, 21 Feb 2014 17:21:02 +0200</lastBuildDate><atom:link href="https://www.fromdual.com/blog/online-ddl_vs_pt-online-schema-change/comment-894/index.xml" rel="self" type="application/rss+xml"/><item><title>With online DDL an ALTER</title><link>https://www.fromdual.com/blog/online-ddl_vs_pt-online-schema-change/comment-894/</link><pubDate>Fri, 21 Feb 2014 17:21:03 +0200</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/online-ddl_vs_pt-online-schema-change/comment-894/</guid><description>&lt;p&gt;With online DDL an ALTER statement is just a single statement being replicated by single SQL thread, so if a non-blocking ALTER takes 1h on master, then the slave(s) will be applying the same ALTER for another 1h, and replication will be blocked during that time. While pt-osc tool does altering a table by copying rows in chunks, and does monitor the slaves in the same time and pauses the process if necessary.
Btw. some additional info here: &lt;a href="http://www.mysqlperformanceblog.com/2013/07/05/schema-changes-whats-new-in-mysql-5-6/"&gt;http://www.mysqlperformanceblog.com/2013/07/05/schema-changes-whats-new-in-mysql-5-6/&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>