节点文献

ADO.NET中的数据并发控制

【作者】 张扬

【导师】 徐洁; 裴家骥;

【作者基本信息】 电子科技大学 , 软件工程, 2010, 硕士

【摘要】 在数据库系统中,数据访问技术从连接模型发展到断开连接模型。断开连接访问模型技术自身的优点为有别于传统严格一致的可串行化并发控制协议提供了必要性和可能性。通过剖析断开连接数据访问模型ADO.NET基础上,提出了一种基于时间戳验证的两阶段封锁多版本并发控制协议。该协议解决了在断开连接访问模型下网络数据库系统的并发访问异常,保证了数据的一致性,提高了系统的性能和并发度。数据集作为ADO.NET对象模型的标志,作为一个不连接的数据源的副本提供服务.虽然使用数据集通过减少对数据库服务器的高花费的访问而提高了性能,但是它也带来了多个用户试图同时访问相同数据的可能性.现在,ADO.NET通过"开放式并发"的方法灵活地解决了该问题.本文说明了该方法的工作原理以及如何使应用程序在具有高度可伸缩性的环境中变得更加健壮.本程序就是在.NET平台下,利用ADO.NET的一些特点从而对数据的并发控制的提出一些比较有效的方法。利用事务和ADO.NET中为数据并发提供的一个异常处理的对象(DBConcurrencyException)能够比较好的控制并发。

【Abstract】 Data access technology develops from connection model to disconnection model in the database system。The advantage of the disconnect data access model technology is to make serializable concurrency control protocol possible, which differs from the traditional one , In anatomy of ADO.NET, a timestamp validation-base two-phase locking multi version protocol is presented. The protocol resolves concurrent-access anomalies under the disconnection data access model ,ensures data consistency and improve performance and concurrency degree.DataSet as a symbol of ADO.NET object model ,it is not connected the data source to provide the services。It reduce the high cost of access the database and improve performance, but it also bring a number of problems. As if a user attempts to access the same data at the same time。Now ADO.NET through optimistic concurrency approach to solution the problems。This article describle the principle of the method。This program is using the .NET platform, It using some features of ADO.NET to control the concurrency of ADO.NET, The program of design try catch and transaction features to increase the Data concurrency。

【关键词】 ADO.NET时间戳验证数据集抓抛模型事务
【Key words】 ADO.NETtimestamp validationDataSettry catch modeltransaction
  • 【分类号】TP311.13
  • 【下载频次】108
节点文献中: 

本文链接的文献网络图示:

本文的引文网络