Barracuda VS antelope
生活随笔
收集整理的這篇文章主要介紹了
Barracuda VS antelope
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
version :?5.6.16-64.0-56-log
Innodb 行存儲:
Innodb Plugin新引入Barracuda梭子魚,包含Compressed和Dynamic兩種行格式。而Compact和Redundant屬于antelope 羚羊
Barracuda VS antelope
由innodb_file_format(動態)參數決定,目前可選擇的值有Barrcuda/antelope,默認為后者。
因為共享表空間默認為antelope,要想使用Barrccuda為默認值,必須設定innodb_file_per_table=1
修改表字段類型長度時,提示:
原因:Innodb_file_format=antelope,而在創建表的時候,定義ROW_FORMAT=DYNAMIC,DYNAMIC和COMPRESSED屬于BARRCUDA,因此alter table 修改字段長度會提示warnings,因而在修改字段時,修改Innodb_file_format=Barracuda,就不會提示warnings。
set global?Innodb_file_format=Barracuda;
alter table ...............;
轉載于:https://www.cnblogs.com/hankyoon/p/5169651.html
總結
以上是生活随笔為你收集整理的Barracuda VS antelope的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 那些我希望在一开始使用 Zsh(oh-m
- 下一篇: 安装 Dubbo 注册中心(Zookee