摘要: http://dev.mysql.com/doc/refman/5.0/en/innodb-record-level-locks.htmlInnoDB has several types of record-level locks including record locks, gap locks,... 阅读全文
posted @ 2015-12-16 22:48 英雄饶命啊 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 原文: http://dev.mysql.com/doc/refman/5.0/en/innodb-locking-reads.htmlIn some circumstances, a consistent (nonlocking) read is not convenient and a lock... 阅读全文
posted @ 2015-12-16 22:09 英雄饶命啊 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 原文: http://blog.codinglabs.org/articles/theory-of-mysql-index.htmlInnoDB索引实现虽然InnoDB也使用B+Tree作为索引结构,但具体实现方式却与MyISAM截然不同。第一个重大区别是InnoDB的数据文件本身就是索引文件。从上... 阅读全文
posted @ 2015-11-16 15:01 英雄饶命啊 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 原文:http://dev.mysql.com/doc/refman/5.5/en/innodb-next-key-locking.html14.5.2.5Avoiding the Phantom Problem Using Next-Key LockingThe so-called phantom... 阅读全文
posted @ 2015-09-30 17:12 英雄饶命啊 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 14.20.4InnoDB Error HandlingError handling in InnoDB is not always the same as specified in the SQL standard. According to the standard, any error dur... 阅读全文
posted @ 2015-09-14 22:14 英雄饶命啊 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 原文 http://blog.csdn.net/xifeijian/article/details/20313977InnoDB锁问题InnoDB与MyISAM的最大不同有两点:一是支持事务(TRANSACTION);二是采用了行级锁。行级锁与表级锁本来就有许多不同之处,另外,事务的引入也带来了一些... 阅读全文
posted @ 2015-09-11 09:05 英雄饶命啊 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 原文:https://msdn.microsoft.com/en-us/library/jj155757.aspxusing System;using System.Collections.Generic;using System.Diagnostics;using System.IO;using ... 阅读全文
posted @ 2015-09-04 00:32 英雄饶命啊 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 原文: http://www.newtonsoft.com/json/help/html/Performance.htmTo keep an application consistently fast, it is important to minimize the amount of time t... 阅读全文
posted @ 2015-07-28 09:13 英雄饶命啊 阅读(265) 评论(0) 推荐(0) 编辑
摘要: public class JsonpResult : JsonResult { object _data = null; public JsonpResult() { } public JsonpResult(object data) ... 阅读全文
posted @ 2015-06-25 11:21 英雄饶命啊 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 原文:https://msdn.microsoft.com/en-us/data/dn456843.aspxPrior to EF6 Entity Framework insisted on opening the database connection itself (it threw an ex... 阅读全文
posted @ 2015-06-25 09:03 英雄饶命啊 阅读(332) 评论(0) 推荐(0) 编辑