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
Send single payload in BeginTransactionAsync #1286
Comments
What do you propose instead? |
Previously:
|
if (isolationLevel != IsolationLevel.Unspecified) I tested that one less "set session transaction isolation level repeatable read;" script execution.There is a performance gain, but I don't know if there are other effects |
This would be a significant behavioural change for all existing users if If we need to optimise performance, I'd rather revert #774 and instruct the (small number of) users who are affected to opt out by using Is there any other reason to make this change, other than reducing DB roundtrips? |
Thank @bgrainger , my purpose is to optimise performance, through configuration optimization is a better solution. |
Fixed in 2.3.6. |
Discussion summary: Revert change in #774 and use
Pipelining = false
for databases that don't support a single payload. This will reduce the round-trips from 2 to 1 when starting a transaction.Can't the default level of the database be used?
This class seems to be one more database operation.
The text was updated successfully, but these errors were encountered: