Generating a schema-specific load structure to load data into a relational database based on determining whether the schema-specific load structure already exists
First Claim
1. A method of storing data into a database, comprising:
- identifying the data to load into the database, wherein the data is associated with a schema information;
identifying the schema information for the data;
determining whether the schema information and a schema-specific load structure that are used to load the data into the database already exist;
acquiring the schema information from the data based on a first criteria, wherein the first criteria is associated with determining whether the schema information already exists;
generating an in memory representation of the schema information to load the data into the database based on the first criteria;
generating the schema-specific load structure to load the data into the database based on a second criteria, wherein the second criteria is associated with determining whether the schema-specific load structure already exists; and
storing the generated schema information and schema-specific load structures for subsequent loads of the data.
1 Assignment
0 Petitions
Accused Products
Abstract
Described is a method and system for storing data into a database, where a determination is made if schema metadata that is used to load the data into the database already exists, and where the existing schema metadata is used to load the data into the database if the schema metadata already exists. If the appropriate schema metadata does not exist, then it is generated and cached so that a later load operation for the same schema type will not need to re-generate this information. In this way, the cost to generate the schema metadata is amortized over multiple load operations to load data of the same schema type. The approach is protocol neutral so that multiple different protocol-based loads can operate with the same schema metadata information and load structures.
119 Citations
24 Claims
-
1. A method of storing data into a database, comprising:
-
identifying the data to load into the database, wherein the data is associated with a schema information; identifying the schema information for the data; determining whether the schema information and a schema-specific load structure that are used to load the data into the database already exist; acquiring the schema information from the data based on a first criteria, wherein the first criteria is associated with determining whether the schema information already exists; generating an in memory representation of the schema information to load the data into the database based on the first criteria; generating the schema-specific load structure to load the data into the database based on a second criteria, wherein the second criteria is associated with determining whether the schema-specific load structure already exists; and storing the generated schema information and schema-specific load structures for subsequent loads of the data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A system for storing data into a database, comprising:
-
means for identifying the data to load into the database, wherein the data is associated with a schema information; means for identifying the schema information for the data; means for determining whether the schema information and a schema-specific load structure that are used to load the data into the database already exist, wherein the means for determining comprises a processor; means for acquiring the schema information from the data based on a first criteria, wherein the first criteria is associated with the means for determining whether the schema information already exists; means for generating an in memory representation of the schema information to load the data into the database based on the first criteria; means for generating the schema-specific load structures to load the data into the database based on a second criteria, wherein the second criteria is associated with the means for determining whether the schema-specific load structure already exists; and means for storing the generated schema information and schema-specific load structures for subsequent loads of the data.
-
-
24. A computer program product comprising a volatile or non-volatile computer storage medium having executable code to execute a process for storing data into a database, the process comprising:
-
identifying the data to load into the database, wherein the data is associated with a schema information; identifying the schema information for the data; determining whether the schema information and a schema-specific load structure that are used to load the data into the database already exist; acquiring the schema information from the data based on a first criteria, wherein the first criteria is associated with determining whether the schema information already exists; and generating an in memory representation of the schema information to load the data into the database based on the first criteria; generating the schema-specific load structures to load the data into the database based on a second criteria, wherein the second criteria is associated with determining whether the schema-specific load structure already exits; and storing the generated schema information and schema-specific load structures for subsequent loads of the data.
-
Specification