System and Method to Transform a Complex Database Into a Simple, Faster, and Equivalent Database
First Claim
Patent Images
1. A method for transforming a database comprising a plurality of tables into a simple database, comprising:
- providing a first table, said first table having an index column, a name column, a value column;
providing a second table, said second table having an index column and an elements column;
creating a second table entry in the second table for each row of each table of the database;
for each table of the plurality of tables, determining which cells include references to other tables in the plurality of tables;
for each cell of each table of the database which does not include a reference to other tables in the plurality of tables;
creating a first table entry in the first table, wherein the name column includes a column heading of the cell, the value column includes a value of the cell, the first table entry having an index; and
updating the second table entry to include the index of the first table entry; and
for each cell of each table of the database which does include a reference to other tables in the plurality of tables;
determining a reference entry in the second table, the reference entry corresponding to the reference;
creating a first table entry in the first table, wherein the name column includes a column heading of the cell, the value column includes the index of the reference entry, the first table entry having an index; and
updating the second table entry to include the index of the first table entry.
2 Assignments
0 Petitions
Accused Products
Abstract
There is provided a system and method for representing complex databases having an arbitrary number of tables with a simple database comprising at least two tables, in which each attribute of each object is represented in a first table and in which each object is represented as a list of attributes in a second table. There is also provided a method for converting a complex database in a simple database.
25 Citations
13 Claims
-
1. A method for transforming a database comprising a plurality of tables into a simple database, comprising:
-
providing a first table, said first table having an index column, a name column, a value column; providing a second table, said second table having an index column and an elements column; creating a second table entry in the second table for each row of each table of the database; for each table of the plurality of tables, determining which cells include references to other tables in the plurality of tables; for each cell of each table of the database which does not include a reference to other tables in the plurality of tables; creating a first table entry in the first table, wherein the name column includes a column heading of the cell, the value column includes a value of the cell, the first table entry having an index; and updating the second table entry to include the index of the first table entry; and for each cell of each table of the database which does include a reference to other tables in the plurality of tables; determining a reference entry in the second table, the reference entry corresponding to the reference; creating a first table entry in the first table, wherein the name column includes a column heading of the cell, the value column includes the index of the reference entry, the first table entry having an index; and updating the second table entry to include the index of the first table entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory computer readable medium having stored thereon a database, the database comprising:
-
a first table having an index column, a value column, and an attribute column; a second table having an index column and an elements column; wherein each row of the second table defines an object, the object corresponding to the set of entries in the first table referenced in the elements column. - View Dependent Claims (12, 13)
-
Specification