Systems and methods for shard-based data indexing and retrieval in multi-key environments
Abstract
Systems, computer program products, and methods are described herein for shard-based data indexing and retrieval in multi-key environments. The present disclosure is configured to streamline data management by utilizing a shard directory to assign unique shard key hashes to database records. This configuration allows for the efficient creation, addition, updating, and deletion of keys with minimal computational overhead. By leveraging a domain, key type, and key value, the system computes a compact shard key hash, facilitating targeted data retrieval within a specific shard. This eliminates the need to search across all shards, thereby enhancing performance. The system's instructions, when executed by a processing device, ensure that these operations preserve data integrity and optimize database interactions, leading to a more responsive and scalable data infrastructure.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A system for shard-based data indexing and retrieval in multi-key environments, the system comprising: at least one non-transitory storage device; and at least one processor coupled to the at least one non-transitory storage device, wherein the at least one processor is configured to: receive input data for the creation or addition of a key to a database record; compute a shard key hash based on the input data; access a shard directory within a sharded database environment to determine if the computed shard key hash exists within the shard directory; perform a search operation by receiving a search query comprising a single domain and a single key type, locating a shard key hash in the shard directory corresponding to the single domain and the single key type, and executing a targeted search in the sharded database environment using the located shard key hash when the search query is associated with a single key; update the database record by receiving updated data, locating an existin
- Claim 2Depends on #1
The system of claim 1, wherein the shard key hash is a unique identifier derived from an integer hash of a combination of a domain, a key type, and a key value associated with the input data.
- Claim 3Depends on #2
The system of claim 2, wherein the shard key hash is reduced to a predetermined number of digits to facilitate shard mapping.
- Claim 4Depends on #1
The system of claim 1, wherein in response to the shard key hash not existing within the shard directory, create a new shard key hash entry in the shard directory and associating the new shard key hash with the input data.
- Claim 5Depends on #1
The system of claim 1, wherein upon the shard key hash existing within the shard directory or after creating a new shard key hash entry, creating or updating the database record with the shard key hash to enable indexed storage of the database record within a corresponding shard of a sharded database environment.
- Claim 6Depends on #1
The system of claim 1, further comprising reindexing the database record by receiving updated data, locating an existing shard key hash from the shard directory, and modifying the database record and the shard directory entry to reflect the reindexing.
- Claim 7Depends on #1
The system of claim 1, wherein maintaining each shard key hash as immutable further comprises maintaining the sharded database environment integrity by ensuring that each shard key hash is immutable once set and is uniquely associated with the single database record or a set of records sharing the same domain and key type.
- Claim 8Independent Claim
A computer program product for shard-based data indexing and retrieval in multi-key environments the computer program product comprising a non-transitory computer-readable medium comprising code causing an apparatus to: receive input data for the creation or addition of a key to a database record; compute a shard key hash based on the input data; access a shard directory within a sharded database environment to determine if the computed shard key hash exists within the shard directory; perform a search operation by receiving a search query comprising a single domain and a single key type, locating a shard key hash in the shard directory corresponding to the single domain and the single key type, and executing a targeted search in the sharded database environment using the located shard key hash when the search query is associated with a single key; update the database record by receiving updated data, locating an existing shard key hash from the shard directory; modify the database rec
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a non-provisional patent application of U.S. Provisional Patent Application No. 63/549,875, filed Feb. 5, 2024, titled “ Systems and Methods for Shard-Based Data Indexing and Retrieval in Multi-Key Environments. ” The entirety of which is hereby incorporated by reference herein. TECHNOLOGICAL FIELD Example embodiments of the present disclosure pertain to data management systems, more specifically to systems and methods for efficient data indexing and retrieval in multi-key environments using a shard-based approach. BACKGROUND In large-scale data management systems, particularly those handling billions of documents, the challenge of efficiently indexing and retrieving data becomes significant when documents are associated with multiple keys. Traditional sharding techniques, such as standard hash-based or range-based sharding, are not optimized for such multi-key scenarios, leading to reduced performance due to the necessity of searching across multiple shards. Applicant has identified a number of deficiencies and problems associated with shard-based data indexing and retrieval in multi-key environments. Through applied effort, ingenuity, and innovation, many of these identified problems have been solved by developing solutions that are included in embodiments of the present disclosure, many examples of which are described in detail herein. BRIEF SUMMARY Systems, methods, and computer program products are provided for shard-based data indexing and retrieval in multi-key environments. The present invention introduces an innovative system and method for managing shard keys in a way that optimizes data indexing and retrieval in multi-key environments. By assigning unique, high cardinality hash keys to document indexing/search keys external to the database, the invention facilitates efficient mapping and searching of documents within single shards, even when those documents are associated with multiple keys. The
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (7)
| Patent | Title | Year | Citations |
|---|