You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observation: I tried clicking the "run query" button multiple times while a query was processing, Meanwhile it processed the empty queries and resulted in "Query not entered!" multiple times.
It can be annoying for the user when a query takes much time to process and the user keeps clicking the button.
Recommendation: "Button should be disabled until the previous query is being processed".
"Procedure": I throttled the browser to 3G, and run a single query, and clicked the "run query" button multiple times.
The text was updated successfully, but these errors were encountered:
What if the "run query" button is only clickable when the query box is not empty. This could prevent showing error when clicking multiple times. Additionally, this could allow execution a faster query while a slower query is still running though I'm not sure if this would work because I was not able to test it. Even after throttling, the first query would return faster than I could run a second one.
Hello, @AhmarZaidi good observation to run multiple queries simultaneously.
Since PostgreSQL is able to handle 100+ clients at a time, But for that, I guess PostgreSQL opens multiple sessions.
Therefore I am not sure whether a single session can run multiple queries or not.
I will confirm it and then will let you know.
This wouldn't be appropriate as it would block multiple queries being submitted. Client picks an available connection from a pool of open connections to submit other queries. Here's an example of a first query that takes longer to process than the second query. Second query made returns first.
Observation: I tried clicking the "run query" button multiple times while a query was processing, Meanwhile it processed the empty queries and resulted in "Query not entered!" multiple times.
It can be annoying for the user when a query takes much time to process and the user keeps clicking the button.
Recommendation: "Button should be disabled until the previous query is being processed".
"Procedure": I throttled the browser to 3G, and run a single query, and clicked the "run query" button multiple times.
The text was updated successfully, but these errors were encountered: