首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 499 毫秒
1.
提出一种基于数据段优先级分区重装策略PRS-DSP,其考虑数据特征及与之相关的事务特点,根据数据段优先级对数据库进行分区,并为每个分区设置相应重装频率,故障恢复时按照数据分区的重装频率来分区重装数据库,系统恢复服务后,根据新事务对数据的请求及数据分区重装频率来设置剩余分区的重装优先级。模拟实验结果表明,该分区重装策略降低了系统事务超截止期比率,其重装性能明显优于完全重装策略。  相似文献   

2.
This paper presents an efficient recovery scheme suitable for real-time main memory database. In the recovery scheme, log records are stored in non-volatile RAM which is divided into four different partitions based on transaction types. Similarly, a main memory database is divided into four partitions based data types. When the using ratio of log store area exceeds the threshold value, checkpoint procedure is triggered. During executing checkpoint procedure, some useless log records are deleted. During restart recovery after a crash, partition reloading policy is adopted to assure that critical data are reloaded and restored in advance, so that the database system can be brought up before the entire database is reloaded into main memory. Therefore down time is obvionsly reduced. Simulation experiments show our recovery scheme obviously improves the system performance,and does a favor to meet the deadlines of real-time transactions.  相似文献   

3.
在探讨并行系统环境中影响实时事务执行时间3个因素:工作负载、数据的获取以及事务调度等的基础上。利用启发策略并采用新的数据迁徙及事务迁徙技术,提出了一种并行实时数据库动态平衡算法.在PRTS系统上实现了该算法,从加速比和实时事务执行成功率两个参数上论证了该算法的可行性和优越性.  相似文献   

4.
提出了一种适合分布式实时内存数据库的、基于日志的故障恢复模式.在该恢复模式中,日志记录被存储在非易失高速存储设备中,非易失日志存储区依据事务类型被分成四个不同的日志分区,不同类型事务的日志被存储在不同的日志分区;采用了执行频率动态可调的模糊检验点模式,在检验点执行过程中,一些无用的日志记录被删除;故障发生后,系统重启、恢复时,分区重装策略被采用;恢复算法结合相关恢复协议,确保了全局事务故障的原子性.实验显示,该故障恢复模式明显地改进了系统性能,提高了实时事务满足截止期的比率.  相似文献   

5.
形式地给出了合作事务定义及事务间由于消息交换而形成的各务间的检验点依赖和恢复依赖,基于这些定义,某一事务记检验点时,所有检验点依赖于该事务也记检验点,当某一事务恢复时,所有恢复依赖于该事务的事务也恢复到其检验点的状态,开发了一种适合于移动环境的事务恢复技术,;在事务正常的消息传送中,通过额外的一点带宽附加传送事务间的依赖关系,在事务记检验点时,尽可能并行地通知所有相关的事务记检验点,实验表明,该事务恢复技术能减少系统检验点的响应时间,提高系统的恢复速度及系统吞吐率,对网络带宽的要求基本没有增加。  相似文献   

6.
Data broadcast is an important data dissemination approach in mobile environment. On broadcast channel, scalability and efficiency of data transmission are satisfied. In a mobile environment, there exists a kind of real-time database application in which both the transactions and data can have their timing constraints and priorities of different levels. In order to meet the requirement of real-time data disseminating and retrieving, a broadcast scheduling strategy HPF-ED F (Highest Priority First with Earlier Deadline and Frequency) is proposed under the BoD (Broadcast on Demand) model. Using the strategy, data items are scheduled according to their priority the transaction imposed on them or system set for them. The strategy also considers other characteristics of data items such as deadline and popularity of data. The extensive simulation experiments have been conducted to evaluate the performance of the proposed algorithm. Results show that it can achieve excellent performance compared with existing  相似文献   

7.
主动实时数据库的数据管理研究   总被引:1,自引:0,他引:1  
讨论主动实时数据库(ARTDB)系统中数据和事务的特征及其对数据与日志的安置、日志记录和数据库恢复的影响,进而给出了一个合理的数据与日志的安置策略  相似文献   

8.
基于EDF的实时数据库动态容错调度算法   总被引:1,自引:0,他引:1  
实时数据库系统的事务调度过程中,对于即将完成的事务的抢占会造成CPU时间的浪费,降低系统的性能.针对实时数据库中的周期性实时事务提出了一种PEA(preemptive estimate algorithm)软件容错调度算法,算法基于EDF(earliest deadline first)进行事务调度,并结合负载优化算法进行适当调整,采用抢占评估策略来确定是否允许事务抢占,以最大化系统的资源利用率.通过实验测试,证明其具有良好的性能,能有效提高事务的成功率.  相似文献   

9.
提出了实时主动数据库系统实时多版本两阶段封锁并发控制协议(RTMV2PL). 该协议将多版本并发控制的优点和两阶段封锁并发控制机制优点结合起来. 多版本两阶段封锁机制消除了只读事务和更新事务的冲突, 只读事物从不重启动. 对实时主动数据库系统的事务优先级重新定义. 通过模拟仿真与传统的HP2PL和OCC-TI-WAIT-50协议进行比较. 研究结果表明, 并发控制协议不但能有效地降低事务的重启动率和延误截止时间率, 而且提高只读事物的响应时间. 当事务触发率高, 导致系统负载高时, 它的性能仍比其他协议的性能好.  相似文献   

