Autonomic regulation of a volatile database table attribute
First Claim
1. A method for managing a computerized database, comprising the following executed by at least one computer system:
- monitoring at least one parameter of a database table of said computerized database over at least one time interval and saving monitored parameter data with respect to said database table;
determining a database table volatility state of said database table using the saved monitored parameter data, said database table volatility state being a property of said database table that is a function of changes to data recorded in said database table with respect to time, said database table volatility state being independent of any queries against data in said database table;
responsive to determining a database table volatility state of said database table using the saved monitored parameter data, generating and saving at least one database table volatility attribute expressing the database table volatility state of said database table; and
using said at least one volatility attribute to manage access to data in said database table, wherein using said at least one volatility attribute to manage access to data in said database table comprises at least one of;
(a) using said at least one volatility attribute to determine an optimum query execution strategy for a query against data in said database table, (b) using said at least one volatility attribute to determine whether to re-optimize a previously saved query execution strategy for a query against data in said database table, (c) using said at least one volatility attribute to determine whether to collect statistical data regarding said database table, and (d) using said at least one volatility attribute to manage storage and/or retrieval of data in said at least one database table.
1 Assignment
0 Petitions
Accused Products
Abstract
A database table is monitored to automatically determine its volatility, and at least one volatility attribute expressing volatility state is saved. The volatility attribute is used to manage the database, e.g., to determine an optimum query execution strategy for a query involving data in the table, and/or for determining whether to re-optimize a previously saved query execution strategy and/or for managing storage and retrieval of table data. Preferably, parameters of the database table are captured at regular sampling intervals and a figure of merit representing volatility is computed from the parameter values. Preferably, the database supports the SQL database language, and the volatility attribute is or includes the SQL VOLATILE attribute. In an additional embodiment, the database manager may express volatility of a database table as a value within a range.
52 Citations
13 Claims
-
1. A method for managing a computerized database, comprising the following executed by at least one computer system:
-
monitoring at least one parameter of a database table of said computerized database over at least one time interval and saving monitored parameter data with respect to said database table; determining a database table volatility state of said database table using the saved monitored parameter data, said database table volatility state being a property of said database table that is a function of changes to data recorded in said database table with respect to time, said database table volatility state being independent of any queries against data in said database table; responsive to determining a database table volatility state of said database table using the saved monitored parameter data, generating and saving at least one database table volatility attribute expressing the database table volatility state of said database table; and using said at least one volatility attribute to manage access to data in said database table, wherein using said at least one volatility attribute to manage access to data in said database table comprises at least one of;
(a) using said at least one volatility attribute to determine an optimum query execution strategy for a query against data in said database table, (b) using said at least one volatility attribute to determine whether to re-optimize a previously saved query execution strategy for a query against data in said database table, (c) using said at least one volatility attribute to determine whether to collect statistical data regarding said database table, and (d) using said at least one volatility attribute to manage storage and/or retrieval of data in said at least one database table. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-implemented method for managing a database, comprising:
-
maintaining data in a computerized database, said computerized database having data organized in at least one database table; monitoring respective changes made to each database table of said at least one database table; responsive to said monitoring respective changes made to each database table of said at least one database table, determining a respective database table volatility state of each database table of said at least one database table; responsive to determining a respective database table volatility state of each database table of said at least one database table, generating a respective at least one volatility attribute representing the respective database table volatility state of each database table of said at least one database table, wherein the respective database table volatility state of each said database table is a property of the respective database table that is a function of changes to the respective database table with respect to time, independent of any queries against data in the respective database table; and using the respective at least one volatility attribute of each database table to manage data in the respective database table, wherein using the respective at least one volatility attribute of each database table to manage data in the respective database table comprises at least one of;
(a) using the respective at least one volatility attribute to determine an optimum query execution strateay for a query against data in the respective database table, (b) using the respective at least one volatility attribute to determine whether to re-optimize a previously saved query execution strateay for a query against data in the respective database table, (c) using the respective at least one volatility attribute to determine whether to collect statistical data regarding the respective database table, and (d) using the respective at least one volatility attribute to manage storage and/or retrieval of data in the respective at least one database table. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification