Apparatus and method to schedule and perform database maintenance
First Claim
1. A method to schedule database maintenance, comprising the steps of:
- selecting a first time period, wherein said first time period equals twenty-four hours, wherein said first time period comprises 48 first time intervals;
commencing said first time period at a first time and ending said first time period at a third time;
performing one or more database queries during said first time period;
recording the number of database queries performed during each of said two or more first time intervals;
determining the least utilized first time interval, wherein said least utilized first time interval comprises the one of said two or more first time intervals during which the fewest database queries were performed, wherein said least utilized first time interval commenced at a second time;
calculating a first time difference between said first time and said second time;
scheduling said database maintenance at a fourth time, wherein said fourth time equals said third time plus said first time difference.
2 Assignments
0 Petitions
Accused Products
Abstract
A method to schedule and perform database maintenance, where the database includes information regarding one or more information storage media moveably disposed in a data storage and retrieval system, which includes selecting a first time period, commencing that first time period at a first time and ending that first time period at a third time, performing one or more database queries during that first time period, recording the number of database queries performed during each of the two or more first time intervals, determining the least utilized first time interval where that least utilized first time interval commenced at a second time, calculating a first time difference between the first time and the second time, and scheduling database maintenance at a fourth time. A data storage and retrieval system comprising a computer useable medium having computer readable program code disposed therein to implement Applicants'"'"' method to schedule and perform database maintenance. A computer program product usable with a programmable computer processor having computer readable program code embodied therein to implement Applicants'"'"' method to schedule and perform database maintenance.
-
Citations
20 Claims
-
1. A method to schedule database maintenance, comprising the steps of:
-
selecting a first time period, wherein said first time period equals twenty-four hours, wherein said first time period comprises 48 first time intervals; commencing said first time period at a first time and ending said first time period at a third time; performing one or more database queries during said first time period; recording the number of database queries performed during each of said two or more first time intervals; determining the least utilized first time interval, wherein said least utilized first time interval comprises the one of said two or more first time intervals during which the fewest database queries were performed, wherein said least utilized first time interval commenced at a second time; calculating a first time difference between said first time and said second time; scheduling said database maintenance at a fourth time, wherein said fourth time equals said third time plus said first time difference. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method to schedule database maintenance, wherein said database comprises information relating to one or more information storage media disposed in a data storage and retrieval system, wherein said data storage and retrieval system is capable of communication with one or more host computers, said method comprising the following steps in the following order:
-
(1) selecting a time interval Δ
T, wherein Δ
T equals 24 hours divided by (N),wherein (N) is greater than or equal to 2; (2) setting (j)=1; (3) commencing time period P(j) at time T(1)(j), wherein time period P(j) comprises a plurality of time intervals Δ
T(i)(j), wherein (i) is greater than or equal to 1 and less than or equal to N;(4) performing a plurality of database queries during said time period P(j), and recording the number of database queries R(i)(j) performed during each of said time intervals Δ
T(i)(j);(5) establishing the maintenance time interval Δ
T(MAIN)(2), wherein the value of (MAIN) is set to the value of (i) for the one of said plurality of time intervals Δ
T(i)(1) during which the fewest number of database inquiries R(i)(1) were performed;(6) setting RREF equal to R(MIN−
1)(1), wherein R(MIN−
1)(1) comprises the number of database inquiries performed during the time interval Δ
T(MIN−
1)(1), wherein Δ
T(MIN−
1)(1) comprises the time interval immediately preceding the one of said plurality of time intervals Δ
T(i)(1) during which the fewest number of database inquiries R(i)(1) were performed;(7) setting (j)=(j)+1; (8) commencing time period P(j) at time T(1)(j), wherein time period P(j) comprises a plurality of time intervals Δ
T(i)(j), wherein (i) is greater than or equal to 1 and less than or equal to N;(9) recording the number of database queries R(i)(j) performed during each of said time intervals Δ
T(i)(j); and(10) determining if R(MIN−
1)(j) is greater than about 1.1*RREF;(11) operative if R(MIN−
1)(j) is not greater than about 1.1*RREF;performing database maintenance during time interval Δ
T(MAIN)(j); andrepeating steps (7), (8), (9), (10)(11), and (12); (12) operative if R(MIN−
1)(j) is greater than about 1.1*RREF;determining Δ
T(MIN)(j), wherein Δ
T(MIN)(j) comprises the one of said plurality of time intervals Δ
T(i)(j) during which the fewest number of database inquiries R(i)(j) were performed;setting maintenance time interval Δ
T(MAIN)(j+1), wherein the value of (MAIN) is set to the value of (i) for the one of said plurality of time intervals Δ
T(i)(j) during which the fewest number of database inquiries R(i)(j) were performed;setting RREF equal to R(MIN−
1)(j), wherein R(MIN−
1)(j) comprises the number of database inquiries performed during the time interval Δ
T(MIN−
1)(j), wherein Δ
T(MIN−
1)(j) comprises the time interval immediately preceding the one of said plurality of time intervals Δ
T(i)(j) during which the fewest number of database inquiries R(i)(j) were performed repeating steps (7), (8), (9), (10), (11), and (12).
-
-
10. A data storage and retrieval system comprising a computer useable medium having computer readable program code disposed therein to schedule database maintenance, wherein said database comprises information relating to one or more information storage media disposed in said data storage and retrieval system, the computer readable program code comprising a series of computer readable program steps to effect:
-
selecting a first time period, wherein said first time period equals twenty-four hours, wherein said first time period comprises 48 first time intervals; commencing said first time period at a first time and ending said first time period at a third time; performing one or more database queries during said first time period; recording the number of database queries performed during each of said two or more first time intervals; determining the least utilized first time interval, wherein said least utilized first time interval comprises the one of said two or more first time intervals during which the fewest database queries were performed, wherein said least utilized first time interval commenced at a second time; calculating the a first time difference between said first time and said second time; scheduling said database maintenance at a fourth time, wherein said fourth time equals said third time plus said first time difference. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A data storage and retrieval system comprising a computer useable medium having computer readable program code disposed therein to schedule database maintenance, wherein said database comprises information relating to one or more information storage media disposed in said data storage and retrieval system, the computer readable program code comprising a series of computer readable program steps to effect:
-
(1) selecting a time interval Δ
T, wherein Δ
T equals 24 hours divided by (N), wherein (N) is greater than or equal to 2;(2) setting (j)=1; (3) commencing time period P(j) at time T(1)(j), wherein time period P(j) comprises a plurality of time intervals Δ
T(i)(j), wherein (i) is greater than or equal to 1 and less than or equal to (N);(4) performing a plurality of database queries during said time period P(j), and recording the number of database queries R(i)(j) performed during each of said time intervals Δ
T(i)(j);(5) establishing the maintenance time interval Δ
T(MAIN)(2), wherein (MAIN) is set to the value of (i) for the one of said plurality of time intervals Δ
T(i)(1) during which the fewest number of database inquiries R(i)(1) were performed;(6) setting RREF equal to R(MIN−
1)(1), wherein R(MIN−
1)(1) comprises the number of database inquiries performed during the time interval Δ
T(MIN−
1)(1), wherein Δ
T(MIN−
1)(1) comprises the time interval immediately preceding the one of said plurality of time intervals Δ
T(i)(1) during which the fewest number of database inquiries R(i)(1) were performed;(7) setting (j)=(j)+1; (8) commencing time period P(j) at time T(1)(j), wherein time period P(j) comprises a plurality of time intervals Δ
T(i)(j), wherein (i) is greater than or equal to 1 and less than or equal to (N);(9) recording the number of database queries R(i)(j) performed during each of said time intervals Δ
T(i)(j); and(10) determining if R(MIN−
1)(j) is greater than about 1.1*RREF;(11) operative if R(MIN−
1)(j) is not greater than about 1.1*RREF.performing database maintenance during time interval Δ
T(MAIN)(j); andrepeating steps (7), (8), (9), (10)(11), and (12); (12) operative if R(MIN−
1)(j) is greater than about 1.1*RREF;determining Δ
T(MIN)(j), wherein Δ
T(MIN)(j) comprises the one of said plurality of time intervals Δ
T(i)(j) during which the fewest number of database inquiries R(i)(j) were performed;setting maintenance time interval Δ
T(MAIN)(j+1), wherein the value of (MAIN) is set to the value of (i) for the one of said plurality of time intervals Δ
T(i)(j) during which the fewest number of database inquiries R(i)(j) were performed;setting RREF equal to R(MIN−
1)(j), wherein R(MIN−
1)(j) comprises the number of database inquiries performed during the time interval Δ
T(MIN−
1)(j), wherein Δ
T(MIN−
1)(j) comprises the time interval immediately preceding the one of said plurality of time intervals Δ
T(i)(j) during which the fewest number of database inquiries R(i)(j) were performed repeating steps (7), (8), (9), (10), (11), and (12).
-
-
18. A computer program product usable with a programmable computer processor having computer readable program code embodied therein to schedule database maintenance, wherein said database comprises information relating to one or more information storage media disposed in a data storage and retrieval system, comprising:
-
computer readable program code which causes said programmable computer processor to select a first time period, wherein said first time period comprises two or more first time intervals; computer readable program code which causes said programmable computer processor to commence said first time period at a first time and ending said first time period at a third time; computer readable program code which causes said programmable computer processor to perform one or more database queries during said first time period; computer readable program code which causes said programmable computer processor to record the number of database queries performed during each of said two or more first time intervals; computer readable program code which causes said programmable computer processor to determine the least utilized first time interval, wherein said least utilized first time interval comprises the one of said two or more first time intervals during which the fewest database queries were performed, wherein said least utilized first time interval commenced at a second time; computer readable program code which causes said programmable computer processor to calculate the a first time difference between said first time and said second time; computer readable program code which causes said programmable computer processor to schedule said database maintenance at a fourth time, wherein said fourth time equals said third time plus said first time difference; computer readable program code which causes said programmable computer processor to receive a request from said one or more host computers to mount a first information storage medium in one of said one or more data storage devices, wherein said first information storage medium comprises one of said one or more information storage media; computer readable program code which causes said programmable computer processor to identify said first information storage medium by performing one of said one or more database queries; computer readable program code which causes said programmable computer processor to form a prediction of future database usage based upon said number of database inquiries performed during said first time period. - View Dependent Claims (19, 20)
-
Specification