Claims
- 1. A computer implemented object orientated relational database management system comprising:
- a) a memory means for storing;
- 1) a plurality of data records;
- 2) a plurality of tables, each said table having a table name for identifying each said table;
- 3) a table index having an entry for each said table in said management system where each said entry for a table name including pointers to a location in said memory means of a primary key index and of a secondary key index and where said entries are ordered within said table index upon said table names;
- 4) at least one primary key index, each primary key index having an entry for at least one primary key where each said entry has a pointer to a location in said storage means of a data record identified by said table name and said primary key and where said entries are ordered within said row index upon said primary keys included in said primary key index;
- 5) at least one secondary key index having an entry for at least one combination of a primary key and a secondary key where each said entry has a pointer to a location in said storage means of a data record identified by said table name, said primary key and said secondary key where said entries are ordered within said secondary key index first upon said secondary keys and then upon said primary keys for each stationary key in said secondary key index;
- b) access means for retrieving a data record identified by a table name, a primary key, and a secondary key, said access means comprising:
- 1) table search means for retrieving from said storage means said table index, for searching said entries in said retrieved table index for said requested table name and upon finding said entry retrieving said primary key index when no secondary key is identified in said data record and said secondary key index when a secondary key is identified in said record; and
- 2) first search means for searching said entries in said retrieved primary key index, when said primary index has been retrieved, for an entry for said primary key of said data record and upon finding said entry retrieving said data record from the location in said memory means pointed to in said found entry for said primary key; and
- 3) second search means for searching said entries in said retrieved secondary key index, when a secondary key index has been retrieved, for an entry having said primary key and said secondary key of said data recorded and upon finding said entry retrieving said data record from the location in said memory means pointed to in said found entry having said primary key and said secondary key.
- 2. The system of claim 1 wherein:
- a) said memory units further comprises:
- within a table name entry in said table index a pointer to a parameter index in said storage means; and
- at least one parameter index having an entry for at least one parameter where each said entry for a parameter has a pointer to a location in said storage means to a primary key index and a secondary key index and where said entries are ordered within said parameter index upon a parameters name for each parameter included in said parameter index; and
- b) said access means retrieves a data record identified by a table name, a parameter name, a primary key and a secondary key and wherein:
- 1) said table search means upon finding said entry retrieves said parameter index from the location in said memory means pointed to in said entry; and
- 2) parameter search means for retrieving from said storage means said parameter index, for searching said entries in said retrieved parameter index for a parameter name included in a data record to be retrieved and upon finding said entry retrieving said primary key index when no secondary key is identified in said entry and said secondary key index when a secondary key is identified in said entry from the locations of said primary key index and said secondary key index in said memory means pointed to in said parameter name entry.
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of Ser. No. 08/029,902, filed Mar. 11, 1993, now abandoned, which is a divisional of Ser. No. 07/968,237, filed Oct. 29, 1992, now abandoned, which is a continuation of Ser. No. 07/830,548, filed Jan. 31, 1992, now abandoned, which is a continuation of Ser. No. 07/450,298, filed Dec. 13, 1989, now abandoned, which is a continuation-in-part of Ser. No. 07/402,862, filed Sep. 1, 1989, now abandoned under the title "OPERATING SYSTEM AND DATA BASE USING TABLE ACCESS METHOD".
US Referenced Citations (3)
Number |
Name |
Date |
Kind |
4893232 |
Shimaoka et al. |
Jan 1990 |
|
4918593 |
Huber |
Apr 1990 |
|
5133068 |
Crus et al. |
Jul 1992 |
|
Non-Patent Literature Citations (4)
Entry |
"Table Storage Architecturee for the OS/2 Extended Edition Database Manager", IBM Technical Disclosure Bulletin, vol. 32, No. 5A, Oct. 1989, pp. 30-32. |
M. Papazoglou, "An Extensible DBMS for Small and Medium Systems", IEEE Micro, vol. 9, No. 2, Apr. 1989, pp. 52-68. |
A. Brown et al., "Data Base Management for HP Precision Architecture Computers", Hewlett-Packard Journal, vol. 37, No. 12, Dec. 1986, pp. 33-48. |
D. J. Haderle et al., "IBM Database 2 Overview", IBM Systems Journal, vol. 23, No. 2, 1984, pp. 112-125. |
Divisions (1)
|
Number |
Date |
Country |
Parent |
968237 |
Oct 1992 |
|
Continuations (3)
|
Number |
Date |
Country |
Parent |
29902 |
Mar 1993 |
|
Parent |
830548 |
Jan 1992 |
|
Parent |
450298 |
Dec 1989 |
|
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
402862 |
Sep 1989 |
|