RDS没有PS库
rds有控制台啊,定位下是哪个用户的连接数突然上涨,然后找到对应的app就好了。
https://help.aliyun.com/document_detail/41714.htm?spm=a2c4g.11186623.0.0.69f23787OWD0fv
select user, db, substring_index(host,’:’,1) as host, count(*) as cnt from information_schema.processlist group by user, db, substring_index(host,’:’,1) order by user, db, host;
user
host