How to remove old events and shrink the ePolicy Orchestrator database

How to remove old events and shrink the ePolicy Orchestrator database