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
Implement rate-limiting logic on how often backends will attempt to send
messages to the stats collector. This avoids the problem that enablingstats_row_level for autovacuum has a significant overhead for shortread-only transactions, as noted by Arjen van der Meijden. We can avoidan extra gettimeofday call by piggybacking on the one done for WAL-loggingxact commit or abort (although that doesn't help read-only transactions,since they don't WAL-log anything).In my proposal for this, I noted that we could change the WAL log entriesfor commit/abort to record full TimestampTz precision, instead of onlytime_t as at present. That's not done in this patch, but will be committedseparately.