合流持久集与映射
Confluently Persistent Sets and Maps
摘要:
有序集和映射作为关系数据模型中的索引结构起着重要的作用。当多用户系统中的共享索引被并发修改时,索引的当前状态将分散为多个版本,其中包含在每个工作流中执行的本地修改。当版本应该在提交和刷新操作中融合,以便不同用户执行的修改合并时,就会出现融合持久性问题。Confluently Persistent Sets and Maps是函数式二叉搜索树,在操作数不相交和重叠时都支持有效的集合运算。以散列值作为优先级的Treap属性被维护,并且通过节点的散列consing提供唯一的表示。提出了跳过相等子树检查的无损集合归并算法和基于集合归并的冲突检测归并算法。meld算法用于提交和刷新操作。如果在一个流中有m个修改,总共有n个条目,则操作的预期成本为O(m log(n/m))。
英文摘要:
Ordered sets and maps play important roles as index structures in relational data models. When a shared index in a multi-user system is modified concurrently, the current state of the index will diverge into multiple versions containing the local modifications performed in each work flow. The confluent persistence problem arises when versions should be melded in commit and refresh operations so that modifications performed by different users become merged. Confluently Persistent Sets and Maps are functional binary search trees that support efficient set operations both when operands are disjoint and when they are overlapping. Treap properties with hash values as priorities are maintained and with hash-consing of nodes a unique representation is provided. Non-destructive set merge algorithms that skip inspection of equal subtrees and a conflict detecting meld algorithm based on set merges are presented. The meld algorithm is used in commit and refresh operations. With m modifications in one flow and n items in total, the expected cost of the operations is O(m log(n/m)).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。