计算机与现代化 ›› 2009, Vol. 1 ›› Issue (12): 46-50,5.doi: 10.3969/j.issn.1006-2475.2009.12.013

• 软件工程 • 上一篇    下一篇

数据库访问技术比较研究

魏祖宽1,江利娟1,金在弘2

  

  1. 1.电子科技大学计算机科学与工程学院,四川 成都 610054; 2.永同大学校计算机工学科,韩国 永同 370701
  • 收稿日期:2009-02-09 修回日期:1900-01-01 出版日期:2009-11-27 发布日期:2009-11-27

Comparative Study of Database Access Technologies

WEI Zu-kuan1, JIANG Li-juan1, KIM Jae-hong2

  

  1. 1. School of Computer Science & Engineering, University of Electronic Science and Technology of China, Chengdu 610054, China;2. Department of Computer & Information Engineering, Youngdong University, Yongdong 370701, Korea
  • Received:2009-02-09 Revised:1900-01-01 Online:2009-11-27 Published:2009-11-27

摘要: 给出了基于关系数据库访问的ODBC、DAO、RDO及基于各种数据源访问的ADO、ADO.NET的数据库访问技术,通过对这两类技术进行访问机制分析和性能比较研究,结果表明:当访问关系数据库时,RDO访问速度最快,DAO次之,ODBC最慢;当访问各种数据源时,ADO.NET性能优于ADO,但在执行效率方面,ADO最高,ADO.NET的数据提供者SQL Server.NET次之,OLE DB.NET最慢,为提高ADO.NET执行效率,建议不同数据源宜选用合适的数据提供者;各种访问技术都有其突出的优点及适用范围。

关键词: 数据访问, ADO.NET, ODBC, DAO, RDO

Abstract: Two database access technologies based on ODBC, DAO, RDO of relational database access and ADO, ADO.NET of various data source access are proposed. By comparative study of the two technologies with access theorem and efficiency analysis, the results indicate that, when it visits relational database, the access speed of RDO is quickest, the DAO next best, ODBC is slowest. And when it visits each kind of data sources, efficiency of ADO.NET surpasses ADO, but in executive efficiency ADO is highest, SQL Server.NET data provider for ADO.NET is higher than OLE DB.NET, and in order to enhance executive efficiency of ADO.NET, it suggests that different data source adopts corresponding data provider. And there are outstanding merits and appropriate scope for all kinds of access technologies.

Key words: data access, ADO.NET, ODBC, DAO, RDO

中图分类号: