2014年3月14日

摘要: select sql_text --sql文本的前1000个字符 ,first_load_time --初次载入时间 ,last_load_time --最后载入时间 ,s.sql_fulltext --全部sql ,executions --语句的执行次数 ,parse_calls --解析调用次数 ,disk_reads --读磁盘次数 ,sorts --完成的排序数 ,cpu_time --语句被... 阅读全文
posted @ 2014-03-14 16:27 kenwong 阅读(165) 评论(0) 推荐(0)
摘要: PL/SQL-FOR UPDATE 与 FOR UPDATE OF的区别数据库 oracle for update of 和 for update区别select * from TTable1 for update 锁定表的所有行,只能读不能写2 select * from TTable1 where pkid = 1 for update 只锁定pkid=1的行3 select * from Table1 a join Table2 b on a.pkid=b.pkid for update 锁定两个表的所有记录4 select * from Table1 a join Table2 b o 阅读全文
posted @ 2014-03-14 15:52 kenwong 阅读(718) 评论(0) 推荐(0)

导航