Replies: 2 comments
-
|
Hi @rmccu, it sounds like you've got 2 issues going on: possible performance issues in
|
Beta Was this translation helpful? Give feedback.
-
|
1a. I don't have this, but can ask the dev team. I was just told that we are generating ~2M logs a day
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I apologize for all of the discussion posts recently with suggestions for the
LogEntryEventHandlerclass. I was reviewing the class as part of a performance investigation and as I was in there I figured I would ask some questions about the code.We are seeing a performance issue that appears to be related to
LogEntryEventHandler. It is consuming 50% of the DB CPU for 1 node and is causing us to get throttled. My suspicion is that it has to do with the Logger Tags.We also have a bulk delete operation running in the background as well that was encountering a lot of errors. I met with that team today and changed how we are deleting from deleting the
Logrecords (and relying on the cascading delete toLog EntryandLog Entry Tag), to instead delete theLog Entry Tagrecords first (sorted by Tag) in serial mode, then I think they can delete theLogrecords and cascade intoLog Entry. As a fallback, I will have them delete theLog Entryrecords in parallel before deletingLogrecords in parallel.Does this sound like it is the culprit? Or is there something additional I should look at in the
LogEntryEventHandlerclass? I think we are generating around 2MLogrecords a day.Beta Was this translation helpful? Give feedback.
All reactions