Chinaunix首页 | 论坛 | 博客
  • 博客访问: 80465
  • 博文数量: 21
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 220
  • 用 户 组: 普通用户
  • 注册时间: 2014-06-17 11:15
个人简介

The important thing in life is not how long you will live, but whom you are living with.

文章分类

全部博文(21)

文章存档

2022年(1)

2021年(6)

2016年(1)

2015年(2)

2014年(11)

我的朋友

发布时间:2022-09-24 12:51:13

查询数据时,on条件判断列时,如果左表和右表都是null,左边的列会显示,但是右表的列自动删除,默认右表按不匹配处理,需要在on子句修改条件判断为IFNULL(na.`NAME`, 0) = IFNULL(ac.`name`, 0),因为在sql中null!=null,认为不匹配如: ON na.register_time = ac.event_timeAND IFNULL(na.`NAME`, 0) = IFNULL(.........【阅读全文】

阅读(430) | 评论(0) | 转发(0)

发布时间:2014-11-07 12:20:33

[+]   Mysql到底是怎么实现MVCC的?这个问题无数人都在问,但google中并无答案,本文尝试从Mysql源码中寻找答案。  在Mysql中MVCC是在Innodb存储引擎中得到支持的,Innodb为每行记录都实现了三个隐藏字段:6字节的事务ID(DB_TRX_ID )7字节的回滚指针(DB_ROLL_PTR)隐藏的ID.........【阅读全文】

阅读(886) | 评论(0) | 转发(0)

发布时间:2014-11-07 09:54:34

Consistent Nonlocking ReadsA consistent read means that InnoDB uses multi-versioning to present to a query a snapshot of the database at a point in time. The query sees the changes made by transactions that committed before that point of time, and no changes made by later or.........【阅读全文】

阅读(997) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册