Invention Grant
- Patent Title: Methods and systems for automatically resharding a sharded collection of data
-
Application No.: US17856171Application Date: 2022-07-01
-
Publication No.: US11893042B2Publication Date: 2024-02-06
- Inventor: Mark Porter , Max Jacob Hirschhorn , Daniel William Gottlieb , Garaudy Etienne , Andrew Michalski Schwerin , Judah Schvimer , Siyuan Zhou , Kaloian Manassiev , Esha Maharishi
- Applicant: MongoDB, Inc.
- Applicant Address: US NY New York
- Assignee: MongoDB, Inc.
- Current Assignee: MongoDB, Inc.
- Current Assignee Address: US NY New York
- Agency: Wolf, Greenfield & Sacks, P.C.
- Main IPC: G06F16/27
- IPC: G06F16/27 ; G06F16/28

Abstract:
A method is provided for resharding a sharded database sharded according to a first shard key. The method includes: receiving, by a processor an instruction to reshard the sharded database; receiving, at the processor, a new shard key to be used in a resharding process to reshard the sharded database; determining, by the processor, whether a duration of unavailability of the sharded database during the resharding process is less than a predetermined amount of time; and automatically performing, by the processor, the resharding process according to the new shard key to produce a resharded database, if the duration of unavailability is less than the predetermined amount of time. The method may be performed without users noticing a significant interruption to read/write operations from/to the database.
Public/Granted literature
- US20230009909A1 METHODS AND SYSTEMS FOR AUTOMATICALLY RESHARDING A SHARDED COLLECTION OF DATA Public/Granted day:2023-01-12
Information query