apply_maintenance_plan
Apply a reviewed nontransactional maintenance plan to PostgreSQL relations, supporting vacuum, analyze, reindex, and refresh operations.
Instructions
Apply an exact reviewed nontransactional maintenance plan
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Stable maintenance operation name | |
| parallel | No | VACUUM parallel workers | |
| operation | Yes | Structured maintenance operation | |
| review_hash | Yes | Exact review hash returned by create_maintenance_plan | |
| schema_name | Yes | Exact target schema | |
| skip_locked | No | Skip relations that cannot be locked immediately | |
| target_name | Yes | Exact relation or index name | |
| index_cleanup | No | VACUUM index cleanup policy | auto |
| timeout_seconds | No | ||
| lock_timeout_seconds | No |