10.
The search operation of spatial data was a principal operation in existent spatial database management system, but the update operation of spatial data such as tracking are occurring frequently in the spatial database management system recently. So, necessity of concurrency improvement among transactions is increasing. In general database management system, many techniques have been studied to solve concurrency problem of transaction. Among them, multi-version algorithm does to minimize interference among transactions. However, to apply existent multi-version algorithm to improve concurrency of transaction to spatial database management system, the waste of storage happens because it must store entire version for spatial record even if only aspatial data of spatial record is changed. This paper has proposed the record management techniques to managese parating aspatial data version and spatial data version to decrease waste of storage for record version and improve concurrency among transactions.  相似文献   

11.
The search operation of spatial data was a principal operation in existent spatial database management system, but the update operation of spatial data such as tracking are occurring frequently in the spatial database management system recently. So, necessity of concurrency improvement among transactions is increasing. In general database management system, many techniques have been studied to solve concurrency problem of transaction. Among them, multi-version algorithm does to minimize interference among transactions. However, to apply existent multi-version algorithm to improve concurrency of transaction to spatial database management system, the waste of storage happens because it must store entire version for spatial record even if only aspatial data of spatial record is changed. This paper has proposed the record management techniques to manage separating aspatial data version and spatial data version to decrease waste of storage for record version and improve concurrency among transactions.  相似文献   

12.
0 IntroductionThe real-ti me database system(RTDBS) is usually ap-pliedto the safety-critical applications .Inthese applica-tions,besides the ti ming constraints ,it is essential to preventunlawful information flows between different transactions .The traditional real-ti me concurrency protocols such as two-phase locking high priority (2PL-HP)[1], priority ceiling(PC)[2], OPT-WAIT[3], OPT-SACRIFICE[4], etc ., con-centrate on how to mini mize the missing deadlines ratio oftransactio…  相似文献   

13.
根据主动实时数据库所特有的时间要求给出了主动实时嵌套事务的结构模型和语义模型,对该模型下事务的ACID特性进行了扩充,并提出了基于内存数据拷贝版本的主动实时嵌套事务的实现策略。该策略提高了主动实时环境下复杂内部的的并发性,使复杂事务满足其截止期的可能性得到提高。  相似文献   

14.
一种实时数据库系统的多版本两段锁的并发控制协议   总被引:2,自引:0,他引:2  
详细讨论了与并发控制有关的实时数据和实时事务的各种特征以及分类,主要包括:实时数据对象可分为映像对象、导出对象和不变对象;实时事务按功能分类可分为数据接收事务、数据处理事务和控制事务;数据接收事务和控制事务是硬实时事务,是不能等待和阻塞的.然后,根据这些特点对传统数据库系统的多版本并发控制机制进行了扩展,提出了实时数据库系统的多版本两段锁及多版本带夭折两段锁协议,且证明了两者都是冲突可串行化的.前者对于只读事务是没有延迟的,对于硬实时事务的延迟也很小;后者对硬实时事务不产生任何延迟,这两个协议都能较好地保证实时事务和实时数据的定时限制.  相似文献   

15.
多库系统失败恢复的研究   总被引:3,自引:0,他引:3  
本文分析由成员自治和数据库共亨引起的多库系统失败恢复的特殊问世,提出一种失败恢复方法,这种方法利用全局日志和场地恢复期间的屏蔽技术,以较小代价和较少限制保证全局数据库的一致性。  相似文献   

16.
由于移动环境的移动性、频繁的断连性、无线网络的低带宽等固有特点,对移动数据库中数据的传播、组织、存取和管理提出了新的挑战。本文提出一种检查点恢复协议,移动主机可独立地进行检查点操作并可进行异步恢复;同时在传统通信模型的基础上,采用了同一小区下移动主机之间交换的消息不用移动支持站转发。最后用算法证明了协议的正确性以及错误恢复快的优点。  相似文献   

17.
本文给出了一种无夭折事务的死锁处理方法,由于这类死锁是由只读(查询)事务的参于而引起的,而在实际中只读事务往往占绝大多数,所以本方法将在很大程度上提高系统的事务处理效率。  相似文献   

18.
为改善分布式主动实时数据库事务处理的可预测性,提出了一种新的基于树的事务语义模型,并基于该模型提出了一个分布式主动实时事务预分析处理与动态预测的集成框架,包括事务生成时的静态预分析、事务接纳时的初始动态预分析和事务运行阶段的即席分析与预测,它可以有效地支持分布式主动实时事务的静动结合分析,改善事务处理的实时性能.  相似文献   

19.
The problem of maintaining data consistency in mobile broadcast environments is researched.Quasi serializability is formally defined and analyzed at first.It was shown that quasi serializability is less stringent than serializability when database consistency is maintained for transactions.Then,corresponding concurrency control protocol that supports both update transactions and read-only transactions is outlined for mobile broadcast environments.Finally,the simulation results confirmed that the proposed protocol could improve the response time significantly.  相似文献   

20.
在分布数据库中,一个数据项可在多个结点上放有考贝,这是增加系统可靠性与效率的有效手段。但系统必须维护考贝之间的相互一致性。在通常情况下,相互一致性是可以保持的。但在结点失效时,如不特殊处理,事务就有可能破坏相互一致性,发生不一致的引用从而产生错误的结果。为此,我们以基本2PL作为分布式数据的并发控制机制,设计了一个结点失败时的多考贝管理算法,它可使系统在结点失败时正常运行,产生出正确的结果。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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