Reusing database statistics for user aggregate queries
AssigneeInternational Business Machines Corporation
InventorsSamar T. Desai, Dattatreya Govindappanavar
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsSamar T. Desai, Dattatreya Govindappanavar
Estimating the term…
A method for determining and providing aggregate functions is provided. The method may include scanning database tables. The method may further include determining the aggregate functions. Additionally, the method may include storing the determined aggregate functions on system catalog tables. The method may also include providing indications that the stored determined aggregate functions are valid. The method may further include receiving database queries. The method may also include, determining whether the stored determined aggregate functions are valid. The method may further include, in response to the stored determined aggregate functions being valid, retrieving the stored determined aggregate functions from the system catalog tables. The method may also include, in response to the stored determined aggregate functions being invalid, re-scanning the database tables. The method may further include determining the aggregate functions based on the re-scanned database tables. The method may further include presenting the aggregate functions to clients.
A method for determining and providing a plurality of aggregate functions, the method comprising:
A computer system for determining and providing a plurality of aggregate functions, comprising:
A computer program product for determining and providing a plurality of aggregate functions, comprising:
Dependencies are inferred from the claim text.