检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]文思海辉技术有限公司西安分公司,陕西西安710075 [2]西安电子科技大学通信工程学院,陕西西安710071
出 处:《计算机技术与发展》2014年第3期97-101,共5页Computer Technology and Development
基 金:国家部委基础科研计划:国防预算基金项目(D1120060967)
摘 要:数据库是网络环境下多用户使用的共享资源,数据库在处理多线程大量数据存取过程中很可能出现死锁现象。文中介绍了Oracle数据库锁机制和死锁发生的原因,Oracle数据库检测死锁采用的相关视图。详细叙述了SQL语句检测死锁、死锁的定位方法和解决数据库死锁的方法。编写了在Linux环境中死锁检测脚本,模拟Oracle数据库死锁测试了脚本的正确性。实际应用表明该方法可以有效监测程序中的主要模块是否发生死锁,而且简单有效。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.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15