mysql-最佳化班學習-6-20170525-mysql的體繫結構

來源:互聯網
上載者:User

標籤: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的體繫結構

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.