Database cleanup before PostgreSQL 18 upgrade: recommended retention period for log/statistics tables?

You can control the retention period of this one using site settings.

Those are meant to be kept forever, and they are usually the largest tables in most instances, so I wouldn’t worry about that.