Why disk space would be needed more than table size while altering table?

(Doc ID 2084454.1)

Last updated on MARCH 21, 2018

Applies to:

MySQL Server - Version 5.6 to 5.7 [Release 5.6 to 5.7]
Information in this document applies to any platform.


During an online DDL operation, temporary tables may or may not be created. It depends on commands and how tables are changed. Sometimes DMLs can be allowed, sometimes not.

Please refer to 'Table 14.6 Summary of Online Status for DDL Operations' in following link.

     - https://dev.mysql.com/doc/refman/en/innodb-create-index-overview.html#innodb-online-ddl-summary-grid

Learn how much space would be needed to alter table with example of adding a column. (e.g. add column, In-Place?=Yes, Rebuilds Table?=Yes)



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms