02 Jul 2024 05:50 AM - last edited on 19 Aug 2024 08:58 AM by Michal_Gebacki
Hi team, we installed MySQL Remote Monitoring Extension to monitor our databases in RDS. We can see all the dashboards populating except for database sizes which shows 0MB. Not sure which permissions are missing and how to get it populating.
Solved! Go to Solution.
02 Jul 2024 08:27 AM
Can I suggest you check remote extension logs in your Activegate?
https://docs.dynatrace.com/docs/shortlink/troubleshooting-active-extension#check-logs
02 Jul 2024 10:13 AM
If nothing sticks out in the logs, this is the query we execute to get the size:
SELECT table_schema AS "database",
ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) as "size"
FROM information_schema.tables
WHERE table_schema NOT IN ('information_schema', 'sys', 'performance_schema')
GROUP BY table_schema;
Can you run that one as the configured user and see what it returns in your environment?
03 Jul 2024 01:12 AM
Okay this query works as expected. The configured user wasn't granted permissions to the databases we wanted to show. Thanks, I'll mark this accepted.