[1]姜文,刘立康.Oracle数据库死锁问题研究[J].计算机技术与发展,2014,24(03):97-101.
 JIANG Wen[],LIU Li-kang[].Research on Deadlock of Oracle Database[J].,2014,24(03):97-101.
点击复制

Oracle数据库死锁问题研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
24
期数:
2014年03期
页码:
97-101
栏目:
智能、算法、系统工程
出版日期:
2014-03-31

文章信息/Info

Title:
Research on Deadlock of Oracle Database
文章编号:
1673-629X(2014)03-0097-05
作者:
姜文1刘立康2
1.文思海辉技术有限公司西安分公司;2.西安电子科技大学 通信工程学院
Author(s):
JIANG Wen[1]LIU Li-kang[2]
关键词:
Oracle数据库数据库锁死锁
Keywords:
Oracle databasedatabase locksdeadlock
分类号:
TP311
文献标志码:
A
摘要:
数据库是网络环境下多用户使用的共享资源,数据库在处理多线程大量数据存取过程中很可能出现死锁现象。文中介绍了Oracle数据库锁机制和死锁发生的原因,Oracle数据库检测死锁采用的相关视图。详细叙述了SQL语句检测死锁、死锁的定位方法和解决数据库死锁的方法。编写了在Linux环境中死锁检测脚本,模拟Oracle数据库死锁测试了脚本的正确性。实际应用表明该方法可以有效监测程序中的主要模块是否发生死锁,而且简单有效。
Abstract:
The database is a shared resource of multi-user in network environment,database deadlock phenomenon is likely to occur in multi-threaded process by large amounts of data access. Introduce the Oracle database locking mechanism and the causes the deadlock oc-curs,the Oracle database detects the related views deadlock uses. A detailed description is conducted for the SQL states the deadlock de-tection,the positioning method of deadlock and the resolution of the database deadlock. Compiled the deadlock detection script in the Linux environment,simulate the Oracle database deadlock to test the correctness of the script. Practical application shows that the script can be effective monitoring whether the program's main module is deadlock or not,with simplicity and effectiveness.

相似文献/References:

[1]聂红梅 赵建民.Oracle数据库中Clob大字段的查询优化技术研究[J].计算机技术与发展,2006,(08):97.
 NIE Hong-mei,ZHAO Jian-min.Research of Optimum Query Technology on Clob Big Segment in Oracle Database[J].,2006,(03):97.
[2]张辉 赵郁亮 徐江 孙伟华.基于Oracle数据库海量数据的查询优化研究[J].计算机技术与发展,2012,(02):165.
 ZHANG Hui,ZHAO Yu-liang,XU Jiang,et al.Query Optimization Research on Mass of Data Based on Oracle Database[J].,2012,(03):165.

更新日期/Last Update: 1900-01-01