随笔分类 -  database

MySQL 加锁处理分析
摘要:MySQL 加锁处理分析 http://hedengcheng.com/?p=771 MySQL 加锁处理分析 1 背景 1 1.1 MVCC:Snapshot Read vs Current Read 2 1.2 Cluster Index:聚簇索引 3 1.3 2PL:Two-Phase Loc 阅读全文

posted @ 2018-04-27 16:53 andydaopeng 阅读(215) 评论(0) 推荐(0)

SQL优化 csdn
摘要:1.1.1 摘要 在开发过程中,我们不时会遇到系统性能瓶颈问题,而引起这一问题原因可以很多,有可能是代码不够高效、有可能是硬件或网络问题,也有可能是数据库设计的问题。 本篇博文将针对一些常用的数据库性能调休方法进行介绍,而且,为了编写高效的SQL代码,我们需要掌握一些基本代码优化的技巧,所以,我们将 阅读全文

posted @ 2016-11-08 18:54 andydaopeng 阅读(820) 评论(0) 推荐(0)

mysql事务问题
摘要:mysql事务:若mysql 开启事务后START TRANSACTION ,不显示提交commit,则默认自动回滚,而不是默认自动提交。 阅读全文

posted @ 2013-06-25 10:04 andydaopeng 阅读(122) 评论(0) 推荐(0)

Mysql命令行连接
摘要:mysql在线参考手册地址:http://dev.mysql.com/doc/refman/5.1/zh/tutorial.html#connecting-disconnecting在linux平台上连接mysql命令如下:shell> mysql -h host -u user -pEnter p... 阅读全文

posted @ 2013-06-18 18:03 andydaopeng 阅读(428) 评论(0) 推荐(0)

导航