SQLServerProfiler--调试死锁跟踪一般的异常很简单,但处理死锁很难,死锁的消息号为1205,严重度为13。从服务器无法得到足够的数据来帮助判断到底发生了什么及为什么会发生这种状况,甚至服务器返回的错误消息也没有价值,这种消息所提供的唯一建议就是可以“重新运行该事务”..
分类:
数据库 时间:
2014-12-12 16:54:17
阅读次数:
310
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:
其他好文 时间:
2014-12-11 23:39:11
阅读次数:
212
题目比较小众,先介绍一下CTP。综合交易平台CTP(Comprehensive Transaction Platform)是由上海期货信息技术有限公司(上海期货交易所的全资子公司)开发的期货交易平台,CTP平台以"新一代交易所系统"的核心技术为基础,稳定、高速、开放式接口,适合程序化交易软件运用和短...
今天生产上有人把几张表给DROP了,一通折腾。恢复备份导数回来数据,重建索引。但是,我就想知道是谁给干掉了。到你被删除表数据库中找日志吧。其它的也想不到更好办法了USE '被删表数据库'--查年那些创建和删除表的用户和时间SELECT [Xact ID],Operation,[Transaction...
分类:
其他好文 时间:
2014-12-10 15:44:09
阅读次数:
149
Spring bean 假设有如下类
public class Service implement IService{
@Transactional(readOnly = false, propagation=Propagation.REQUIRED)
public void methodA(){
.....
methodB()
......
...
分类:
编程语言 时间:
2014-12-09 21:28:23
阅读次数:
278
原网址:http://blog.sina.com.cn/s/blog_670b6d880101deff.html一、术语session 在我的经验里,session这个词被滥用的程度大概仅次于transaction,更加有趣的是transaction和session在某些语境下的含义是相同的。 .....
分类:
编程语言 时间:
2014-12-09 21:18:42
阅读次数:
395
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock),...
分类:
其他好文 时间:
2014-12-09 17:56:20
阅读次数:
171
LoadRunner函数*******************************************************************************LR函数: lr_start_transaction为性能分析标记事务的开始lr_end_transaction为性能...
分类:
其他好文 时间:
2014-12-08 19:27:50
阅读次数:
215
最近工作中碰到了一个奇怪问题,特别做下笔记:user表里的数据,是1,1和2,2,分别为id和name字段。代码如下:importorg.hibernate.Hibernate;importorg.hibernate.Session;importorg.hibernate.SessionFactory;importorg.hibernate.Transaction;importorg.hibernate.cfg.Conf..
分类:
数据库 时间:
2014-12-07 06:54:29
阅读次数:
260
《High Performance MySQL》真是本经典好书,从应用层到数据库到硬件平台,各种调优技巧、常见问题全都有所提及。数据库的各种概念技巧平时都有接触,像索引、分区、Sharding等等,但要想真正提高还是得如此系统学习一下。Chapter 1: MySQL Architecture and History1.1 Transaction Isolation Level事务隔离级别真是个老...
分类:
数据库 时间:
2014-12-06 20:23:42
阅读次数:
413