A data stream is a real-time, continuous, ordered sequence of items. Some examples include sensor data, Internet traffic, financial tickers, on-line auctions, and transaction logs such as Web usage lo...
分类:
其他好文 时间:
2014-08-01 13:47:14
阅读次数:
235
事务(transaction)是数据库管理系统的执行单位,可以是一个数据库操作(如Select操作)或者是一组操作序列。事务ACID属性,即原子性(Atomicity)、一致性(Consistency)、隔离性(Isolation)、持久性(Durability)。原子性:保证事务中的所有操作全部执行或全部不执行。例..
分类:
数据库 时间:
2014-07-31 21:14:57
阅读次数:
333
前言:朋友咨询我说执行简单的update语句失效,症状如下:mysql> update order_info set province_id=15 ,city_id= 1667 where order_from=10 and order_out_sn='1407261241xxxx';ERROR 1205 (HY000): Lock wait timeout exceeded; try re...
分类:
其他好文 时间:
2014-07-31 13:25:26
阅读次数:
180
Hybrid transaction memory systems and accompanying methods. A transaction to be executed is received, and an initial attempt is made to execute the tr...
分类:
其他好文 时间:
2014-07-31 02:26:35
阅读次数:
309
1.查看当前会话隔离级别select @@tx_isolation;2.查看系统当前隔离级别select @@global.tx_isolation;3.设置当前会话隔离级别set session transaction isolatin level repeatable read;4.设置系统当前...
分类:
数据库 时间:
2014-07-30 23:17:25
阅读次数:
298
// Longest Nap (最长打盹时间)
// PC/UVa IDs: 110404/10191, Popularity: B, Success rate: average Level: 1
// Verdict: Accepted
// Submission Date: 2014-07-28
// UVa Run Time: 0.018s
//
// 版权所有(C)2014,邱秋。meta...
分类:
其他好文 时间:
2014-07-29 14:57:08
阅读次数:
223
1) 检查当前僵尸进程信息# ps -ef | grep defunct | grep -v grep | wc -l175# top | head -2top - 15:05:54 up 97 days, 23:49, 4 users, load average: 0.66, 0.45, 0.39...
分类:
系统相关 时间:
2014-07-29 10:33:06
阅读次数:
363
Greg A. writes,I enjoyed your post on how to not sort by average rating. I was wondering if you have any experience with sorting based on average vote...
分类:
其他好文 时间:
2014-07-28 15:13:13
阅读次数:
261
演示不同隔离级别下的并发问题
1.当把事务的隔离级别设置为read uncommitted ,会引发脏读,不可重复读,虚读
A窗口
start transaction isolation level read uncommitted;
start transaction;
select * from account;
=======这个时候发现aaa的账户是1000元,转到...
分类:
数据库 时间:
2014-07-28 00:08:09
阅读次数:
277