###
DOI:
计算机系统应用英文版:2010,19(5):187-190
本文二维码信息
码上扫一扫!
基于OCI9的数据库访问接口的改进与实现
(1.四川大学 计算机学院 四川 成都 610065;2.四川大学 图形图像研究所 四川 成都 610064)
Improvement and Implementation of Database Access Interface Based on OCI9
摘要
图/表
参考文献
相似文献
本文已被:浏览 2171次   下载 3748
Received:August 15, 2009    Revised:September 03, 2009
中文摘要: 设计并实现了一种基于OCI9的数据库访问接口。接口采用双条件变量机制,来解决数据库异常时函数长时间阻塞问题。同时,针对在网线断开时重连数据库会出现的内存增加的问题,提出了二次连接检测的解决方案。最后通过实验验证该数据库访问接口的应用效果。
Abstract:A database access interface based on OCI9 is designed and implemented. Double conditional variable mechanism is presented in the interface to resolve the long time blocking problem caused by function when some anomalies occur in the database. Secondly, when the net wire is pulled out, the database reconnection will have a problem of the increase in memory. To avoid it, a solution of double detections of connection is put forward. Finally, experiments are made to test the application effect of the database access interface.
文章编号:     中图分类号:    文献标志码:
基金项目:国家高技术研究发展计划(863)(2006AA12A104)
引用文本:
徐薇,胡术,杨诚.基于OCI9的数据库访问接口的改进与实现.计算机系统应用,2010,19(5):187-190
XU Wei,HU Shu,YANG Cheng.Improvement and Implementation of Database Access Interface Based on OCI9.COMPUTER SYSTEMS APPLICATIONS,2010,19(5):187-190