一、术语session session这个词被滥用的程度大概仅次于transaction,更加有趣的是transaction与session在某些语境下的含义是相同的。 ? session,中文经常翻译为会话,其本来的含义是指有始有终的一系列动作/消息...
分类:
其他好文 时间:
2014-08-04 14:50:07
阅读次数:
257
代码如下:Backup Log DNName with no_log '这里的DNName是你要收缩的数据库名,自己注意修改下面的数据库名,我就不再注释了。godump transaction DNName with no_log goUSE DNNameDBCC SHRINKFILE (2)Go
分类:
数据库 时间:
2014-08-01 18:57:32
阅读次数:
237
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
演示不同隔离级别下的并发问题
1.当把事务的隔离级别设置为read uncommitted ,会引发脏读,不可重复读,虚读
A窗口
start transaction isolation level read uncommitted;
start transaction;
select * from account;
=======这个时候发现aaa的账户是1000元,转到...
分类:
数据库 时间:
2014-07-28 00:08:09
阅读次数:
277
uvm_transaction继承自uvm_object,添加了timing和recording接口,该类是uvm_sequence_item的基类。下边将做剖析1.这个类提供了时间戳属性(timestamp properties),通知事件(notification events),和交易记录(t...
分类:
其他好文 时间:
2014-07-27 23:16:10
阅读次数:
558