服务器规格:具有以下信息的 VPS
model name : Intel(R) Xeon(R) CPU E5649 @ 2.53GHz
MemTotal: 2058776 kB
MemFree: 244436 kB
Run Code Online (Sandbox Code Playgroud)
我们正在运行来自 Invision Power Services 的 IP.Board,我们正在使用
innodb_file_per_table
并重新加载数据库以减少 ibdata1 大小。但是,尽管减小了ibdata1
尺寸,但我们最近仍然遇到了 CPU 和 I/O 使用率高的问题。
根据我的检查,我认为它是由ibdata1
. 下面是我使用pt-ioprofile -cell sizes
(在 Percona ToolKit 中)获得的数据。基本上,它是在 30 秒内收集的总 I/O 量。
# pt-ioprofile -cell sizes
Fri Jul 20 10:22:23 ICT 2012
Tracing process ID 8581
total pread read pwrite fsync open close getdents lseek fcntl filename
6995968 0 0 6995968 0 0 0 …
Run Code Online (Sandbox Code Playgroud)