Hierarchy function result cache with dynamic conditions
AssigneeSap SE
InventorsXun Zhang, Yinghua Ouyang, Zhen Tian
Life of this patent
Estimating the term…
Loading patent…
AssigneeSap SE
InventorsXun Zhang, Yinghua Ouyang, Zhen Tian
Estimating the term…
Methods, systems, and computer-readable storage media for a hierarchy function result cache that supports dynamic conditions. An example method includes identifying, in a database system, a request to execute a query that includes a hierarchy function. Dependency objects of the hierarchy function are collected. In response to determining that each dependency object is cacheable, dynamic condition information is collected that includes dynamic conditions of the collected dependency objects and corresponding objects of the dynamic conditions. A cache key is generated based on the collected dependency objects and collected dynamic condition information. A hierarchy function result cache is searched for a cache result that matches the cache key. In response to locating the cache result that matches the cache key, the cache result is identified as a hierarchy function result without executing the hierarchy function. The hierarchy function result us used to generate a query result for the query.
A computer-implemented method comprising:
A system comprising:
A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon, which, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
Dependencies are inferred from the claim text.