Dynamic physical database design
First Claim
Patent Images
1. A method comprising:
- dynamically capturing a workload subset and related statistics from a query workload executing against a database of a database server;
storing the workload subset and the statistics in a memory on the database server;
limiting the size of the workload subset and the statistics based on a memory constraint; and
transferring the workload subset and the statistics to a database tuning component remote from the database server.
2 Assignments
0 Petitions
Accused Products
Abstract
A monitoring component of a database server collects a subset of a query workload along with related statistics. A remote index tuning component uses the workload subset and related statistics to determine a physical design that minimizes the cost of executing queries in the workload subset while ensuring that queries omitted from the subset do not degrade in performance.
-
Citations
30 Claims
-
1. A method comprising:
-
dynamically capturing a workload subset and related statistics from a query workload executing against a database of a database server;
storing the workload subset and the statistics in a memory on the database server;
limiting the size of the workload subset and the statistics based on a memory constraint; and
transferring the workload subset and the statistics to a database tuning component remote from the database server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A processor-readable medium comprising processor-executable instructions configured for:
-
monitoring a query workload, WL, executing on a database server over a sliding time interval;
capturing a workload subset, WL′
, of WL;
capturing statistics associated with WL;
storing WL′ and
the statistics in a main memory of the database server such that WL′ and
the statistics are limited in size according to a memory constraint m. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
-
23. A processor-readable medium comprising processor-executable instructions configured for:
-
receiving a workload subset, WL′
, and associated statistics from a database server;
receiving a coverage constraint regarding a physical database object, the coverage constraint specifying a percentage of queries in a workload WL using the physical database object that must be present in WL′
before the physical database object can be changed;
determining a physical design based on WL′ and
the associated statistics;
precluding a change to the physical database object in the physical design if the percentage of queries is not present within WL′
; and
permitting a change to the physical database object in the physical design if the percentage of queries is present within WL′
. - View Dependent Claims (24, 25, 26, 27)
-
-
28. A dynamic physical database design system comprising:
-
a database server;
a database store;
a continuous monitoring component configured to monitor a query workload executing on the database server against the database store, and to capture and compress a subset of the query workload and associated statistics over a specified time interval. - View Dependent Claims (29, 30)
-
Specification