工具 API

list_slow_queries

<use_case> Use this tool to list slow queries from your Neon database. </use_case> <important_notes> This tool queries the pg_stat_statements extension to find queries that are taking longer than expected. The tool will return queries sorted by execution time, with the slowest queries first. </important_notes>

devOAuth1 积分

调用信息

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

输入参数

projectId必填

The ID of the project to list slow queries from

branchId

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

databaseName

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

computeId

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

minExecutionTime

Minimum execution time in milliseconds to consider a query as slow