You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 6, 2021. It is now read-only.
F004 and F005 Recommendations: provide the full lists of tables/indexes for maintenance
In Recommendations sections of F004 and F005 reports:
* provide the full lists of tables/indexes that have high (>40%) level of estimated bloat, to simplify their processing,
* the list highly bloated indexes which belong to highly bloated tables is provided separately,
* always use fully-qualified names when the schema is not `public`.
constMSG_BLOAT_CRITICAL_RECOMMENDATIONstring="[P1] Reduce and prevent the high level of table bloat:\n"+
10
10
" - to prevent a high level of bloat in the future, tune autovacuum: consider more aggressive autovacuum settings (see F001);\n"+
11
11
" - eliminate or reduce the current table bloat using one of the approaches listed below.\n"
12
+
constMSG_BLOAT_WARNING_RECOMMENDATION_TABLESstring="The following tables have size > 1 MiB and table bloat estimate > %.2f%%. Use this list to reduce the bloat applying one of the approaches described below. Here are these tables: %s."
12
13
constMSG_BLOAT_WARNING_RECOMMENDATIONstring="[P2] Consider the following:\n"+
13
14
" - to prevent a high level of bloat in the future, tune autovacuum: consider more aggressive autovacuum settings (see F001);\n"+
14
15
" - eliminate or reduce the current table bloat using one of the approaches listed below.\n"
@@ -37,3 +37,6 @@ const MSG_BLOAT_WARNING_CONCLUSION_N string = "[P2] There are %d indexes with si
37
37
constMSG_BLOAT_CRITICAL_CONCLUSION_Nstring="[P1] The following %d indexes have significant size (>1 MiB) and bloat estimate > %.2f%%: \n%s \n"
38
38
39
39
constINDEX_DETAILSstring=" - `%s`: size %s, can be reduced %.2f times, by ~%s (~%.2f%%)\n"
40
+
41
+
constMSG_BLOAT_WARNING_RECOMMENDATION_INDEXESstring="The following indexes have size > 1 MiB and index bloat estimate > %.2f%%. Use this list to reduce the bloat applying one of the approaches described below. Here are these indexes: %s."
42
+
constMSG_BLOAT_WARNING_RECOMMENDATION_TABLE_INDEXESstring="And the following indexes also have size > 1 MiB and index bloat estimate > %.2f%%. However, they belong to the highly bloated tables (see F004), so if you plan to process those tables you may not need to use this additional list. Here are these indexes: %s."
0 commit comments