Automated database cache resizing
AssigneeServiceNow, Inc.
InventorAnkit Khetarpal
Life of this patent
Estimating the term…
Abstract
A test query of a database is performed in response to determining that a performance associated with a user database query of the database does not satisfy a first performance threshold. In response to a determination that the performance of the test query satisfies a second performance threshold, a database buffer cache of the database is resized. Resizing the database buffer cache includes: determining a metric based at least in part on a storage size of the database and an index side of the database, and resizing the database buffer cache of the database based on the metric and a size of the database buffer cache.
Claims20
A method comprising:
- performing a test query of a database in response to determining that a performance associated with a user database query of the database does not satisfy a first performance threshold;
- and
- in response to a determination that the performance of the test query satisfies a second performance threshold, resizing a database buffer cache of the database, wherein resizing the database buffer cache includes:
- determining a metric based at least in part on a storage size of the database and an index side of the database;
- and
- resizing the database buffer cache of the database based on the metric and a size of the database buffer cache.
A system comprising:
- one or more processors;
- and
- a memory coupled to the one or more processors, wherein the memory is configured to provide the one or more processors with instructions which when executed cause the one or more processors to:
- perform a test query of a database in response to determining that a performance associated with a user database query of the database does not satisfy a first performance threshold;
- and
- in response to a determination that the performance of the test query satisfies a second performance threshold, resize a database buffer cache of the database, wherein causing the one or more processors to resize the database buffer cache includes causing the one or more processors to:
- determine a metric based at least in part on a storage size of the database and an index side of the database;
- and
- resize the database buffer cache of the database based on the metric and a size of the database buffer cache.
A computer program product embodied in a non-transitory computer readable medium and comprising computer instructions for:
- performing a test query of a database in response to determining that a performance associated with a user database query of the database does not satisfy a first performance threshold;
- and
- in response to a determination that the performance of the test query satisfies a second performance threshold, resizing a database buffer cache of the database, wherein resizing the database buffer cache includes:
- determining a metric based at least in part on a storage size of the database and an index side of the database;
- and
- resizing the database buffer cache of the database based on the metric and a size of the database buffer cache.
Dependencies are inferred from the claim text.