摘要: 当执行 SQL语句删除行时,InnoDB不会立即从数据库中物理删除。 仅当InnoDB 丢弃 为删除而编写的undo log 时,才会物理删除行及其索引记录(删除对应数据文件中的记录和索引)。 这种仅发生在不再需要多版本并发控制(MVCC)或回滚之后的删除操作,称为purge。 purge 操作用于 阅读全文
posted @ 2020-07-08 23:26 Coye 阅读(829) 评论(0) 推荐(0) 编辑
摘要: 参考 https://dev.mysql.com/doc/refman/5.7/en/optimizer-hints.html Hint Name Description Applicable Scopes BKA, NO_BKA Affects Batched Key Access join pr 阅读全文
posted @ 2020-07-08 22:29 Coye 阅读(515) 评论(0) 推荐(0) 编辑