Opened 5 years ago
Last modified 4 years ago
#43416 new feature request
Function to Maybe Convert Tables to InnoDB
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | |
Focuses: | performance | Cc: |
Description
We already have a function called maybe_convert_table_to_utf8mb4()
, so I think it might make sense to have one to convert the table engine to InnoDB. This could be really useful for developer who want to convert tables they have added, and core can use it on core tables during upgrades.
We can have checks in place for making sure the install is running MySQL 5.6.4 or higher.
maybe_convert_table_to_innodb()
Note: See
TracTickets for help on using
tickets.
Note that WordPress doesn't specify a database engine and just uses MySQL's
default-storage-engine
setting.