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

Support for reporting progress of long-running queries #1202

Closed
maxalbert opened this issue Aug 27, 2019 · 0 comments · Fixed by #2095
Closed

Support for reporting progress of long-running queries #1202

maxalbert opened this issue Aug 27, 2019 · 0 comments · Fixed by #2095
Assignees
Labels
discussion enhancement New feature or request FlowAPI Issues related to the FlowKit API FlowDB Issues related to FlowDB FlowMachine Issues related to FlowMachine visualization

Comments

@maxalbert
Copy link
Contributor

It would be useful to have better support for reporting progress / estimated duration until completion for long-running queries. Use cases are UIs that interact with FlowKit via the API (e.g. for visualisation) as well as debugging, code development and optimisation (to get a better feel for how queries scale).

As far as I'm aware PostgreSQL doesn't provide a lot of built-in support for this, but it is possible that we can provide some custom scaffolding for certain query types - e.g. if a large query is composed of smaller ones and these are cached then we can determine how many of them have already been calculated and estimate the progress this way.

(On a tangential note, a similar approach may also be useful when starting up flowdb containers with large sample data - we could add support for querying how many days of sample data have already been generated and display a progress bar based on this.)

I'm not sure how much we'll be able to do in this regard, but especially for user feedback through the API it would be good to have some support.

@maxalbert maxalbert added enhancement New feature or request FlowMachine Issues related to FlowMachine FlowDB Issues related to FlowDB FlowAPI Issues related to the FlowKit API discussion visualization labels Aug 27, 2019
@greenape greenape self-assigned this Mar 10, 2020
@greenape greenape mentioned this issue Mar 10, 2020
8 tasks
@mergify mergify bot closed this as completed in #2095 Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request FlowAPI Issues related to the FlowKit API FlowDB Issues related to FlowDB FlowMachine Issues related to FlowMachine visualization
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants