|
1 | 1 | \ir warmup.psql |
2 | 2 | \echo '\033[1;35mMenu:\033[0m' |
3 | | -\echo ' 0 – Node & current DB information: master/replica, lag, DB size, tmp files, etc.' |
| 3 | +\echo ' 0 – Node and current database information: primary/replica, lag, database size, temporary files, etc.' |
4 | 4 | \echo ' 1 – Databases: size, stats' |
5 | 5 | \echo ' 2 – Tables: table/index/TOAST size, number of rows' |
6 | 6 | \echo ' 3 – Load profile' |
7 | | -\echo ' a1 – Current activity: count of current connections grouped by database, user name, state' |
| 7 | +\echo ' a1 – Current activity: count of current connections grouped by database, username, state' |
8 | 8 | \echo ' b1 – Table bloat (estimated)' |
9 | 9 | \echo ' b2 – B-tree index bloat (estimated)' |
10 | 10 | \echo ' b3 – Table bloat (requires pgstattuple; expensive)' |
11 | 11 | \echo ' b4 – B-tree indexes bloat (requires pgstattuple; expensive)' |
12 | 12 | \echo ' b5 – Tables and columns without stats (so bloat cannot be estimated)' |
13 | | -\echo ' e1 – Extensions installed in current DB' |
| 13 | +\echo ' e1 – Extensions installed in current database' |
14 | 14 | \echo ' i1 – Unused and rarely used indexes' |
15 | 15 | \echo ' i2 – Redundant indexes' |
16 | | -\echo ' i3 – FKs with missing/bad indexes' |
| 16 | +\echo ' i3 – Foreign keys with missing or bad indexes' |
17 | 17 | \echo ' i4 – Invalid indexes' |
18 | | -\echo ' i5 – Cleanup unused and redundant indexes – do & undo migration DDL' |
| 18 | +\echo ' i5 – Cleanup unused and redundant indexes – do and undo migration DDL' |
19 | 19 | \echo ' l1 – Lock trees (lightweight)' |
20 | 20 | \echo ' l2 – Lock trees, detailed (based on pg_blocking_pids())' |
21 | 21 | \echo ' p1 – [EXP] Alignment padding: how many bytes can be saved if columns are reordered?' |
|
25 | 25 | \echo ' s2 – Slowest queries report (requires pg_stat_statements)' |
26 | 26 | \echo ' t1 – PostgreSQL parameters tuning' |
27 | 27 | \echo ' v1 – Vacuum: current activity' |
28 | | -\echo ' v2 – Vacuum: vacuum progress and autovacuum queue' |
| 28 | +\echo ' v2 – Vacuum progress and autovacuum queue' |
29 | 29 | \echo ' q – Quit' |
30 | 30 | \echo |
31 | 31 | \echo Type your choice and press <Enter>: |
|
0 commit comments