On Sat, 12 Apr 2025 at 07:33, Sami Imseih <samims...@gmail.com> wrote: > What do you think of the attached?
I looked at the v3 patch and I'm having trouble getting excited about it. I'd say this part is misleading: @@ -3956,7 +3961,8 @@ description | Waiting for a newly initialized WAL file to reach durable storage <structfield>n_dead_tup</structfield> <type>bigint</type> </para> <para> - Estimated number of dead rows + Estimated number of dead rows (updated by committed transactions, or by + <command>VACUUM</command> and <command>VACUUM FULL</command>) </para></entry> An aborted insert will contribute to that counter, but that's not mentioned. Would it be ok just to adjust n_mod_since_analyze's "Estimated number of rows modified since this table was last analyzed" and inject "by committed transactions" after "modified", then call it a day? David