Yeah if not ticked it'll just hold onto all event/task data in DB, also if you do check the retention boxes, it is worth checking in the VPX.Event table in the vCenter database by listing top rows to see if the creation time of the task matches the amount of days you have set as your retention. As it may not delete that historical database, you may need to do it manually... with the above stored procedure.