Added performance metrics, implemented transaction around DELETE