Mysql text 空洞问题
create table t (id varchar(100), context text);
insert into t values(1, repeat('haha', 100));
insert into t values(2, repeat('haha', 100));
insert into t values(3, repeat('haha', 100));
insert into t select * from t;
delete from t where id=1;
optimize table t;
本文通过创建一个包含Text类型的表,并进行增删操作,演示了Mysql中Text字段出现空洞的情况及其解决办法。
1293

被折叠的 条评论
为什么被折叠?



