工具 API

list_slow_queries

List queries from pg_stat_statements by execution time, slowest first. For sizes, indexes, locks, cache, bloat, or replication use inspect_database.

devOAuth1 积分

调用信息

工具标识
mcp-server-neon.list_slow_queries
服务提供方
Neon
平均响应
0 ms
近 7 天调用
0

输入参数

project_id

The ID of the project to list slow queries from. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.

branch_id

An optional ID of the branch. If not provided the default branch is used.

database_name

The name of the database. If not provided, the default neondb or first available database is used.

compute_id

The ID of the compute/endpoint. If not provided, the read-write compute associated with the branch will be used.

limit

Maximum number of slow queries to return

min_execution_time

Minimum execution time in milliseconds to consider a query as slow