MGMT Server Database Maintenance

Hello. Is there some manual, how to properly make management server database maintenance? Is there some settings for automatic DB maintenance? Im asking, because our database became too big. Thank You very much.

If you go to settings on the Recast Management Sever portal, you can change the MaxAuditLogAge and MaxSnapshotAge so it will delete records older than the time set.