Forum Post: Delete Function

  • Thread starter Thread starter jsniemi79
  • Start date Start date
Status
Not open for further replies.
J

jsniemi79

Guest
I have an object that I need to delete the records nightly and then re-import. I am using a data maintenance batdch job to run the delete record trigger. My issue is it is taking a really long time to run through the records. I had a couple days in a row where the delete failed due to a timeout setting in shared properties. Now I have about 3 times as many records in that object as I should and it is overstating the data. If I try to manually kick off the batch job, my browser hangs for 30-40 minutes before it says it was initiated and then it doesn't appear to be deleting any of the records. This is the code I have inside the batch job. Is there a better way to do this? Even when this was working early last week, it was taking a long time to process through the records.

Continue reading...
 
Status
Not open for further replies.
Back
Top