Login
Discover
Waves
Decks
Plus
Login
Signup
Topics
New
Trending
Hot
New
New
Trending
Hot
New
Payouts
Muted
Promoted
Global
Top communities
Create decentralized community
latest #ibdata1 created topics on internet
kn007
mysql
2016-09-17 05:40
How to reduce/shrink ibdata1 in MySQL 5.6 // MySQL 5.6 如何给ibdata1瘦身
前不久刚给ibdata1瘦身,发篇文章总结下。 ibdata1是MySQL使用InnoDB引擎时所产生的文件,其一般存储数据、索引、结构、缓冲数据、共享数据和重做日志等。因为ibdata1只增不减,长期操作数据库,可能会使其越来越大,而浪费空间。 加上使用InnoDB引擎时,没有添加innodb_file_per_table参数也是导致ibdata1过大的原因。
$ 0.000
2
2