System for accessing database tables mapped into memory for high performance data retrieval
First Claim
Patent Images
1. A method of accessing a database, comprising:
- placing information extracted from the database into a first data structure in a storage device, wherein the first data structure is in a master file and the second data structure is in an incremental file; and
updating the information in the storage device periodically or when requested when a change in the information occurs in the database by placing the updated information into a second data structure in the storage device which is linked to the first data structure; and
wherein the first data structure and the second data structure are linked by a third data structure, which is in an index file; and
wherein the placing information extracted from the database into a first data structure in the storage device comprises;
creating a first system query language statement;
extracting information from the database using the system first query language statement;
sorting the extracted information based on primary key;
placing the sorted information into the master file in the storage device; and
sending a message to said plurality of application programs that the master file has been created.
3 Assignments
0 Petitions
Accused Products
Abstract
A system and method that enables quick access to large volumes of data on a realtime basis and is totally transparent to application programs that use the data. This is accomplished by placing information extracted from the database into a master file stored in a data storage device and then loaded into memory for access by application programs. When information in the database changes the corresponding information is updated using an incremental file and an index file that are then loaded into memory for access by application programs. The master file, index file and incremental file are linked in such as fashion to enable quick access to data desired.
91 Citations
21 Claims
-
1. A method of accessing a database, comprising:
-
placing information extracted from the database into a first data structure in a storage device, wherein the first data structure is in a master file and the second data structure is in an incremental file; and
updating the information in the storage device periodically or when requested when a change in the information occurs in the database by placing the updated information into a second data structure in the storage device which is linked to the first data structure; and
wherein the first data structure and the second data structure are linked by a third data structure, which is in an index file; and
wherein the placing information extracted from the database into a first data structure in the storage device comprises;
creating a first system query language statement;
extracting information from the database using the system first query language statement;
sorting the extracted information based on primary key;
placing the sorted information into the master file in the storage device; and
sending a message to said plurality of application programs that the master file has been created. - View Dependent Claims (2, 3, 4, 5)
placing the data contained in the master file, the index file and the incremental file into memory for access by a plurality of application programs.
-
-
3. A method of accessing a database as recited in claim 2, further comprising:
updating the information in memory when an incremental extraction is done.
-
4. A method of accessing a database as recited in claim 3, wherein the updating the information in the storage device periodically or when requested when a change in the information occurs in the database, further comprises:
-
creating a second system query language statement;
extracting information from the database using the second system query language statement;
extracting update information from a table indicating by key which information of the extracted database information has been updated, added or deleted;
converting the extracted information and the extracted update information into update data structures;
sorting the update data structures by primary key;
comparing the update data structures to the master file;
creating another index file based on the comparison of the update data structures to the master file;
creating another incremental file based on the master file and the index file; and
sending a message to said plurality of application programs that another index file and another incremental file have been created.
-
-
5. A method of accessing a database as recited in claim 4, wherein the information can be effective dated data and accessed by effective date.
-
6. A method of accessing a database, comprising:
-
creating a first system query language statement;
extracting information from the database using the system first query language statement;
sorting the extracted information based on primary key;
placing the sorted information into a master file in a data storage device;
sending a message to a plurality of application programs that the master file has been created; and
updating the information in the data storage device periodically or when requested when a change in the information occurs in the database, comprising;
creating a second system query language statement;
extracting information from the database using the second system query language statement;
extracting update information from a table indicating by key which information of the extracted database information has been updated, added or deleted;
converting the extracted information and the extracted update information into update data structures;
sorting the update data structures by primary key;
comparing the update data structures to the master file;
creating another index file based on the comparison of the update date structures to the master file;
creating another incremental file based on the master file and the index file; and
sending a message to said plurality of application programs that another index file and another incremental file have been created.
-
-
7. A system to access a database, comprising:
-
an Xref storage manager to extract on-the-fly information from the database and place the information into a first data structure in a storage device and to update on-the-fly the information in the storage device periodically or when requested when a change in the information occurs in the database by placing the updated information into a second data structure in the data storage device which is linked to the first data structure;
wherein the information extracted from the database is convertible to different data formats and different data values; and
wherein the first data structure is in a master file and the second data structure is in an incremental file;
a plurality of application programs;
a Xref Interface to interface with the plurality of application programs and retrieve information stored in the master file and incremental file requested by the plurality of application programs;
wherein the first data structure and the second data structure are linked by a third data structure which is in an index file; and
wherein the Xref Storage Manager creates a system query language statement and uses this system query language statement to retrieve the information from the database, wherein the Xref Storage Manager sorts the extracted information based on primary key and places the sorted information into the master file in the storage device, and wherein the Xref Storage Manager sends a message to said plurality of application programs that the master file has been created. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A computer program embodied on a computer-readable medium to access a database, comprising:
-
an Xref storage manager code segment to extract information from the database and place the information into a first data structure in a data storage device and to update the information in the data storage device periodically or when requested when a change in the information occurs in the database by placing the updated information into a second data structure in data storage device which is linked to the first data structure, wherein the first data structure is in a master file and the second data structure is in an incremental file; and
wherein the information extracted from the database is convertible to different data formats and different data values;
a plurality of application program code segments;
a Xref Interface code segment to interface with the plurality of application programs and retrieve information stored in the master file and incremental file requested by the plurality of application programs;
wherein the first data structure and the second data structure are linked by a third data structure which is in an index file; and
wherein the Xref Storage Manager code segment creates a system query language statement and uses this system query language statement to retrieve the information from the data, wherein the Xref Storage Manager code segment sorts the extracted information based on primary key and places the sorted information into the master file, and wherein the Xref Storage Manager code segment sends a message to said plurality of application programs that the master file has been created. - View Dependent Claims (13, 14, 15)
-
-
16. A method of accessing a database, comprising:
-
placing information extracted from the database into a first data structure in a storage device, wherein said placing comprises creating a first system query language statement, extracting information from the database using the system first query language statement, sorting the extracted information based on primary key, placing the sorted information into the master file in the storage device, and sending a message to said plurality of application programs that the master file has been created; and
updating the information in the storage device periodically or when requested when a change in the information occurs in the database by placing the updated information into a second data structure in the storage device which is linked to the first data structure, wherein the first data structure and second data structures are tables, wherein the first data structure is a master file and the second data structure is an incremental file, wherein the first data structure and second data structure are accessible by a plurality of application programs, wherein the first data structure and the second data structure are linked by a third data structure that is an index file. - View Dependent Claims (17, 18, 19, 20)
placing the data contained in the master file, the index file and the incremental file into memory for access by a plurality of application programs.
-
-
18. A method of accessing a database as recited in claim 17, further comprising:
updating the information in memory when an incremental extraction is done.
-
19. A method of accessing a database as recited in claim 18, wherein the updating the information in the storage device periodically or when requested when a change in the information occurs in the database, further comprises:
-
creating a second system query language statement;
extracting information from the database using the second system query language statement;
extracting update information from a table indicating by key which information of the extracted database information has been updated, added or deleted;
converting the extracted information and the extracted update information into update data structures;
sorting the update data structures by primary key;
comparing the update data structures to the master file;
creating another index file based on the comparison of the update data structures to the master file;
creating another incremental file based on the master file and the index file; and
sending a message to said plurality of application programs that another index file and another incremental file have been created.
-
-
20. A method of accessing a database as recited in claim 19, wherein the information can be effective dated data and accessed by effective date.
-
21. A method of accessing a database, comprising:
-
placing information extracted from the database into a first data structure in a storage device, wherein said placing comprises creating a first system query language statement, extracting information from the database using the system first query language statement, sorting the extracted information based on primary key, placing the sorted information into the master file in the storage device, and sending a message to said plurality of application programs that the master file has been created; and
updating the information in the storage device periodically or when requested when a change in the information occurs in the database by placing the updated information into a second data structure in the storage device which is linked to the first data structure.
-
Specification