摘要:
A database schema for storing application data in a relational database backing store of a directory service. The application data has at least some entries with multiple value attributes. According to the invention, the application data is profiled to determine how it may be optimally stored in the backing store. Preferably, single entries having single value attributes are stored in a merged attribute table, while entries having multiple value attributes are stored in per attribute tables. According to the optimization, a majority of the attributes are single valued and are stored in the merged table, and the per attribute tables thus store a relatively smaller number of exceptions. This database schema enhances processing of conventional directory service queries into the backing store.
摘要:
A method of hierarchical LDAP searching in an LDAP directory service having a relational database management system (DBMS) as a backing store. The method begins in response to a search query to the relational database. Search results retrieved in response to the search query are cached, preferably in a pair of caches in the directory service. The first cache receives a set of identifiers indexed by a filter key of the search query. The search results, namely entries corresponding to the set of identifiers, are then stored in the second cache. In response to subsequent issuance of the search query, the cached search results are then used in lieu of accessing the relational database to increase search efficiency. To maintain the integrity of the cached information, routines are provided to invalidate the caches during given directory service operations.
摘要:
The invention relates to regulating access by users to a scarce resource, wherein the resource is capable of handling multiple concurrent accesses. A request for access to the scarce resource is received and it is determined whether the access level for the scarce resource is at a desired maximum. Responsive to determining that said access level is at a desired maximum, the requester is placed in a queue for access to said scarce resource. The requester is then provided with a notification that the request has been enqueued. Access is available to the requester upon reaching the head of the queue when the access level drops below the desired maximum.
摘要:
The invention relates to regulating access by users to a scarce resource. A request for access to the scarce resource is received. It is determined whether the access level for the scarce resource is at a desired maximum and responsive to determining that it is, the requester is allocated to an access slot. The requester is then provided with a notification of their allocated access slot. Access is available to the requester when the allocated slot is enabled.