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.
-
I apologize for all of the discussion posts recently with suggestions for the
LogEntryEventHandler
class. 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
Log
records (and relying on the cascading delete toLog Entry
andLog Entry Tag
), to instead delete theLog Entry Tag
records first (sorted by Tag) in serial mode, then I think they can delete theLog
records and cascade intoLog Entry
. As a fallback, I will have them delete theLog Entry
records in parallel before deletingLog
records in parallel.Does this sound like it is the culprit? Or is there something additional I should look at in the
LogEntryEventHandler
class? I think we are generating around 2MLog
records a day.Beta Was this translation helpful? Give feedback.
All reactions