发明名称 Loading XML records into a database
摘要 A method includes receiving a request to store an extensible markup language (XML) document in a repository. The XML document includes a plurality of markup elements. The method includes extracting a plurality of nodes from the XML document. Each node corresponds to a respective one of the plurality of markup elements, and the plurality of nodes are stored in a same memory block. The method further includes determining a set of memory requirements for each node. Each set of memory requirements includes a first memory space required to store a respective node, a second memory space required to store a set of direct child nodes of the respective node, and a third memory space required to store all descendant nodes of the respective node. The method includes storing each node in respective records in the repository based on each corresponding set of memory requirements for each node.
申请公布号 US9135285(B1) 申请公布日期 2015.09.15
申请号 US201313906073 申请日期 2013.05.30
申请人 CA, Inc. 发明人 Johnson Carl Eric;Abernathy William
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Baker Botts L.L.P. 代理人 Baker Botts L.L.P.
主权项 1. A method, comprising: receiving a request to store an extensible markup language (XML) document in a repository, wherein the XML document comprises a plurality of markup elements; extracting a plurality of nodes from the XML document, wherein each node corresponds to a respective one of the plurality of markup elements; determining a set of respective memory requirements for each node, each set of memory requirements comprising: a first memory space required to store a respective node;a second memory space required to store a set of direct child nodes of the respective node; anda third memory space required to store all descendant nodes of the respective node; and loading the XML document into the repository, comprising: loading a first node into a first record;determining whether the memory space of the first record is sufficient to store a second node and descendant nodes of the second node based on the corresponding set of memory requirements of the second node;in response to determining that the memory space of the first record is not sufficient to store the second node and the descendant nodes of the second node, loading the second node into a second record.
地址 New York NY US