发明授权
- 专利标题: Method and mechanism for loading XML documents into memory
- 专利标题(中): 将XML文档加载到内存中的方法和机制
-
申请号: US11317101申请日: 2005-12-22
-
公开(公告)号: US07933928B2公开(公告)日: 2011-04-26
- 发明人: Sivasankaran Chandrasekar , Nipun Agarwal , Namit Jain , Ravi Murthy
- 申请人: Sivasankaran Chandrasekar , Nipun Agarwal , Namit Jain , Ravi Murthy
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Hickman Palermo Truong & Becker LLP
- 主分类号: G06F7/00
- IPC分类号: G06F7/00 ; G06F17/30 ; G06F12/00
摘要:
A method and apparatus for loading an XML document into memory is provided. A client loads one or more array elements into a first partition of an array that is maintained in memory. Each array element represents an XML element of an XML document. Upon determining that an amount of data maintained in the first partition exceeds a first threshold, the client subsequently loads array elements into a new partition of the array. Upon determining that an amount of data maintained in the memory of the client exceeds a second threshold, the array elements of the least recently used partition are persistently stored in a database without persistently storing the entire XML document. When the last XML element of the XML document is loaded into a partition of the array, that partition is persistently stored in the database, thereby causing the entire XML document to be stored in the database.
公开/授权文献
信息查询