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

Holding cursor open #24

Open
detule opened this issue Sep 17, 2020 · 0 comments
Open

Holding cursor open #24

detule opened this issue Sep 17, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@detule
Copy link
Owner

detule commented Sep 17, 2020

Currently, while paging in the main execution window, or in the table preview we hold the cursor open, and only fetch a new result set when the user asks / prompts the client to see a new page-worth-of-data.

This is fine, however in situations where the user, for example, steps away from the client for hours (days?) you end up unnecessarily holding an open session to the server, which might in turn, for example show up on various DBA alerts.

Possible solutions:

  • Continue to fetch async regardless of whether the user is prompting for a new page, until such time that the result set is depleted OR the user exits the pager / preview window. Probably some contentious thread locking will be needed here.
  • Some sort of a time-out?
@detule detule added enhancement New feature or request help wanted Extra attention is needed labels Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant