for Moodle we only keep 5 mbz by course. It can be configure in the Moodle administrator.
Older are automatically deleted during the backup.
It doesn't have an influence on Moodle performance (can be on the backup).
You can play with these parameters
backup | backup_auto_delete_days
backup | backup_auto_max_kept
Hope it's help.