AS the MSDB keep all the:
1)Backup and restore history,
2)SQL server agent job history.
3)Maintenance plan history.
and if we do not purge that regularily, the backup task will run longer and longer.
Any script to run on how many days of all of the above kept so that we know how many days only history we should keep?