×

DATABASE SYSTEMS AND APPLICATIONS FOR ASSIGNING RECORDS TO CHUNKS OF A PARTITION IN A NON-RELATIONAL DATABASE SYSTEM WITH AUTO-BALANCING

  • US 20200134081A1
  • Filed: 10/29/2018
  • Published: 04/30/2020
  • Est. Priority Date: 10/29/2018
  • Status: Active Grant
First Claim
Patent Images

1. A method for assigning a particular record into a chunk of a partition within hardware-based network storage of a non-relational database system, wherein the partition comprises a plurality of chunks, and wherein each chunk stores a number of records within the partition, the method comprising:

  • executing an application at a hardware-based processing system of an application server to generate a particular record having a corresponding record key;

    accessing the non-relational database system via a query interface and application programming interface for the application when the particular record is ready to be inserted into the partition;

    determining, at a mapping function of the application based on the particular record, a natural chunk key;

    assigning the particular record, at a chunk assignment module of the application, to a particular candidate chunk that is a closest chunk available for insertion of the particular record at a particular time that satisfies an assignment formula, wherein the particular candidate chunk comprises a plurality of records sorted by their corresponding record keys;

    inserting the particular record into the particular candidate chunk having the particular chunk key, wherein the record key of the particular record is mapped to the particular chunk key associated with the particular record;

    determining whether a number of records in the particular candidate chunk exceeds a particular threshold number; and

    when the number of records in the particular candidate chunk is greater than the particular threshold number;

    performing an auto-balancing operation at a chunk splitting module to split the particular candidate chunk such that records originally assigned to the particular candidate chunk are divided among the particular candidate chunk and a new chunk after the auto-balancing operation is complete, wherein some of the number of records that were originally part of the particular candidate chunk are assigned to the new chunk and wherein other remaining ones of the number of records that were originally part of the particular candidate chunk remain assigned to the particular candidate chunk.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×