Skip to content
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

[DM-41951] set auto commit to false #25

Merged
merged 1 commit into from
Dec 12, 2023
Merged

[DM-41951] set auto commit to false #25

merged 1 commit into from
Dec 12, 2023

Conversation

cbanek
Copy link
Contributor

@cbanek cbanek commented Dec 5, 2023

This mimics a change in lsst-tap-service to keep the memory usage small. Setting the auto commit to false should get the jdbc driver to use the cursor mode when reading back results. Without this it seems that the results of a query are currently fully read into memory before being returned.

@cbanek cbanek force-pushed the tickets/DM-41951 branch 2 times, most recently from c76b539 to 2f0692e Compare December 8, 2023 23:36
This might be holding open a transaction on the connection, making
memory go out of control.  The default here is true.
@cbanek cbanek changed the title [DM-41951] BufferedOutputStreams for everything [DM-41951] set auto commit to false Dec 12, 2023
@cbanek cbanek merged commit c7f79b2 into master Dec 12, 2023
1 check passed
@cbanek cbanek deleted the tickets/DM-41951 branch December 12, 2023 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant