recommend_partitioning_and_archiving
Design declarative table partitioning and generate zero-bloat partition detach/drop retention runbooks, while validating composite primary key constraints for PostgreSQL and MySQL.
Instructions
Design declarative table partitioning (RANGE, LIST, HASH), validate composite Primary Key constraints (PART-PK-001), and generate zero-bloat partition detach/drop retention runbooks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dialect": "<dialect>",
"table_ddl": "<table_ddl>",
"estimated_total_rows": "<estimated_total_rows>"
},
"name": "recommend_partitioning_and_archiving"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dialect | Yes | ||
| table_ddl | Yes | ||
| retention_months | No | ||
| monthly_growth_rows | No | ||
| common_query_filters | No | ||
| estimated_total_rows | Yes |