-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Bad performance when reading CLOBs on Oracle #546
Comments
Do you have any solution for that? |
Hmmm, I guess this one slipped through some come cracks. In theory this should be copy-pasta of the existing implementation. Are there any other consequences of this property? I'm not an expert on oracle... |
Is there a solution to this problem? |
I hacked around it by creating a custom parameters class:
|
I'm torn here, it looks like the default is zero (according to the docs), but My current thinking is when we're looking at how we do options in v3, we add this for the user to set, and stick with defaults otherwise. |
I agree...it would be best if it's configurable since the tradeoff can be major in either direction. |
Currently dapper is setting
InitialLongFetchSize
to -1 if the command supports it in order to avoid the n+1 problem when reading LONG columns from a database like Oracle. It would be great if it could also setInitialLOBFetchSize
to -1 as well. Currently my performance is horrible when reading a query returning CLOB.The text was updated successfully, but these errors were encountered: