数据库事务:数据库事务(Database Transaction)是指作为单个逻辑工作单元执行的一系列操作。事务处理可以确保除非事务性单元内的所有操作都成功完成,否则不会永久更新面向数据的资源。设想网上购物的一次交易,其付款过程至少包括以下几步数据库操作:更新客户所购商品的库存信息保存客户付款信息-...
分类:
数据库 时间:
2014-11-13 20:44:27
阅读次数:
288
1,ceph fileSystemusing the mounted Ceph FS filesystem当我们部署好ceph store cluster(monitor,metadata,object store daemon)当我们部署好ceph store cluster(monitor,me...
分类:
其他好文 时间:
2014-11-13 20:24:20
阅读次数:
327
事情是这样的,在centos6 上本来是python2.6 然后我下载了一个python2.7.5 安装之后,把默认python修改为python2.7.5版本。
使用pip安装twisted的时候出现
CompressionError: bz2 module is not available 错误的。
sof给出的答案基本都是安装 bzip2, bzip2-devel这种...
分类:
编程语言 时间:
2014-11-13 16:37:31
阅读次数:
287
这篇文章和《struts1&&Hibernate Demo1》基本类似,我这里只是拷贝代码了。最核心的代码:LoginAction.javapackage action;import org.hibernate.Session;import org.hibernate.Transaction;imp...
分类:
Web程序 时间:
2014-11-12 22:33:57
阅读次数:
276
WinDbgWinDbg is one of a number of tools available from Microsoft that can be used for debugging Windows guests in XenServer environments.You can get QEMU to passive-open a TCP port on dom0 for serial...
Description
Farmer John recently bought another bookshelf for the cow library, but the shelf is getting filled up quite quickly, and now the only available space is at the top.
FJ has N cows (1 ≤ ...
分类:
其他好文 时间:
2014-11-12 09:21:52
阅读次数:
238
//测试存储二进制文件@Testpublic void test() throws IOException{InputStream in=new FileInputStream("E:\\test.txt");byte[] tblob=new byte[in.available()];in.read...
分类:
数据库 时间:
2014-11-11 20:53:20
阅读次数:
235
出自imysql中文网http://imysql.com/2014/08/30/mysql-faq-howto-monitor-slave-lag.shtml在MySQL复制环境中,我们通常只根据Seconds_Behind_Master的值来判断SLAVE的延迟。这么做大部分情况下尚可接受,但并不...
分类:
数据库 时间:
2014-11-11 20:44:37
阅读次数:
199
一、术语session在我的经验里,session这个词被滥用的程度大概仅次于transaction,更加有趣的是transaction与session在某些语境下的含义是相同的。session,中文经常翻译为会话,其本来的含义是指有始有终的一系列动作/消息,比如打电话时从拿起电话拨号到挂断电话这中...
分类:
其他好文 时间:
2014-11-11 12:19:36
阅读次数:
214