如何:清理mysql InnoDB存储引擎? [英] Howto: Clean a mysql InnoDB storage engine?

查看:95
本文介绍了如何:清理mysql InnoDB存储引擎?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以清理mysql innodb存储引擎,使其不存储已删除表中的数据?

Is it possible to clean a mysql innodb storage engine so it is not storing data from deleted tables?

还是我每次都必须重建一个新的数据库?

Or do I have to rebuild a fresh database every time?

推荐答案

关于InnoDB,这是一个更完整的答案.这是一个漫长的过程,但是值得付出努力.

Here is a more complete answer with regard to InnoDB. It is a bit of a lengthy process, but can be worth the effort.

请记住,/var/lib/mysql/ibdata1是InnoDB基础架构中最繁忙的文件.它通常包含六种类型的信息:

Keep in mind that /var/lib/mysql/ibdata1 is the busiest file in the InnoDB infrastructure. It normally houses six types of information:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