My Oracle Support Banner

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.

Goal

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)

 

Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.