# US 11,789,949 B2 · Method and system of performing an operation on a single-table, multi-tenant database and partition key format therefor

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,789,949 B2
- Document ID: US11789949B2
- Status: Granted
- Kind: B2
- Application number: 17/355,589
- Filed: 2021-06-23
- Published: 2021-12-30
- Granted: 2023-10-17
- Earliest claimed: 2020-06-25
- Assignees: Command Alkon Incorporated
- Applicants: Command Alkon Incorporated
- Inventors: Douglas A. Moore; Todd McPartlin
- Web page: https://patentgrep.com/patent/US11789949B2

## CPC

- G06F 16/24554: {Unary operations; Data partitioning operations}
- G06F 21/604: {Tools and structures for managing or administering access control systems}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/252: {between a Database Management System and a front-end application}
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F 21/6227: {where protection concerns the structure of data, e.g. records, types, queries}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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).

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising: providing feedback to the requesting computer including an indication that the operation has been performed.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1 wherein the request is received from a requesting application hosted on the requesting computer, and one of said frames of said partition key format is an identifier of a requesting application (AID).

### Claim 4 (depends on 2)

The computer-implemented method of claim 2 wherein the AID is a final frame of the partition key format.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1 wherein one of said plurality of frames is an identifier of a sub-type of the data item (SEG).

### Claim 6 (depends on 5)

The computer-implemented method of claim 5 wherein the identifier of the sub-type is a third frame of the partition key format.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1 wherein the random numbers are selected within a space of numbers being larger than a number of said related partition keys.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1 wherein the format of the partition key is in the RFC 4122 format including a sequence of 5 frames of 8, 4, 4, 4 and 12 hexadecimal characters, respectively.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1 wherein a third frame is an identifier of a sub-type of the data item (SEG), a fourth frame is a random number (RND), and a fifth frame is an identifier of a requesting application (AID).

### Claim 10

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.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein said generating and transmitting the request is performed by an application programming interface (API) hosted on an API computer.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11 further comprising, prior to said generating, the API computer receiving an entity request from an entity computer via the Internet, the entity request identifying at least a) the requesting entity, b) the type of operation to be performed in the database, and c) the type of data item to which the operation pertains.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12 further comprising providing feedback to the entity computer, the feedback including an indication that the operation has been performed.

### Claim 14 (depends on 10)

The computer-implemented method of claim 10 further comprising: receiving feedback from the database including an indication that the operation has been performed.

### Claim 15 (depends on 10)

The computer-implemented method of claim 10, wherein said generating and transmitting the request is performed by an application hosted on an entity computer.

### Claim 16 (depends on 10)

The computer-implemented method of claim 10 wherein and wherein one of said frames of said partition key format is an identifier of a requesting application (AID).

### Claim 17 (depends on 16)

The computer-implemented method of claim 16 wherein the AID is the final frame of the partition key format.

### Claim 18 (depends on 10)

The computer-implemented method of claim 10 wherein the entity request further specifies an identity of a sub-type of the data item (SEG).

### Claim 19 (depends on 1)

The computer-implemented method of claim 1 wherein the different entities are different owners of corresponding ones of the plurality of data items.

### Claim 20 (depends on 10)

The computer-implemented method of claim 10 wherein the different entities are different owners of corresponding ones of the plurality of data items.

### Claim 21

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.

### Claim 22 (depends on 21)

The computer-implemented method of claim 21 wherein the random number is selected within a space of numbers being larger than a number of said plurality of related partition keys.

### Claim 23

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.
