在借鉴XRel方法的基础上加入边模型映射思想,提出了一种新的XML文档存储方案.与使用区间编码不同,该方案采用先序编号与路径串结合对文档树中的节点进行编码,然后按照文档中节点类型将XML文档树型结构分解为节点,分别存储到对应的关系中.实验结果表明,该方案在存储、查询性能方面要优于XRel方法,同时有效地支持XML文档更新.
A new storage schema is proposed based on XRel schema, which joins the idea of edge model mapping. Different from region coding, this paper codes the node in XML document via the preorder coding and path string. This schema decomposes the document tree structure into nodes and stores them into the relational table according to the node types. Experimental results have showed that this schema is better than XRel on data storing and querying, and this method also supports the update of XML document efficiently.