首页 | 本学科首页   官方微博 | 高级检索  
     

基于OCI9的数据库访问接口的改进与实现
引用本文:徐薇,胡术,杨诚.基于OCI9的数据库访问接口的改进与实现[J].计算机系统应用,2010,19(5):187-190.
作者姓名:徐薇  胡术  杨诚
作者单位:1. 四川大学计算机学院,四川,成都,610065
2. 四川大学图形图像研究所,四川,成都,610064
基金项目:国家高技术研究发展计划(863)(2006AA12A104)
摘    要:设计并实现了一种基于OC19的数据库访问接口。接口采用双条件变量机制,来解决数据库异常时函数长时间阻塞问题。同时,针对在网线断开时重连数据库会出现的内存增加的问题。提出了二次连接检测的解决方案。最后通过实验验证该数据库访问接口的应用效果。

关 键 词:空管系统  ORACLE调用接口  阻塞/非阻塞  双条件变量  内存增加  二次连接检测
收稿时间:2009/8/15 0:00:00
修稿时间:9/3/2009 12:00:00 AM

Improvement and Implementation of Database Access Interface Based on OCI9
XU Wei,HU Shu and YANG Cheng.Improvement and Implementation of Database Access Interface Based on OCI9[J].Computer Systems& Applications,2010,19(5):187-190.
Authors:XU Wei  HU Shu and YANG Cheng
Affiliation:XU Wei1,HU Shu2,YANG Cheng1(1.Department of Computer,Sichuan University,Chengdu 610065,China,2.Institute of Image , Graphics,Chengdu 610064,China)
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.
Keywords:ATC system  OCI  blocking/non-blocking  double conditional variable  increase in memory  double detections of connection
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号