-
Notifications
You must be signed in to change notification settings - Fork 545
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
Performance issue when querying varbinary(MAX), varchar(MAX), nvarchar(MAX) or XML with Async #88
Comments
This article also talks about same issue: https://dpaoliello.wordpress.com/2014/04/22/improving-async-performance-for-sqldatareader/ |
@Korayem thanks for reaching out. Not saying there isn't anything anything else we could do to improve the performance, but we are following the recommendations in https://dpaoliello.wordpress.com/2014/04/22/improving-async-performance-for-sqldatareader/. What version of EF Core are you using. AFAIR we may have made improvements in async performance after 1.0.0. Also have you tried following the recommendations in that article in your model's design? |
Yeah I am still working on it but was wondering whether this is possible On Tue, Oct 18, 2016 at 1:17 PM, Diego Vega [email protected]
|
When I first read the issue I was under the wrong impression that you were talking about EF Core, not EF6. This sentence is obviously not applicable. Still, we may have made improvements in EF6 releases and especially in .NET Framework releases. It would be useful if you could provide a repro and information about the specific versions of EF6 and .NET Framework you are using. |
We've discussed at length and concluded that EF is following the recommendations from the post. The biggest takeaway is that app developers should consider avoiding certain data types when using async. From the post...
|
@rowanmiller is this still the case with EF core 2.1? |
@alexzaytsev-newsroomly I don't believe anything in EF Core has changed around this. |
@rowanmiller, I would like to understand this issue better. What's the source that you pulled the quote from? |
@jwbats the quote is from the blog post linked above https://dpaoliello.wordpress.com/2014/04/22/improving-async-performance-for-sqldatareader/ Those recommendations echo my experience as well. Things have improved slightly with |
If I'm understanding this correctly, this issue looks like a dup of dotnet/SqlClient#593, so referring to a SqlClient issue with reading large binary/text data asynchronously. |
@roji yes, just to make aware that this is an age old issue. |
I am echoing this old issue: https://entityframework.codeplex.com/workitem/2686
The text was updated successfully, but these errors were encountered: