| CPC G06F 16/24542 (2019.01) [G06F 11/3075 (2013.01); G06F 11/3419 (2013.01)] | 20 Claims |

|
1. A method comprising:
probabilistically monitoring database activity by generating sample data for a set of one or more active database sessions at sample intervals, wherein the sample data is generated for a fraction of total database queries that are executed within a sample interval and are part of the database activity;
identifying, in the sample data, a set of active database queries and sample counter values associated with the set of active database queries at different sample interval times, wherein the sample counter values include a first sample counter value that tracks executions of an individual database query at a first sample time and a second sample counter value that tracks executions of the individual database query at a second sample time;
estimating, based at least on the sample counter values associated with the set of active database queries at the different sample interval times, one or more performance metrics for the set of active database queries, wherein estimating the one or more performance metrics for the set of active database queries includes computing a probabilistic performance metric for the individual database query using at least the first sample counter value and the second sample counter value, wherein the probabilistic performance metric is at least one of an estimated execution frequency or latency of the individual database query computed as a function of the first sample counter value and the second sample counter value; and
generating, based at least in part on the one or more performance metrics for the set of active database queries, an alert indicative of performance degradation associated with at least one active database query in the set of active database queries.
|