Quantcast
Channel: 评论:实例说明optimize table在优化mysql时很重要
Browsing all 6 articles
Browse latest View live

来自:ruochen

注意这个bug * InnoDB Storage Engine: The OPTIMIZE TABLE statement would reset the auto-increment counter for an InnoDB table. Now the auto-increment value is preserved across this operation. (Bug#18274:...

View Article



来自:royce

不错,建议支持新浪微博分享

View Article

来自:有点不同的见地

对于为什么删除了表数据表的空间并没有减少的问题我有点不同的看法; 我觉得是因为mysql MVCC的控制原因,删除了的数据其实还在那里,标记了删除的版本号 并不是你所说的空在那里。

View Article

来自:蓝天

这应该是类似于oracle的高水位吧

View Article

来自:fanyank

楼上正解,引用MySQL官方文档给出的解释 In the InnoDB multi-versioning scheme, a row is not physically removed from the database immediately when you delete it with an SQL statement. InnoDB only physically removes the...

View Article


来自:涛涛

OPTIMIZE 一张删除了几千万条数据的表大概要多长时间

View Article
Browsing all 6 articles
Browse latest View live




Latest Images

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.0 by Vimeo.com, Inc.

Vimeo 10.6.0 by Vimeo.com, Inc.

Re:

Re:

Re:

Re: