On Sun, Feb 15, 2026 at 02:38:40PM -0500, Andres Freund wrote:
> And again, any users with more than the bare minimum of permissions can cause
> arbitrarily much WAL to be emitted, in very hard to identify ways. If you're
> concerned about users triggering too high WAL usage, ISTM your time would be
> much better spent introducing infrastructure to track per-session or even per
> user WAL generation.

For the per-session tracking, this is what the backend-level
statistics are basically able to do for WAL data since v18, no?  For
user-level tracking, I don't think that it would be that difficult to
implement, I am just not sure how relevant it could be for real world
cases.
--
Michael

Attachment: signature.asc
Description: PGP signature

Reply via email to