Skip to main content
Glama

MySQL-Performance-Tuner-Mcp

get_memory_by_host

Analyze MySQL memory usage by host, user, or event type to identify resource consumption patterns and optimize database performance through detailed memory allocation insights.

Instructions

Get memory usage breakdown by host or user.

Uses sys schema or performance_schema to show:

  • Memory allocated per host

  • Memory allocated per user

  • Memory by event/operation type

Requires performance_schema memory instrumentation enabled.

Input Schema

NameRequiredDescriptionDefault
group_byNoGroup memory byhost
limitNoMaximum results to return

Input Schema (JSON Schema)

{ "properties": { "group_by": { "default": "host", "description": "Group memory by", "enum": [ "host", "user", "event_name" ], "type": "string" }, "limit": { "default": 25, "description": "Maximum results to return", "type": "integer" } }, "required": [], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/isdaniel/MySQL-Performance-Tuner-Mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server