@@ -4683,6 +4683,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
46834683 </para></entry>
46844684 </row>
46854685
4686+ <row>
4687+ <entry role="catalog_table_entry"><para role="column_definition">
4688+ <structfield>last_lock_skipped_vacuum</structfield> <type>timestamp with time zone</type>
4689+ </para>
4690+ <para>
4691+ Last time a manual vacuum on this table was attempted but skipped due to
4692+ lock unavailability (not counting <command>VACUUM FULL</command>)
4693+ </para></entry>
4694+ </row>
4695+
46864696 <row>
46874697 <entry role="catalog_table_entry"><para role="column_definition">
46884698 <structfield>last_autovacuum</structfield> <type>timestamp with time zone</type>
@@ -4693,6 +4703,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
46934703 </para></entry>
46944704 </row>
46954705
4706+ <row>
4707+ <entry role="catalog_table_entry"><para role="column_definition">
4708+ <structfield>last_lock_skipped_autovacuum</structfield> <type>timestamp with time zone</type>
4709+ </para>
4710+ <para>
4711+ Last time a vacuum on this table by the autovacuum daemon was attempted
4712+ but skipped due to lock unavailability
4713+ </para></entry>
4714+ </row>
4715+
46964716 <row>
46974717 <entry role="catalog_table_entry"><para role="column_definition">
46984718 <structfield>last_analyze</structfield> <type>timestamp with time zone</type>
@@ -4702,6 +4722,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
47024722 </para></entry>
47034723 </row>
47044724
4725+ <row>
4726+ <entry role="catalog_table_entry"><para role="column_definition">
4727+ <structfield>last_lock_skipped_analyze</structfield> <type>timestamp with time zone</type>
4728+ </para>
4729+ <para>
4730+ Last time a manual analyze on this table was attempted but skipped due to
4731+ lock unavailability
4732+ </para></entry>
4733+ </row>
4734+
47054735 <row>
47064736 <entry role="catalog_table_entry"><para role="column_definition">
47074737 <structfield>last_autoanalyze</structfield> <type>timestamp with time zone</type>
@@ -4712,6 +4742,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
47124742 </para></entry>
47134743 </row>
47144744
4745+ <row>
4746+ <entry role="catalog_table_entry"><para role="column_definition">
4747+ <structfield>last_lock_skipped_autoanalyze</structfield> <type>timestamp with time zone</type>
4748+ </para>
4749+ <para>
4750+ Last time at which an analyze on this table by the autovacuum was
4751+ attempted but skipped due to lock unavailability
4752+ </para></entry>
4753+ </row>
4754+
47154755 <row>
47164756 <entry role="catalog_table_entry"><para role="column_definition">
47174757 <structfield>vacuum_count</structfield> <type>bigint</type>
@@ -4722,6 +4762,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
47224762 </para></entry>
47234763 </row>
47244764
4765+ <row>
4766+ <entry role="catalog_table_entry"><para role="column_definition">
4767+ <structfield>lock_skipped_vacuum_count</structfield> <type>bigint</type>
4768+ </para>
4769+ <para>
4770+ Number of times manual vacuums on this table have been attempted but skipped
4771+ due to lock unavailability (not counting <command>VACUUM FULL</command>)
4772+ </para></entry>
4773+ </row>
4774+
47254775 <row>
47264776 <entry role="catalog_table_entry"><para role="column_definition">
47274777 <structfield>autovacuum_count</structfield> <type>bigint</type>
@@ -4732,6 +4782,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
47324782 </para></entry>
47334783 </row>
47344784
4785+ <row>
4786+ <entry role="catalog_table_entry"><para role="column_definition">
4787+ <structfield>lock_skipped_autovacuum_count</structfield> <type>bigint</type>
4788+ </para>
4789+ <para>
4790+ Number of times vacuums on this table by the autovacuum daemon have been
4791+ attempted but skipped due to lock unavailability
4792+ </para></entry>
4793+ </row>
4794+
47354795 <row>
47364796 <entry role="catalog_table_entry"><para role="column_definition">
47374797 <structfield>analyze_count</structfield> <type>bigint</type>
@@ -4741,6 +4801,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
47414801 </para></entry>
47424802 </row>
47434803
4804+ <row>
4805+ <entry role="catalog_table_entry"><para role="column_definition">
4806+ <structfield>lock_skipped_analyze_count</structfield> <type>bigint</type>
4807+ </para>
4808+ <para>
4809+ Number of times manual analyzes on this table have been attempted but
4810+ skipped due to lock unavailability
4811+ </para></entry>
4812+ </row>
4813+
47444814 <row>
47454815 <entry role="catalog_table_entry"><para role="column_definition">
47464816 <structfield>autoanalyze_count</structfield> <type>bigint</type>
@@ -4751,6 +4821,16 @@ description | Waiting for a newly initialized WAL file to reach durable storage
47514821 </para></entry>
47524822 </row>
47534823
4824+ <row>
4825+ <entry role="catalog_table_entry"><para role="column_definition">
4826+ <structfield>lock_skipped_autoanalyze_count</structfield> <type>bigint</type>
4827+ </para>
4828+ <para>
4829+ Number of times analyzes on this table by the autovacuum daemon have
4830+ been attempted but skipped due to lock unavailability
4831+ </para></entry>
4832+ </row>
4833+
47544834 <row>
47554835 <entry role="catalog_table_entry"><para role="column_definition">
47564836 <structfield>total_vacuum_time</structfield> <type>double precision</type>
@@ -4806,6 +4886,14 @@ description | Waiting for a newly initialized WAL file to reach durable storage
48064886 </tgroup>
48074887 </table>
48084888
4889+ <note>
4890+ <para>
4891+ When a manual vacuum or analyze on a parent table in an inheritance or
4892+ partitioning hierarchy is skipped, the statistics are recorded only for
4893+ the parent table, not for its children.
4894+ </para>
4895+ </note>
4896+
48094897 </sect2>
48104898
48114899 <sect2 id="monitoring-pg-stat-autovacuum-scores-view">
0 commit comments