更新时间: 试题数量: 购买人数: 提供作者:

有效期: 个月

章节介绍: 共有个章节

收藏
搜索
题库预览
.Examine this output:

Mysql>SELET FORMAT_BYTES(@@global.innodb_buffer_pool_size)AS BufferPoolSize, @@global.innodb_buffer_pool_instances AS NumInstances,

FORMAT_BYTES(@@global.innodb_buffer_buffer_poof-chunk-size) AS Chunksize;

+----------------------+--------------------+----------------+

|BufferPoolSize |        NumInstances | ChunkSize      | 

+----------------------+--------------------+----------------+

|12.00 GiB                     |                   8             | 128.00 MiB       |

+----------------------+--------------------+----------------+

Mysql> SELECT * FROM sys.metrics WHERE Variable_name LIKE ‘Threads%’;

+----------------------+--------------------+----------------+-------------+

|Variable_name         |Variable_b=value   |Type        |Enabled  | 

+----------------------+--------------------+----------------+-------------+

|Threads_cached            | 4                                |Global Status    |YES               |

 |Threads_cached           | 32                              |Global Status    |YES               |

 |Threads_cached            | 112                            |Global Status    |YES               |

|Threads_cached      | 16  |Global Status |YES | 

+----------------------+--------------------+----------------+-------------+ 

4 rows in set (0.00 sec)

Which change should optimize the number of buffer pool instances for this workload?