Abstract:
Traditional XML database concurrency control protocols are almost based on the path locking model of XML document tree and it can not provide high concurrency. Aiming at this problem, this paper proposes an XML database concurrency control based on local path locking model. This protocol goes on node coding based XML, uses the scan function to judge the locking status of the target node ancestor and descendant, locks the target node or its parent node according to the operation type to reduce the frequent request for lock, improves concurrency for transaction and realizes the efficient management for large-scale XML data.
Key words:
node coding,
local path locking,
XML database concurrency control
摘要: 传统XML数据库并发控制协议大多采用基于XML文档树的路径加锁方式,并发度不高。针对该问题,提出一种基于局部路径加锁模型的XML数据库并发控制协议。该协议基于XML的节点编码,利用查询函数对目标节点的祖先后裔加锁情况进行快速判断,并根据操作类型对目标节点或者其父节点进行加锁,从而减少对锁的频繁请求,提高事务并发度以及实现大规模XML数据的有效管理。
关键词:
节点编码,
局部路径加锁,
XML数据库并发控制
CLC Number:
KANG Hong, YUAN Xiao-Ji, HUANG E-Lou, HUANG Xiao-Cheng, GUAN Ying. XML Concurrency Control Protocol Based on Local Path Locking[J]. Computer Engineering, 2010, 36(21): 7-10.
康宏, 袁晓洁, 黄亚楼, 黄晓骋, 官莹. 基于局部路径加锁的XML并发控制协议[J]. 计算机工程, 2010, 36(21): 7-10.