top_tables
Find large database tables and inspect their size, rows, indexes, scans, and statistics; use fast estimates on big databases or exact sizing for precise results.
Instructions
Самые большие таблицы: размер, данные, индексы, число индексов, строк, seq/index scans, есть ли статистика. На больших базах — быстрый режим с оценкой; exact=true для точного обхода.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "top_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | точный размер через pg_total_relation_size (медленно на 10k+ таблиц) | |
| limit | No | сколько строк вернуть (по умолчанию 20) | |
| schema | No | ограничить схемой (PostgreSQL) | |
| refresh | No | игнорировать кэш 15 минут | |
| connection | No |