We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Outbox records are deleted with where Dispatched = 'true' and DispatchedAt < @DispatchedBefore and since the outbox index only contains DispatchedAt (and Dispatched as the filter) this leads to the database indicating (correctly) that the index isn't optimal.
where Dispatched = 'true' and DispatchedAt < @DispatchedBefore
DispatchedAt
Dispatched
This will also likely leads to poor performance deleting large number of outbox records.
Index containing both the Dispached and the DispatchedAt column
Dispached
Index only contains the DispatchedAt column
All versions
No response
The text was updated successfully, but these errors were encountered:
Not really sure if you're talking about the correct column?
https://github.com/Particular/NServiceBus.Persistence.Sql/blob/5d40a9014a11833f41548b23b1a45a72123dc1ed/src/ScriptBuilder/Outbox/Create_MsSqlServer.sql
DispatchedAt is indexed. You mean Dispatched?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Description
Outbox records are deleted with
where Dispatched = 'true' and DispatchedAt < @DispatchedBefore
and since the outbox index only containsDispatchedAt
(andDispatched
as the filter)this leads to the database indicating (correctly) that the index isn't optimal.
This will also likely leads to poor performance deleting large number of outbox records.
Expected behavior
Index containing both the
Dispached
and theDispatchedAt
columnActual behavior
Index only contains the
DispatchedAt
columnVersions
All versions
Steps to reproduce
Relevant log output
No response
Additional Information
Workarounds
Possible solutions
Additional information
The text was updated successfully, but these errors were encountered: