生产数据库上的MySQL Heavy Read操作

时间:2016-01-25 11:17:51

标签: mysql

innodb_file_per_table | ON
innodb_flush_log_at_trx_commit | 2
innodb_flush_method | O_DIRECT
innodb_read_io_threads | 8
innodb_write_io_threads | 8
innodb_log_buffer_size | 33554432
innodb_log_file_size | 402653184

按照预期,写性能很好: 100+ INSERT / sec,100 + UPDATE / sec。

数据库参数:

mysql> show engine innodb status\G
...
...
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue

1 read views open inside InnoDB

Main thread process no. 9924, id 140339369645824, state: sleeping

Number of rows inserted 1686580712, updated 1684027265, deleted 1681594351, read 66159327657

87.88 inserts/s, 88.21 updates/s, 87.77 deletes/s, **117894.90 reads/s**

问题:突然,在检查期间

<WizardExtension>
    <Assembly>Microsoft.VisualStudio.Web.Application, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
    <FullClassName>Microsoft.VisualStudio.Web.Application.WATemplateWizard</FullClassName>
</WizardExtension>

我们没想到,100K +读/秒?有问题吗?我们可以检查什么?

请建议。

感谢您的帮助。

0 个答案:

没有答案