System and method for loading hierarchical data into relational database systems
First Claim
Patent Images
1. A method for loading hierarchical data into a first relational table comprising:
- identifying a first node within the hierarchical data corresponding to a first column in the relational table and second node associated with the first node corresponding to data to be stored in a row of the table corresponding to the first column;
creating a record in a first buffer associated with the first relational table; and
copying the record from the first buffer to the first relational table.
6 Assignments
0 Petitions
Accused Products
Abstract
Users and programmers can load semi-structured hierarchical data, such as XML data, of arbitrary size and structure into relational database tables using an schema such as an SQL-annotated XML schema. The schema describes how XML data maps into base tables and fields, including complex one-to-many and many-to-many relationships. The hierarchical data is streamed into the relational database tables in a single operation.
191 Citations
32 Claims
-
1. A method for loading hierarchical data into a first relational table comprising:
-
identifying a first node within the hierarchical data corresponding to a first column in the relational table and second node associated with the first node corresponding to data to be stored in a row of the table corresponding to the first column;
creating a record in a first buffer associated with the first relational table; and
copying the record from the first buffer to the first relational table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method for loading hierarchical data into at least two relational tables, comprising:
-
receiving a schema describing a relationship of nodes in the hierarchical data to at least one column in each of the at least two relational tables;
mapping the hierarchical data based on the schema and creating records from the hierarchical data from nodes associated identified as data to be stored in the at least one column in each of the at least two relational tables; and
streaming the records into the at least two relational tables. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A system for loading hierarchical data into at least two relational tables, comprising:
-
instructions for receiving a schema describing a relationship of nodes in the hierarchical data to at least one column in each of the at least two relational tables;
instructions for mapping the hierarchical data based on the schema and creating records from the hierarchical data from nodes associated identified as data to be stored in the at least one column in each of the at least two relational tables; and
instructions for streaming the records into the at least two relational tables. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32)
-
Specification