![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
戈里
这个作者很懒,什么都没留下…
展开
-
电商数据库设计之MySQL 数据库设计规范
电商数据库设计 mysql 数据库设计规范原创 2017-09-11 22:54:06 · 11379 阅读 · 0 评论 -
MySQL 索引
https://www.cnblogs.com/luyucheng/p/6289714.html 原文链接MySQL 索引类型主要有以下几种类型普通索引主键索引唯一索引组合索引全文索引普通索引它是最基本的索引,没有什么其他的限制,它的创建方式有以下几种直接创建索引create index index_name on table(col_name [length])...转载 2019-03-09 21:06:43 · 148 阅读 · 0 评论 -
使用 MySQL的行锁要注意的地方
使用 Innodb 引擎主键明确 与否主键明确 where id = #{id} for update 行锁主键不明确 where id <> #{ id} for update 发生表锁主键不明确 where id like #{id} for update 发生表锁无主键 where name =#{name} for update name 不是主键...原创 2019-04-01 22:11:09 · 610 阅读 · 0 评论