Parameter Name | Restart | Global Parameter | Default Value | Modifiable Parameter Values | Description |
innodb_parallel_ddl | Yes | Yes | OFF | OFF | ON | Parallel DDL feature switch. OFF: Disable the parallel DDL feature. ON: Enable the parallel DDL feature. |
innodb_ddl_threads | Yes | Yes | 4 | [1 - 256] | Controls the number of parallel threads for each DDL operation. A value of 1 indicates that DDL operations are executed in single-threaded mode. |
innodb_ddl_buffer_size | Yes | Yes | 10485760 | [1048576 - 536870912] | Controls the memory size for storing sampled data during parallel index creation. |
Parameter Name | Restart | Global Parameter | Default Value | Modifiable Parameter Values | Description |
innodb_txsql_parallel_ddl | Yes | Yes | OFF | OFF | ON | Parallel DDL feature switch. OFF: Disable the parallel DDL feature. ON: Enable the parallel DDL feature. |
innodb_txsql_ddl_threads | Yes | Yes | 4 | [1 - 256] | Controls the number of parallel threads for each DDL operation. A value of 1 indicates that DDL operations are executed in single-threaded mode. |
innodb_txsql_ddl_buffer_size | Yes | Yes | 10485760 | [1048576 - 536870912] | Controls the memory size for storing sampled data during parallel index creation. |
-- When the kernel version is 3.1.14 or earlierSET innodb_parallel_ddl = ON;SET innodb_ddl_threads = 4; // This setting relates to instance specifications. You can increase the number of parallel threads when the specifications are high.-- When the kernel version is 3.1.15 or laterSET innodb_txsql_parallel_ddl = ON;SET innodb_txsql_ddl_threads = 4; // This setting relates to instance specifications. You can increase the number of parallel threads when the specifications are high.
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan