2019年7月10日

MySQL有哪些存储引擎,各自的优缺点,应用场景

摘要: http://youzhixueyuan.com/advantages-and-disadvantages-of-mysql-storage-engine.html 阅读全文

posted @ 2019-07-10 17:01 raoziming 阅读(401) 评论(0) 推荐(0) 编辑

MySQL慢查询优化、索引优化、以及表等优化总结

摘要: http://youzhixueyuan.com/mysql-slow-query-optimization-index-optimization.html 阅读全文

posted @ 2019-07-10 16:15 raoziming 阅读(106) 评论(0) 推荐(0) 编辑

Redis缓存和MySQL数据一致性方案详解

摘要: http://youzhixueyuan.com/redis-cache-and-mysql-data-consistency.html 阅读全文

posted @ 2019-07-10 15:56 raoziming 阅读(499) 评论(0) 推荐(0) 编辑

事物特性

摘要: ACID 1.原子、一致、持久、隔离 事物级别 2.1默认 、每种数据库不一样 select @@tx_isolation查看 2.2读未提交 2.3读已提交 2.4串行化 阅读全文

posted @ 2019-07-10 15:36 raoziming 阅读(135) 评论(0) 推荐(0) 编辑

Union和union all区别?

摘要: 恢复内容开始 UNION用的比较多union all是直接连接,取到得是所有值,记录可能有重复 union 是取唯一值,记录没有重复 1、UNION 的语法如下: [SQL 语句 1] UNION [SQL 语句 2]2、UNION ALL 的语法如下: [SQL 语句 1] UNION ALL [ 阅读全文

posted @ 2019-07-10 11:19 raoziming 阅读(82) 评论(0) 推荐(0) 编辑

Join(inner、left、right)的区别?

摘要: left join(左联接) 返回包括左表中的所有记录和右表中联结字段相等的记录。 select * from app01_publisher left join app01_book on app01_publisher.id = app01_book.publish_id 阅读全文

posted @ 2019-07-10 11:16 raoziming 阅读(377) 评论(0) 推荐(0) 编辑

导航