System and method for loading hierarchical data into relational database systems
First Claim
Patent Images
1. A method for loading data organized in a hierarchical arrangement into at least two different relational tables, comprising:
- receiving a schema describing a relationship of nodes in the data organized in a hierarchical arrangement to at least one column in each of the at least two different relational tables;
mapping the data organized in a hierarchical arrangement to the at least one column in each of the at least two different relational tables based on the schema and creating in at least two different files where each file is associated with one of at least two different relational tables records from the data organized in a hierarchical arrangement from nodes identified as data to be stored in the at least one column in each of the at least two different relational tables; and
streaming the records into the at least two different relational tables by inserting the records from the at least two different files into corresponding ones of the at least two different relational tables as each record is determined to be complete.
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.
38 Citations
17 Claims
-
1. A method for loading data organized in a hierarchical arrangement into at least two different relational tables, comprising:
-
receiving a schema describing a relationship of nodes in the data organized in a hierarchical arrangement to at least one column in each of the at least two different relational tables; mapping the data organized in a hierarchical arrangement to the at least one column in each of the at least two different relational tables based on the schema and creating in at least two different files where each file is associated with one of at least two different relational tables records from the data organized in a hierarchical arrangement from nodes identified as data to be stored in the at least one column in each of the at least two different relational tables; and streaming the records into the at least two different relational tables by inserting the records from the at least two different files into corresponding ones of the at least two different relational tables as each record is determined to be complete. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for loading data organized in a hierarchical arrangement into at least two different relational tables, comprising:
-
instructions for receiving a schema describing a relationship of nodes in the data organized in a hierarchical arrangement to at least one column in each of the at least two different relational tables; instructions for mapping the data organized in a hierarchical arrangement to the at least one column in each of the at least two different relational tables based on the schema and creating at least two different files where each file is associated with one of at least two different relational tables records from the data organized in a hierarchical arrangement from nodes associated identified as data to be stored in the at least one column in each of the at least two different relational tables; and instructions for streaming the records into the at least two different relational tables by inserting the records from the at least two different files into corresponding ones of the at least two different relational tables as each record is determined to be complete. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
Specification