A Query That Refers to User Variables is Very Slower Than Expected
(Doc ID 2953205.1)
Last updated on JUNE 02, 2023
Applies to:
MySQL Server - Version 8.0 and laterInformation in this document applies to any platform.
Symptoms
Issue Clarification
--------------------------
When substituting a string constant with a @user variable containing the same string, in a particular query, the query becomes magnitudes slower.
Changes
User variables are used in place of string constants.
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |