run_analyze
ANALYZE a PostgreSQL table to refresh planner statistics and improve query performance. Use dry_run to preview before applying; prior stats are audited.
Instructions
[WRITE][risk=medium] ANALYZE a table to refresh planner statistics.
No undo; captures prior stats for audit. Pass dry_run=True to preview.
Args:
table: Table name (optionally schema-qualified).
dry_run: If True, preview without running.
target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| target | No | ||
| dry_run | No |