generate_dry_run_plan
Estimate lock duration and production outage risk before running SQL migrations by analyzing row counts. Identify high-risk DDL changes to plan safer deployment windows.
Instructions
Estimate lock duration and production outage risk based on table row count.
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": {
"sql": "<sql>"
},
"name": "generate_dry_run_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Raw SQL migration script. | |
| sample_row_count | No | Estimated target table row count (default: 100,000). |