cloud-sql-mysql-monitor

Analyze MySQL query metrics and resource utilization on Google Cloud SQL.

2|1|Updated May 25, 2026
One-click install
npx skills add https://github.com/interflownex/All-in-One --skill cloud-sql-mysql-monitor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloud-sql-mysql-monitor
Source: https://github.com/interflownex/All-in-One/tree/main/.gemini/skills/cloud-sql-mysql-monitor
Command: npx skills add https://github.com/interflownex/All-in-One --skill cloud-sql-mysql-monitor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @toolbox-sdk/server, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses performance bottlenecks in Google Cloud SQL for MySQL by providing granular visibility into query execution, system resource utilization, and database structural health.

Core Features & Use Cases

  • Query Performance Analysis: Identify slow-running queries and analyze execution plans to optimize indexing strategies.
  • System Monitoring: Track CPU, memory, network, and InnoDB buffer pool metrics using PromQL to ensure infrastructure stability.
  • Database Health Checks: Detect table fragmentation and identify tables lacking primary or unique keys to prevent data integrity issues.

Quick Start

Use the cloud-sql-mysql-monitor skill to list the top 10 active queries running on my database instance in project my-project-id.

Frequently Asked Questions about cloud-sql-mysql-monitor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I troubleshoot slow queries and analyze execution plans on Google Cloud SQL for MySQL?

To troubleshoot slow queries on Google Cloud SQL for MySQL, this Skill analyzes query execution metrics and execution plans to identify bottlenecks and optimize indexing strategies. It connects directly to the database to perform real-time performance audits.

How do I monitor Cloud SQL MySQL system resource utilization like CPU, memory, and InnoDB buffer pool metrics?

To monitor Cloud SQL MySQL system resources, this Skill uses PromQL to track CPU, memory, network, and InnoDB buffer pool metrics via Google Cloud Monitoring. This integration ensures your database infrastructure stability under load.

How can I detect table fragmentation and missing unique indexes in my MySQL database?

To detect table fragmentation and missing unique indexes in MySQL, this Skill executes diagnostic SQL commands to perform database health checks. This identifies tables lacking primary keys and prevents data integrity issues.

Do I need Google Cloud Monitoring integration and direct database connectivity to audit MySQL performance?

Yes, you need Google Cloud Monitoring integration and direct database connectivity to audit MySQL performance. These prerequisites enable PromQL-based metric tracking and real-time execution of diagnostic SQL for performance analysis.

What is the best way to identify the top active queries running on my Cloud SQL MySQL instance?

The best way to identify top active queries on a Cloud SQL MySQL instance is using this Skill's query performance analysis. It lists active queries by connecting to your project database instance and evaluating real-time execution metrics.

Why does my MySQL database experience performance bottlenecks and how can I gain granular visibility into them?

MySQL performance bottlenecks occur due to slow queries, resource limits, or schema issues. This Skill provides granular visibility into query execution, system resource utilization, and structural health to identify fragmented tables and missing indexes.