小编ste*_*hen的帖子

无法利用 MySQL 的最大 CPU 和内存使用量

再会。

我知道这可能是其他问题的重复,但是我已经在许多线程中应用了所有建议,但我仍然遇到同样的问题。

我有一个使用 max 的存储过程3 tables。当我运行该程序时,只30% of my CPU使用了大约25% of RAM.

我坐在一个CPU with 4 cores and 16GB RAM.

my.ini 如下所示:

[client]
port        = 3306
socket      = /tmp/mysql.sock

[mysqld]
port        = 3306
socket      = /tmp/mysql.sock
skip-external-locking
key_buffer_size = 512M
max_allowed_packet = 32M
table_open_cache = 512
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 128M
thread_cache_size = 16
query_cache_size= 32M
thread_concurrency = 0

log-bin=mysql-bin

binlog_format=mixed

server-id   = 1

innodb_buffer_pool_size = 12G …
Run Code Online (Sandbox Code Playgroud)

mysql innodb performance wamp

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

innodb ×1

mysql ×1

performance ×1

wamp ×1