There is a scheduler, Prune Old Record Lists,
https://support.sugarcrm.com/documentation/sugar_versions/13.0/serve/administration_guide/system/schedulers/#Prune_Old_Record_Lists
which executes As Often As Possible. This scheduler will execute "optimize table record_lists" every 1 minute.
This table, record_list, is seldom populated with data, so there's little justification for running the table optimization part of the code.
-
Is it possible to modify the function so it only optimizes if data has been deleted?
-
Can we adjust the scheduler to run at irregular intervals in the Advanced Settings? Specifically, we want it to run once daily at a random time between 6 - 10 AM UTC.