I am seeing a slowdown in DA performance, wondering if others see the same sort of thing.
Background - The overall goal is to create a reporting table of all records (around 22 million objects). I start everything off with an agent. This agent creates a "temporary table", identifies all of the records (min id, max id, count to process), and starts the DA job to insert all of the records into the "temporary table". Finally there is a 2nd agent that checks to see if the DA job(s) are done and when they are this 2nd agent builds indexes, removes the reporting table, and renames the "temporary table". The DA job(s) are simple job type and either split the work into smaller subtasks or perform the work to insert into the temporary table (based on the count of objects to process).
One of the fields I insert is a date/time stamp. I use this field to count the number of records inserted per hour. Here is what I am seeing:
17-Nov-16 10:00:00 293,383
17-Nov-16 11:00:00 298,162
17-Nov-16 12:00:00 300,782
17-Nov-16 13:00:00 307,939
17-Nov-16 14:00:00 301,982
17-Nov-16 15:00:00 293,684
17-Nov-16 16:00:00 298,283
17-Nov-16 17:00:00 276,290
...
19-Nov-16 17:00:00 166,753
19-Nov-16 18:00:00 158,958
19-Nov-16 19:00:00 159,071
19-Nov-16 20:00:00 156,390
19-Nov-16 21:00:00 148,981
19-Nov-16 22:00:00 153,021
19-Nov-16 23:00:00 155,318
...
21-Nov-16 3:00:00 99,664
21-Nov-16 4:00:00 98,617
21-Nov-16 5:00:00 96,545
21-Nov-16 6:00:00 97,847
21-Nov-16 7:00:00 193,197
21-Nov-16 8:00:00 294,711
21-Nov-16 9:00:00 291,232
I've made numerous changes to try and improve the performance but I always see the same sort of behavior...a slowing over time, fixed by a restart of the CS service (as seen at 21-Nov 7AM), only to start slowing all over again. To try and eliminate my specific code as the culprit I created another set of Simple Jobs that split into smaller tasks eventually running a task that counts from 1 to 100,000 (so no DB activity other than normal DA processing). It exhibits this same sort of behavior.
I have noticed that before the restart of services the CS service is consuming a large amount of memory (one server this morning it was around 12 GB). Does this suggest some sort of memory leak?
Cheers...