My Oracle Support Banner

How To Determine, Using A Query, When A Certain Query Started Running? (Doc ID 2457581.1)

Last updated on FEBRUARY 27, 2020

Applies to:

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


Is it possible to determine, using a query, when a certain query started running? For instance, in order to be able to implement a script that looks for long running queries and eventually 'kill' them.


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

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