Method and system of performing an operation on a single-table, multi-tenant database and partition key format therefor
AssigneeCommand Alkon Incorporated
InventorsDouglas A. Moore, Todd McPartlin
Life of this patent
Estimating the term…
Abstract
A partition key format for allocating partitions to data items in a single table database, where the data items are owned by different entities. The partition key format including a sequence of a plurality of frames, wherein a first of said frames is an identifier of the requesting entity (EID), and a second one of said frames is an identifier of the type of data item (TID).
Claims23
A computer-implemented method of performing an operation in a database having a plurality of data items stored in corresponding partitions of a non-transitory computer-readable memory system of a database computer, the plurality of data items being arranged in a single table design, data items of the plurality of data items being associated to different entities, the method comprising:
- receiving, from a requesting computer, a request for performing an operation in the database, the request including:
- i) a type of the operation, including at least one of searching, reading, writing, updating and deleting a data item in the database, and
- ii) a partition key associated with the data item, the partition key having a partition key format including a sequence of frames, wherein a first one of said frames in the sequence is an identifier of one of the different entities (EID), and a second one of said frames in the sequence is an identifier of a type of the data item (TID), and wherein one of said plurality of frames is a random number,
- performing a hashing function on the partition key to associate one or more of said partitions to the data item, and
- performing the operation in the one or more of said partitions, and wherein the request includes a plurality of related partition keys, said partition keys being identical to one another except for the random number, wherein said performing the hashing function includes associating each of said related partition key to a respective partition, and said performing the operation includes performing the operation simultaneously on all said partitions.
A computer-implemented method of making a request for performing an operation in a database, the database having a plurality of data items stored in corresponding partitions of a non-transitory computer-readable memory system, the plurality of data items being arranged in a single table design, data items of the plurality of data items being associated to different entities, the method comprising:
- generating the request for performing the operation in the database, the request including:
- i) a type of the operation to be performed in the database, the type including at least one of searching, reading, writing, updating and deleting a data item in the database;
- ii) a partition key associated to the data item, the partition key having a partition key format including a sequence of frames, wherein a first of said frames is an identifier of one of said different entities (EID), and a second one of said frames is an identifier of a type of data item (TID), and
- transmitting the request to the database,
- wherein the request includes a plurality of related partition keys, said partition keys being identical to one another except for the random number, wherein said performing the hashing function includes associating each of said related partition key to a respective partition, and said performing the operation includes performing the operation simultaneously on all said partitions.
A computer-implemented method of performing an operation in a database having a plurality of data items stored in corresponding partitions of a non-transitory computer-readable memory system of a database computer, the plurality of data items being arranged in a single table design, and being associated to different entities, the method comprising:
- receiving, from a requesting computer, a request for performing an operation in the database, the request including:
- i) a type of the operation, including at least one of searching, reading, writing, updating and deleting a data item in the database, and
- ii) a plurality of related partition keys associated to corresponding data items amongst the plurality of data items, each partition key having a partition key format including a sequence of frames, wherein a first one of said frames in the sequence is an identifier of an entity (EID), a second one of said frames in the sequence is an identifier of a type of the data item (TID), and one of said plurality of frames is a random number, said plurality of related partition keys being identical to one another except for the random number,
- performing a hashing function on the partition key to associate one or more of said partitions to the data item, including associating each of said related partition key to a respective partition, and
- performing the operation simultaneously on all said respective partitions,
- wherein the request includes a plurality of related partition keys, said partition keys being identical to one another except for the random number, wherein said performing the hashing function includes associating each of said related partition key to a respective partition, and said performing the operation includes performing the operation simultaneously on all said partitions.
A computer-implemented method of performing an operation in a database having a plurality of data items stored in corresponding partitions of a non-transitory computer-readable memory system of a database computer, the plurality of data items being arranged in a single table design, and being associated to different entities, the method comprising:
- receiving, from a requesting computer, a request for performing an operation in the database, the request including:
- i) a type of the operation, including at least one of searching, reading, writing, updating and deleting a data item in the database, and
- ii) a partition key associated with the data item, the partition key having a partition key format in the RFC 4122 format including a sequence of 5 frames of 8, 4, 4, 4 and 12 hexadecimal characters, wherein a first one of said frames in the sequence is an identifier of an entity (EID), and a second one of said frames in the sequence is an identifier of a type of the data item (TID),
- performing a hashing function on the partition key to associate one or more of said partitions to the data item, and
- performing the operation in the one or more of said partitions,
- wherein the request includes a plurality of related partition keys, said partition keys being identical to one another except for the random number, wherein said performing the hashing function includes associating each of said related partition key to a respective partition, and said performing the operation includes performing the operation simultaneously on all said partitions.
Dependencies are inferred from the claim text.