⦠it seems it always compares the records date_modified with their date_entered values, regardless of running from āon saveā or āon schedulerā. So I would say it still applies as a restriction.
But I am not sure what date_entered means when āon schedulerā :huh:
If you have some time to test or run it with a debugger, Iād love to get to the bottom of this.
Hello Iām running into the problem that both of my tables are bigger than 10GB, making 20GB together. I tried the sql-query to delete some lines but the execution always fails (as the tables might be to big). Do you have an advice on what to do now?
did you change the date filters from 2017-10-15 00:00:00 to something more recent, like maybe 2018-09-01 00:00:00?
Even if your tables are huge, the select statement should work fine I would think?
Also, at least for debugging, donāt run the whole script in one go. Instead run the individual sql queries one at a time. Then at least youāll know which queries arenāt working.
i set a more recent date and split the whole script and after waiting a couple of hours, i was finally able to go through the whole script.
The aow_processed table still contains 3 Mio. lines now, so this one is getting bigger and bigger, month by month. The other table is ok. Would be great to see a solution to this whole table problem.
Iāve put this topic in my fav, cause for now Im in ātestā mode, Iāve got like 10 account 30 contact ect ⦠Iāve dont import my database yet, but thoses tables are already the biggest Iāve got :aow_processed, job_queue and aow_processed_aow_actions.
They are full of logs from the beggining, wich I dont really care about. Iāve got the scheduler āPRUNE DATABASE ON 1ST OF MONTHā running, in the log I got the last execution:
Prune Database on 1st of Month done 01/03/2019 04:00 01/03/2019 04:00
But I still got a lot of data, for exemple in job_queue I got data from the 21/02.
For now Im deleting thoses table when I can, but when Iāll import my real database it will be much larger since Iāve got like 3k5 acc, full of contact and Opportunities.
Do someone got a solution like a CRON or a maybe a view in database ?
I have a question about the aow_processed aow_processed_aow_actions tables. They take up a lot of space. Deleting them will cause the machine to start sending tons of emails. Can I delete records that are more than a month old? Or delete the status = failed and deleted =1 records.
I didnāt tried anything because i am afraid of tons of mails.