I wrote a maintenance script for our database and would like to run this script depending on which tables most need to be cleaned / reindexed during our downtime every day. is there any way to determine what in postgres?
I would classify tables requiring attention as follows:
I see something roughly promising here
, -. ?
pg_stat_all_tables pg_stat_all_indexes.
. , .
, -.
, , :
, talbe 'foo' X X,
, ( ), / , .
, , custom-autovacuum-with-custom-'triggers'-criteria
custom-autovacuum-with-custom-'triggers'-criteria
, CRUD .
, , .
"" pl/sql, ...
, DB , script , , ... , (), ( ), , ...
Source: https://habr.com/ru/post/1710418/More articles:C ++ function call from C # - c ++Programming methodology diagram? - methodologyПриложения с открытым исходным кодом Winforms? - c#https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1710416/how-to-subclass-a-widget-to-add-more-elements-to-it&usg=ALkJrhhg8Q-7OLKoy57ZNaG7xNXfxsFKtwHow to build a project with software products and native code - designIs there any use in setting instance variables when calling its constructor, rather than in the constructor? - javahow to change persistence.xml at runtime - javaSend sound or stream of sound through lan - c #Changing the brightness of a Macbook (Pro) keyboard backlight - pythonAbout c arrays - cAll Articles