随笔分类 - mysql
摘要:create table create table test( id INT NOT NULL AUTO_INCREMENT, title VARCHAR(32) NOT NULL, age int , PRIMARY KEY ( id ) ); insert script drop procedu
阅读全文
摘要:Intro RR 隔离级别 `For a unique index with a unique search condition, InnoDB locks only the index record found, not the gap before it. For other search co
阅读全文
摘要:为什么需要垂直拆分 为了提升数据库性能,可以考虑将 blob 和 text 拆分到单独的表中去 垂直拆分为什么可以提升性能 将 blob, text 这些大字段拆分出去后。mysql 底层存储单页可以存储更多 row 记录(其实也多不了多少, 因为 blob 和 text 字段可能只有前 20 个字
阅读全文
摘要:8.4.4 Internal Temporary Table Use in MySQL In some cases, the server creates internal temporary tables while processing statements. Users have no dir
阅读全文

浙公网安备 33010602011771号