Method and apparatus for caching and reusing object identifiers
First Claim
1. A method for maintaining object identifiers in a distributed database system, the distributed database having at least one application server independently located from each other, the application servers requiring the object identifiers of a plurality of types for servicing client applications, the method comprising:
- maintaining a first source of object identifiers created by the database system for supplying unallocated object identifiers;
maintaining a second source of object identifiers including reusable object identifiers;
storing a predetermined number of object identifiers in memory coupled to the application server for fulfilling a request by a client application, the request containing a requested number of object identifiers of a plurality of data types;
if the application server can not distribute the requested number of object identifiers, requesting additional object identifiers from the second source;
if the second source can not fulfill the request of the application server, requesting additional object identifiers from the first source, wherein an additional number of the object identifiers of each type are requested from the first and second source by the application server when the application server assigns the stored object identifiers, and wherein the additional number of the object identifiers increases by a predetermined factor each time a request is made, such that the object identifiers may be maintained in the distributive database system.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and system is provided for distributing and reusing object identifiers in a distributed database system. A first table of object identifiers created by the database is maintained for supplying unallocated object identifiers for each type. A second table of object identifiers is also maintained containing reusable and distributable object identifiers to one or more application server in the database system. The application server obtains a predetermined number of object identifiers from the first and second tables to be stored in each of the application servers for servicing client applications related to the application server.
20 Citations
13 Claims
-
1. A method for maintaining object identifiers in a distributed database system, the distributed database having at least one application server independently located from each other, the application servers requiring the object identifiers of a plurality of types for servicing client applications, the method comprising:
-
maintaining a first source of object identifiers created by the database system for supplying unallocated object identifiers;
maintaining a second source of object identifiers including reusable object identifiers;
storing a predetermined number of object identifiers in memory coupled to the application server for fulfilling a request by a client application, the request containing a requested number of object identifiers of a plurality of data types;
if the application server can not distribute the requested number of object identifiers, requesting additional object identifiers from the second source;
if the second source can not fulfill the request of the application server, requesting additional object identifiers from the first source, wherein an additional number of the object identifiers of each type are requested from the first and second source by the application server when the application server assigns the stored object identifiers, and wherein the additional number of the object identifiers increases by a predetermined factor each time a request is made, such that the object identifiers may be maintained in the distributive database system. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for distributing and reusing object identifiers in a distributed database system, the object identifiers having a plurality of types, the system comprising:
-
a first table of unallocated object identifiers of each data type created by the database system;
a second table of reusable object identifiers distributable to at least one application server, wherein the second table is a preferred source from which to obtain the object identifiers over the first table; and
a storage device in the application server for storing and distributing a predetermined set of object identifiers obtained from the first and second tables for servicing client applications related to the application server, wherein the storage device includes a means for requesting the object identifiers from the first table if they can not be obtained from the second table, and wherein the additional number of object identifiers increases by a predetermined rate each time the application server requests the object identifiers from the first table. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A method for efficiently providing object identifiers in a computer system, the method comprising:
-
determining if a needed object identifier is available from a first source of object identifiers, wherein the first source stores a plurality of reusable object identifiers;
accessing the first source for the needed object identifier if the needed object identifier is available from the first source; and
accessing a second source for the needed object identifier if the needed object identifier is not available from the first source, wherein the second source stores a plurality of new object identifiers.
-
Specification