標籤:color logs 產生 cat ora nbsp xor memcach 建議
mysql-最佳化班學習-6-20170525-mysql的體繫結構
read buffer size for MyISAM Only 假如
tmp-table-size = 96M
max-heap-table-size = 64M
【群主】葉金榮(4700963) 21:12:00
這時候,sql產生的暫存資料表,最大隻能是64M,而不是96M
Qc 高速查詢快取 query cache
key-buffer-size,myisam專用的buffer
mysql 8.0以前系統資料表是使用myisam儲存引擎的
thread cache
【群主】葉金榮(4700963) 21:22:56
table cache
MySQL 5.7預設啟用 STRICT_ALL_TABLES 模式
也就是strict 模式
----------------------------------------------------------------------------------
大頁和透明大頁
cat /sys/kernel/mm/transparent_hugepage/enabled
cat /sys/kernel/mm/transparent_hugepage/defrag 不建議使用透明大頁
參考:
https://access.redhat.com/solutions/46111
http://blog.csdn.net/lixora/article/details/42025349
高並發的情況下使用innodb具有優勢,myisam沒有優勢,
1、將一批資料匯入到MyISAM表中
2、這批資料做簡單清洗
3、將清洗結果,再次匯入到InnoDB表中
mysql是個拔插式的資料庫,只需要
http://imysql.com/2013/08/15/innodb-memcached-vs-native-memcached-benchmark.shtml
mysql-最佳化班學習-6-20170525-mysql的體繫結構