OCI9数据库访问接口的改进.pdf

  1. 1、本文档共3页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
OCI9数据库访问接口的改进.pdf

第36 卷 第16 期 计 算 机 工 程 2010 年8 月 Vol.36 No.16 Computer Engineering August 2010 ·软件技术与数据库· 文章编号:1000—3428(2010)16—0042—02 文献标识码:A 中图分类号:TP302 OCI9 数据库访问接口的改进 1 2 2 1 刘 敏 ,费向东 ,胡 术 ,杨 诚 (1. 四川大学计算机学院,成都 610065 ;2. 四川大学图形图像研究所,成都 610064) 摘 要:大型空中交通管制系统中会因频繁连接数据库而导致系统性能下降。为解决上述问题,利用连接池技术对OCI9 数据库访问接口 进行改进,减小数据库连接对象频繁的创建和销毁带来的系统开销,提高系统性能。通过实验证明了该方法的有效性,并成功发现Oracle InstantClient Version 的一个堆栈溢出错误。 关键词:空中交通管制系统;连接池;即时客户端 Improvement of OCI9 Database Call Interface 1 2 2 1 LIU Min , FEI Xiang-dong , HU Shu , YANG Cheng (1. College of Computer Science, Sichuan University, Chengdu 610065; 2. Institute of Image and Graphics, Sichuan University, Chengdu 610064) 【Abstract 】Frequent database connection generally influences the performance of large-scale Air Traffic Control(ATC) system. In order to solve the problem, this paper improves OCI9 database call interface by using connection pool technology, so that the system costs brought by the frequent creating and destroying of database connection object are avoided and the performance of the system is enhanced. Experimental result proves the effectiveness of the method, and a stack overflow error of Oracle InstantClient Version is found. 【Key words 】Air Traffic Control(ATC) system; connection pool; InstantClient 1 概述 int Fetch(int row, bool busethread = false);}; 空中交通管制(Air Traffic Control, ATC)系统需要实时采 开发接口时用到如下 2 个重要的底层类库:CMutexPub 集并处理海量信息,因此,对系统性能有较高的要求。当系

文档评论(0)

docinpfd + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:5212202040000002

1亿VIP精品文档

相关文档