-
Notifications
You must be signed in to change notification settings - Fork 819
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
Make buffer size configurable via properties file #2999
Make buffer size configurable via properties file #2999
Conversation
…-add-configuration-property-for-buffer-size
…-add-configuration-property-for-buffer-size
The README needs to be updated with the new property and the docs/content/documentation/use.md |
README.md
Outdated
@@ -112,7 +112,7 @@ In addition to the standard connection parameters the driver supports a number o | |||
| binaryTransfer | Boolean | true | Use binary format for sending and receiving data if possible. Setting this to false disables any binary transfer | | |||
| binaryTransferEnable | String | "" | Comma separated list of types to enable binary transfer. Either OID numbers or names | | |||
| binaryTransferDisable | String | "" | Comma separated list of types to disable binary transfer. Either OID numbers or names. Overrides values in the driver default set and values set with binaryTransferEnable. | | |||
| prepareThreshold | Integer | 5 | Statement prepare threshold. A value of -1 stands for forceBinary | | |||
| binaryTransferBufferSize | Integer | 4096 | Size of buffers for copying inputs to outputs in case of OID creation using Blobs. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it relate to all the binary transfers or for blobs only?
If the parameter is related to blobs only, I would expect the name to contain something like blob or large object or something like that.
I suggest we start tracking @since 42.7.1
so the reader can see which parameters are supported in what versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its only for blobs, yes. binaryTransferBlobBufferSize
?
ee891fc
to
1dda743
Compare
@wegendt-bosch , thank you for the contribution, however, I am not merging this right now as adding properties requires putting more effort into naming, documentation, and maintenance. I think the vast majority of It would be great if you could test #3044 in your setup. |
Yup, that also fixes the performance issues for me. Thanks! |
Fixes #2957.
All Submissions: