CPC G06F 16/22 (2019.01) [G06F 16/213 (2019.01); G06F 16/2358 (2019.01); G06F 16/2445 (2019.01)] | 20 Claims |
1. A method, comprising:
operating, by a server system, a database, including receiving requests to access records of the database, wherein the requests specify synthetic identifiers (IDs) that are included in respective corresponding records currently stored in the database and are usable to access the respective corresponding records but do not include user-provided values of the records, and wherein the database is searchable using natural IDs that respectively comprise one or more values of a record that uniquely identify a corresponding record of the database;
receiving, by the server system, a request to insert a new record into the database;
in response to the request, obtaining, by the server system from a first instance of a plurality of identifier (ID) generator instances that implement a distributed ID generator service, a new synthetic ID for the new record, wherein the new synthetic ID is generated based on an identifier assigned to the first ID generator instance to ensure uniqueness of the new synthetic ID across the database;
inserting, by the server system, the new record into the database, wherein the new record includes the new synthetic ID and a natural ID that corresponds to one or more values of the new record; and
causing, by the server system, an index of the database to be updated to store the new synthetic ID and the natural ID, wherein the index enables the new record to be accessed using the natural ID based on the new synthetic ID stored in the index.
|