Method and mechanism for loading XML documents into memory
First Claim
1. A method comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of:
- A) sending said instructions over transmission media;
B) receiving said instructions over transmission media;
C) storing said instructions onto a machine-readable storage medium; and
D) executing the instructions;
wherein said instructions are instructions which, when executed by one or more processors, cause;
at a client, storing data representing at least one XML element in a partition maintained in memory, said at least one XML element corresponding to only part of an XML document; and
upon determining that an amount of data maintained in the memory of the client exceeds a threshold, transmitting a request to a database server to store data in the partition in the database.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
109 Citations
9 Claims
-
1. A method comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of:
-
A) sending said instructions over transmission media;
B) receiving said instructions over transmission media;
C) storing said instructions onto a machine-readable storage medium; and
D) executing the instructions;
wherein said instructions are instructions which, when executed by one or more processors, cause;
at a client, storing data representing at least one XML element in a partition maintained in memory, said at least one XML element corresponding to only part of an XML document; and
upon determining that an amount of data maintained in the memory of the client exceeds a threshold, transmitting a request to a database server to store data in the partition in the database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of:
-
A) sending said instructions over transmission media;
B) receiving said instructions over transmission media;
C) storing said instructions onto a machine-readable storage medium; and
D) executing the instructions;
wherein said instructions are instructions which, when executed by one or more processors, cause;
at a client, loading one or more array elements into a partition of an array maintained in memory, wherein each array element, of the one or more array elements, represents an XML element of an XML document; and
upon determining that an amount of data maintained in the memory of the client exceeds a threshold, persistently storing the array elements, of the partition, in a database without persistently storing the entire XML document.
-
Specification