My Oracle Support Banner

Why does the same query statement (or DIGEST_TEXT) in performance_schema or sys schema have different DIGEST? (Doc ID 2385993.1)

Last updated on MAY 06, 2018

Applies to:

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


When running a query on tables or views in performance_schema or sys schema, it can be found that multiple rows with the same query statement (or DIGEST_TEXT) have different DIGEST. For example:

mysql> select distinct db,query,digest from sys.statement_analysis where query = 'SET NAMES 'UTF8' ;';



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.