Systems, methods and software for automating database tasks
First Claim
1. In a database environment, a computer-implemented method for managing system resources of a computer system, the method comprising:
- defining a plurality of maintenance windows during which system tasks may be executed by the computer system without significantly impacting user tasks, the plurality of maintenance windows comprising a first maintenance window and a second maintenance window;
scheduling a first system task to execute during the first maintenance window;
scheduling a second system task to execute during the second maintenance window;
allocating system resources for the first system task during the first maintenance window; and
inhibiting the at least one system task from executing on the computer system, except during the first maintenance window;
wherein;
the first maintenance window is defined to recur periodically over a first interval, such that the first system task executes periodically over the first interval; and
the second maintenance window is defined to recur periodically over a second interval, such that the second system task executes periodically over the second interval.
1 Assignment
0 Petitions
Accused Products
Abstract
Various embodiments of the invention provide solutions to facilitate the management and/or automation of various database tasks, in particular system tasks. Merely by way of example, some embodiments provide methods systems and/or software products that can facilitate automation of such tasks. In accordance with certain embodiments, a maintenance window may be defined. The maintenance window can provide an opportunity for system tasks (and/or other tasks, especially those that consume significant database resources) to execute without significantly impacting the usability of the database. In particular embodiments, a maintenance window may be defined to coincide with a period of relatively low user activity. In some cases, a maintenance window may be implemented in conjunction with a job scheduler and/or a resource manager. Merely by way of example, a resource manager might allocate relatively more system and/or database resources to system tasks during the maintenance window, and/or a job scheduler may schedule system tasks to execute during the maintenance window.
22 Citations
33 Claims
-
1. In a database environment, a computer-implemented method for managing system resources of a computer system, the method comprising:
-
defining a plurality of maintenance windows during which system tasks may be executed by the computer system without significantly impacting user tasks, the plurality of maintenance windows comprising a first maintenance window and a second maintenance window; scheduling a first system task to execute during the first maintenance window; scheduling a second system task to execute during the second maintenance window; allocating system resources for the first system task during the first maintenance window; and inhibiting the at least one system task from executing on the computer system, except during the first maintenance window; wherein; the first maintenance window is defined to recur periodically over a first interval, such that the first system task executes periodically over the first interval; and the second maintenance window is defined to recur periodically over a second interval, such that the second system task executes periodically over the second interval. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. In a database environment, a computer-implemented method for managing system resources of a computer system, the method comprising:
-
defining a maintenance window during which system tasks may be executed by the computer system without significantly impacting user tasks; scheduling at least one system task to execute during the maintenance window; allocating system resources for the at least one system task during the maintenance window; and inhibiting the at least one system task from executing on the computer system, except during the defined maintenance window; and if the at least one system task has not finished executing before the maintenance window has expired, stopping the execution of the at least one system task at the expiration of the maintenance window; wherein the at least one system task comprises an operation selected from the group consisting of a purge operation, a statistic gathering operation, a database analysis operation, a feature usage analysis operation, a backup operation and a database replication operation. - View Dependent Claims (22, 23, 24, 25, 26, 27)
-
-
28. A computer system comprising:
-
a database; a processor in communication with the database; and a computer readable medium in communication with the processor, the computer readable medium comprising instructions executable by the processor to; define a plurality of maintenance windows for the database during which system tasks may be executed by the computer system without significantly impacting user tasks, the plurality of maintenance windows comprising a first maintenance window and a second maintenance window;
schedule a first system task to execute during the maintenance window;schedule a second system task to execute during the second maintenance window; allocate system resources to the first system task during the first maintenance window; and inhibit the first system task from executing except during the first maintenance window; wherein; the first maintenance window is defined to recur periodically over a first interval, such that the first system task executes periodically over the first interval; and the second maintenance window is defined to recur periodically over a second interval, such that the second system task executes periodically over the second interval.
-
-
29. A computer-readable storage medium having stored thereon a computer program for managing system resources for a database, the computer program comprising instructions executable by a computer system to:
-
define a plurality of maintenance windows for the database during which system tasks may be executed by the computer system without significantly impacting user tasks, the plurality of maintenance windows comprising a first maintenance window and a second maintenance window; schedule a first system task to execute during the maintenance window, to mitigate an impact imposed on a least one user task by the execution of the first system task by the computer system; schedule a second system task to execute during the second maintenance window; allocate system resources to the first system task during the first maintenance window; and inhibit the first system task from executing except during the first maintenance window; wherein; the first maintenance window is defined to recur periodically over a first interval, such that the first system task executes periodically over the first interval; and the second maintenance window is defined to recur periodically over a second interval, such that the second system task executes periodically over the second interval. - View Dependent Claims (30, 31)
-
-
32. A computer system comprising:
-
a database; a processor in communication with the database; and a computer readable medium in communication with the processor, the computer readable medium comprising instructions executable by the processor to; define a maintenance window during which system tasks may be executed by the computer system without significantly impacting user tasks; schedule at least one system task to execute during the maintenance window; allocate system resources for the at least one system task during the maintenance window; and inhibit the at least one system task from executing on the computer system, except during the defined maintenance window; and if the at least one system task has not finished executing before the maintenance window has expired, stop the execution of the at least one system task at the expiration of the maintenance window; wherein the at least one system task comprises an operation selected from the group consisting of a purge operation, a statistic gathering operation, a database analysis operation, a feature usage analysis operation, a backup operation and a database replication operation.
-
-
33. A computer-readable storage medium having stored thereon a computer program for managing system resources for a database, the computer program comprising instructions executable by a computer system to:
-
define a maintenance window during which system tasks may be executed by the computer system without significantly impacting user tasks; schedule at least one system task to execute during the maintenance window; allocate system resources for the at least one system task during the maintenance window; and inhibit the at least one system task from executing on the computer system, except during the defined maintenance window; and if the at least one system task has not finished executing before the maintenance window has expired, stop the execution of the at least one system task at the expiration of the maintenance window; wherein the at least one system task comprises an operation selected from the group consisting of a purge operation, a statistic gathering operation, a database analysis operation, a feature usage analysis operation, a backup operation and a database replication operation.
-
Specification