After connecting to a database, run the following SQL statement to check the maximum number of concurrent sessions globally:
1 | show max_active_statements; |
Go to the Cloud Eye console and set the threshold to 70% to 80% of the obtained value. For example, if the value of max_active_statements is 80, set the threshold to 56 (80 x 70%).
Procedure:
in the upper left corner on the displayed page and click Create Alarm Rule of the target cluster.
