# US 2022/0067026 A1 · System and method for dependency analysis in a multidimensional database environment

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

- Number: US 2022/0067026 A1
- Document ID: US20220067026A1
- Status: Published application
- Kind: A1
- Application number: 17/522,591
- Filed: 2021-11-09
- Published: 2022-03-03
- Earliest claimed: 2018-10-18
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Pralhad Katkade; Natalia Reichman; Sergei Riaboi
- Web page: https://patentgrep.com/patent/US20220067026A1

## CPC

- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/283: {Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP}
- G06F 16/2455: Query execution
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In accordance with an embodiment, dependency analysis is done for each dynamic (or temporary) member to collect list of runtime as well as static dependents in both BSO (block storage option) and ASO (aggregate storage option) cubes. This enables the member to join hybrid flow for its execution in bottom up approach.

## Claims

### Claim 1

A system for dependency analysis in a multidimensional database, comprising:
a computer that includes one or more microprocessors;
a multidimensional database server executing on the computer, wherein the multidimensional database comprises a plurality of dimensions, each of the plurality of dimensions comprising a plurality of members; and
a dynamic member, wherein the dynamic member depends upon a set of the plurality of members;
wherein a dependency analysis is performed to determine the set of the plurality of members on which the dynamic member depends, the set of the plurality of members comprising at least one runtime dependent.

### Claim 2 (depends on 1)

The system of claim 1,
wherein the dependency analysis is performed upon a startup operation of the multidimensional database server.

### Claim 3 (depends on 1)

The system of claim 1,
wherein the dependency analysis causes the computer that includes one or more microprocessors to perform steps comprising:
tokenizing the dynamic member resulting in one or more tokens of the dynamic member.

### Claim 4 (depends on 3)

The system of claim 3,
wherein the dependency analysis causes the computer that includes one or more microprocessors to perform steps further comprising:
based upon an analysis of each of the one or more tokens of the dynamic member, determining that the set of the plurality of members on which the dynamic member depends comprises the at least one runtime dependent,
producing an array of the at least one runtime dependents, and
based upon the produced array of the at least one runtime dependent, producing a list of runtime dependent members of the multidimensional database server.

### Claim 5 (depends on 4)

The system of claim 4,
wherein a query for the dynamic member is run on the multidimensional database cube.

### Claim 6 (depends on 5)

The system of claim 5,
wherein the query for the dynamic member utilizes the list of runtime dependent members of the multidimensional database cube to fetch values associated with each of the dependent members on the list of dependent members.

### Claim 7 (depends on 4)

The system of claim 4,
wherein the dependency analysis causes the computer that includes one or more microprocessors to perform steps further comprising:
based upon the determined list of runtime dependent members, determining at least one IF-ELSE nesting pattern of a runtime dependent member of the list of runtime dependent members, and
based upon the determined at least one IF-ELSE nesting pattern, adding each dependent member of the IF-ELSE nesting pattern to an input odometer.

### Claim 8

A method for dependency analysis in a multidimensional database, comprising:
providing, at a computer that includes one or more microprocessors;
a multidimensional database server executing on the computer, wherein the multidimensional database comprises a plurality of dimensions, each of the plurality of dimensions comprising a plurality of member; and
a dynamic member, wherein the dynamic member depends upon a set of the plurality of members; and
performing a dependency analysis to determine the set of the plurality of members on which the dynamic member depends, the set of the plurality of members comprising at least one runtime dependent.

### Claim 9 (depends on 8)

The method of claim 8,
wherein the dependency analysis is performed upon a startup operation of the multidimensional database server.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
tokenizing the dynamic member resulting in one or more tokens of the dynamic member.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
based upon an analysis of each of the one or more tokens of the dynamic member, determining that the set of the plurality of members on which the dynamic member depends comprises the at least one runtime dependent,
producing an array of the at least one runtime dependents, and
based upon the produced array of the at least one runtime dependent, producing a list of runtime dependent members of the multidimensional database server.

### Claim 12 (depends on 11)

The method of claim 11,
wherein a query for the dynamic member is run on the multidimensional database cube.

### Claim 13 (depends on 12)

The method of claim 12,
wherein the query for the dynamic member utilizes the list of runtime dependent members of the multidimensional database cube to fetch values associated with each of the dependent members on the list of dependent members.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
based upon the determined list of runtime dependent members, determining at least one IF-ELSE nesting pattern of a runtime dependent member of the list of runtime dependent members, and
based upon the determined at least one IF-ELSE nesting pattern, adding each dependent member of the IF-ELSE nesting pattern to an input odometer.

### Claim 15

A non-transitory computer readable storage medium having instructions thereon for dependency analysis in a multidimensional database, which when read and executed cause a computer to perform steps comprising:
providing, at a computer that includes one or more microprocessors;
a multidimensional database server executing on the computer, wherein the multidimensional database comprises a plurality of dimensions, each of the plurality of dimensions comprising a plurality of member, and
a dynamic member, wherein the dynamic member depends upon a set of the plurality of members; and
performing a dependency analysis to determine the set of the plurality of members on which the dynamic member depends, the set of the plurality of members comprising at least one runtime dependent.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15,
wherein the dependency analysis is performed upon a startup operation of the multidimensional database server.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, the steps further comprising:
tokenizing the dynamic member resulting in one or more tokens of the dynamic member.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, the steps further comprising:
based upon an analysis of each of the one or more tokens of the dynamic member, determining that the set of the plurality of members on which the dynamic member depends comprises the at least one runtime dependent,
producing an array of the at least one runtime dependents, and
based upon the produced array of the at least one runtime dependent, producing a list of runtime dependent members of the multidimensional database server.

### Claim 19 (depends on 18)

The non-transitory computer readable storage medium of claim 18,
wherein a query for the dynamic member is run on the multidimensional database cube.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19,
wherein the query for the dynamic member utilizes the list of runtime dependent members of the multidimensional database cube to fetch values associated with each of the dependent members on the list of dependent members.
