forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf1affb6
committed
Reintroduce dead tuple counter in pg_stat_progress_vacuum.
Commit667e65a changed both num_dead_tuples and max_dead_tuplescolumns to dead_tuple_bytes and max_dead_tuple_bytes columns,respectively. But as per discussion, the number of dead tuplescollected still provides meaningful insights for users.This commit reintroduces the column for the count of dead tuples,renamed as num_dead_item_ids. It avoids confusion with the number ofdead tuples removed by VACUUM, which includes dead heap-only tuplesbut excludes any pre-existing LP_DEAD items left behind byopportunistic pruning.Bump catalog version.Reviewed-by: Peter Geoghegan, Álvaro Herrera, Andrey BorodinDiscussion:https://postgr.es/m/CAD21AoBL5sJE9TRWPyv%2Bw7k5Ee5QAJqDJEDJBUdAaCzGWAdvZw%40mail.gmail.com1 parent56a8296 commitf1affb6
File tree
6 files changed
+27
-9
lines changed- doc/src/sgml
- src
- backend
- access/heap
- catalog
- include
- catalog
- commands
- test/regress/expected
6 files changed
+27
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6268 | 6268 | | |
6269 | 6269 | | |
6270 | 6270 | | |
| 6271 | + | |
| 6272 | + | |
| 6273 | + | |
| 6274 | + | |
| 6275 | + | |
| 6276 | + | |
| 6277 | + | |
| 6278 | + | |
| 6279 | + | |
6271 | 6280 | | |
6272 | 6281 | | |
6273 | 6282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2883 | 2883 | | |
2884 | 2884 | | |
2885 | 2885 | | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
2886 | 2891 | | |
2887 | 2892 | | |
2888 | 2893 | | |
2889 | 2894 | | |
2890 | | - | |
2891 | | - | |
2892 | | - | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
2893 | 2899 | | |
2894 | 2900 | | |
2895 | 2901 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1221 | 1221 | | |
1222 | 1222 | | |
1223 | 1223 | | |
1224 | | - | |
| 1224 | + | |
| 1225 | + | |
1225 | 1226 | | |
1226 | 1227 | | |
1227 | 1228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2052 | 2052 | | |
2053 | 2053 | | |
2054 | 2054 | | |
2055 | | - | |
2056 | | - | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
2057 | 2058 | | |
2058 | 2059 | | |
2059 | 2060 | | |
| |||
0 commit comments
Comments
(0)