After a while old Terraform runs output are no longer relevant.
Consider purging them from the DB could help on OTF env where quite a few Terraform apply|plans are getting executed.
A optional configuration with variable time could be something that would help lower the stress on DB and help speed up web interface etc etc.