-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change outbox record indexes and colums #144
Comments
Moved this comment into new issue #319 |
@ramonsmits is the partitioning something we can implement or should we create a guidance around it? |
I checked if this issue is still relevant to see if the indexes have changed but the indexes are still the same. |
@ramonsmits frankly I have no idea how to proceed with it according to our processes. I suggest you raise an issue in PlatDev. I doubt it could be treated as maintainer budget. |
This needs additional info WIP
We have the following indexes:
We have the following queries:
Uses: (2)
Uses (2) and (3)
Uses (3) and (4)
This is non optimal as multiple indexes need to be queried when updating and deleting which results in unneeded locking and can result in occasional deadlocks.
Proposal
References
https://github.com/Particular/NServiceBus.NHibernate/blob/master/src/NServiceBus.NHibernate/Outbox/EntityMappings.cs
Generated SQL:
The text was updated successfully, but these errors were encountered: