Hey Rohit,
In the Policy Orchestrator installation there is a 'Tools' directory. Here you can find the 'DeleteOldData.bat' to clean up the DB. You will need to configure the Bat file with the credentials for Policy Orchestrator.
Additionally, in the Tools\CommandLine\EventBaseUtil directory here is a Logs locations that can be used to troubleshoot any issues that come up.