You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your improvement related to a problem? Please describe.
When doing outbox cleanup, a missing index (present when using SqlPersistence) results in suboptimal performance.
SqlPersistence creates an index for the DispatchedandDispatchedAt columns in the Outbox table. The Outbox cleanup process uses those columns at read time. Systems under heavy load tend to deal with large and high-throughput Outbox tables, and the cleanup process, without proper indexes, could significantly impact system performance.
Describe the suggested solution
Create the missing index.
Describe alternatives you've considered
Do nothing and document that the index can be manually created if the system requires it.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the suggested improvement
Is your improvement related to a problem? Please describe.
When doing outbox cleanup, a missing index (present when using SqlPersistence) results in suboptimal performance.
SqlPersistence creates an index for the
Dispatched
andDispatchedAt
columns in the Outbox table. The Outbox cleanup process uses those columns at read time. Systems under heavy load tend to deal with large and high-throughput Outbox tables, and the cleanup process, without proper indexes, could significantly impact system performance.Describe the suggested solution
Create the missing index.
Describe alternatives you've considered
Do nothing and document that the index can be manually created if the system requires it.
Additional Context
No response
The text was updated successfully, but these errors were encountered: