# US 10,956,380 B2 · System and method for parallel support of multidimensional slices with a multidimensional database

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

- Number: US 10,956,380 B2
- Document ID: US10956380B2
- Status: Granted
- Kind: B2
- Application number: 16/399,187
- Filed: 2019-04-30
- Published: 2019-08-22
- Granted: 2021-03-23
- Earliest claimed: 2015-10-23
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Long Tran; Vinod Padinjat Menon; Kumar Ramaiyer
- Web page: https://patentgrep.com/patent/US10956380B2

## CPC

- G06F 16/211: {Schema design and management}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 16/283: {Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method is described for use with a multidimensional database computing environment to provide support for parallel calculation of multidimensional slices. Users are able to specify a set of slices and a number of parallel threads to employ. The multidimensional database environment generates tasks that include calculations and/or aggregations, which are able to be executed by the system in parallel. Also described herein are mechanisms of utilizing variables within the calculations performed by respective threads, and combining thread variables after execution.

## Claims

### Claim 1

A system for providing parallel calculation within a multidimensional database environment, comprising:
a multidimensional database for storing data associated with a plurality of dimensions, each dimension having a plurality of members; and
a computing device having a processor executing instructions that configures the processor to:
receive a calculation script specifying at least a member list and a command to be performed on a portion of the multidimensional database indicated by the member list,
determine two or more slices to be calculated based upon at least the member list,
generate a task list for the calculation script based on the determined two or more slices that contains a plurality of tasks that are simultaneously executable, wherein each task of the plurality of tasks includes the command and is associated with a respective slice of the two or more slices, and
queue each task of the task list in an order to be executed by a set of threads at a thread pool.

### Claim 2 (depends on 1)

The system of claim 1,
wherein each task is queued according to an order indicated by the received member list; and
wherein the each task is removed from the queue by a thread of the thread pool in order of the queue.

### Claim 3 (depends on 2)

The system of claim 2,
wherein each of the two or more slices comprises a unique combination of members from the member list.

### Claim 4 (depends on 1)

The system of claim 1,
wherein two or more of the tasks on the task list are executed by threads of the thread pool in parallel.

### Claim 5 (depends on 1)

The system of claim 1,
wherein each task is queued according to a database outline order; and
wherein the each task is removed from the queue by a thread of the thread pool in order of the queue.

### Claim 6 (depends on 5)

The system of claim 5,
wherein each of the two or more slices comprises a unique combination of members from the member list; and
wherein two or more of the tasks on the task list are executed by threads of the thread pool in parallel.

### Claim 7

A method for parallel calculation for a multidimensional database, comprising:
providing a multidimensional database for storing data associated with a plurality of dimensions, each dimension having a plurality of members; and
receiving a calculation script specifying at least a member list and a command to be performed on a portion of the multidimensional database indicated by the member list;
determining two or more slices to be calculated based upon at least the member list;
generating a task list based on the determined two or more slices that contains a plurality of tasks that are simultaneously executable, wherein each task of the plurality of tasks includes the command specified in the calculation script and is associated with a respective slice of the two or more slices; and
queuing each task of the task list in an order to be executed by a set of threads at a thread pool.

### Claim 8 (depends on 7)

The method of claim 7,
wherein each task is queued according to an order indicated by the received member list; and
wherein the each task is removed from the queue by a thread of the thread pool in order of the queue.

### Claim 9 (depends on 8)

The method of claim 8,
wherein each of the two or more slices comprises a unique combination of members from the member list.

### Claim 10 (depends on 7)

The method of claim 7,
wherein two or more of the tasks on the task list are executed by threads of the thread pool in parallel.

### Claim 11 (depends on 7)

The method of claim 7,
wherein each task is queued according to a database outline order; and
wherein the each task is removed from the queue by a thread of the thread pool in order of the queue.

### Claim 12 (depends on 11)

The method of claim 11,
wherein each of the two or more slices comprises a unique combination of members from the member list; and
wherein two or more of the tasks on the task list are executed by threads of the thread pool in parallel.

### Claim 13

A non-transitory computer-readable storage medium having instructions stored thereon for parallel calculation for a multidimensional database, which when read and executed by a computer, cause the computer perform steps comprising:
providing a multidimensional database for storing data associated with a plurality of dimensions, each dimension having a plurality of members; and
receiving a calculation script specifying at least a member list and a command to be performed on a portion of the multidimensional database indicated by the member list;
determining two or more slices to be calculated based upon at least the member list;
generating a task list for the calculation script based on the determined two or more slices that contains a plurality of tasks that are simultaneously executable, wherein each task of the plurality of tasks includes the command and is associated with a respective slice of the two or more slices; and
queuing each task of the task list in an order to be executed by a set of threads at a thread pool.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13,
wherein each task is queued according to an order indicated by the received member list; and
wherein the each task is removed from the queue by a thread of the thread pool in order of the queue.

### Claim 15 (depends on 14)

The non-transitory computer-readable storage medium of claim 14,
wherein each of the two or more slices comprises a unique combination of members from the member list.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium of claim 13,
wherein two or more of the tasks on the task list are executed by threads of the thread pool in parallel.

### Claim 17 (depends on 13)

The non-transitory computer-readable storage medium of claim 13,
wherein each task is queued according to a database outline order; and
wherein the each task is removed from the queue by a thread of the thread pool in order of the queue; and
wherein each of the two or more slices comprises a unique combination of members from the member list.
