My Oracle Support Banner

How To Find Queries Taking Longer Than N Seconds? (Doc ID 2076876.1)

Last updated on SEPTEMBER 02, 2018

Applies to:

MySQL Server - Version 5.1 and later
Information in this document applies to any platform.

Goal

Learn how to find queries taking more than a given amount of time to complete.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 The Sys Schema session View
 The Performance Schema threads table
 The Information Schema PROCESSLIST table
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.