摘要: 这个等待事件也算一个常见的等待事件。 在warehouse blog和 itpub 上有相关的2个帖子。 连接如下:cursor: pin S wait on X等待事件模拟http://warehouse.itpub.net/post/777/493962cursor: pin S wait on Xhttp://space.itpub.net/756652/viewspace-348176一. Mutex 说明 Oracle Mutex 机制 说明 http://blog.csdn.net/tianlesoftware/archive/2011/05/30/6455517.aspx To. 阅读全文
posted @ 2011-06-16 17:00 hibernate例子 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 在maclean blog 上看到的这篇文章,很不错,转贴过来,原文链接如下:http://www.oracledatabase12g.com/archives/whats-smon-enabling-cache-recovery.html 我们在学习Oracle基础知识的时候会了解到实例恢复(Instance Recovery)或者说崩溃恢复(Crash recovery)的概念,有时候甚至于这2个名词在我们日常的语言中表达同样的意思。 实际上Instance Recovery与Crash Recovery是存在区别的:针对单实例(single instance)或者RAC中所有节点全部崩溃 阅读全文
posted @ 2011-06-16 10:37 hibernate例子 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 一. 创建表并insert 数据create table ta (id number,name varchar2(10));create table tb(id number,job varchar2(10));beginfor i in 1..1000000 loopbegininsert into ta values(i,'dave');commit;end;end loop;end;beginfor i in 1..1000000 loopbeginif i<10 theninsert into tb values(i,'boy');elsif i& 阅读全文
posted @ 2011-06-16 00:57 hibernate例子 阅读(274) 评论(0) 推荐(0) 编辑