Automatically identifying queries that are now running more slowly (i.e. regressed), and changing these to use a previously faster query plan, could prove to be a very useful feature. The chapter ...
Build a lightweight SQL regression detector that tracks latency, detects anomalies, analyzes plans, and catches slowdowns ...