Coder Social home page Coder Social logo

Comments (4)

Nimra-1234 avatar Nimra-1234 commented on August 27, 2024 1

Hi @KamleshKumar427
You are right.I tried the same approach and observe this, its quite annoying.

Screenshot from 2022-12-18 13-30-58

from age-viewer.

AhmarZaidi avatar AhmarZaidi commented on August 27, 2024 1

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.

from age-viewer.

marodins avatar marodins commented on August 27, 2024 1

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.
Screenshot from 2022-12-26 12-06-02-2
Screenshot from 2022-12-26 12-14-10

from age-viewer.

KamleshKumar427 avatar KamleshKumar427 commented on August 27, 2024

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.

from age-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.