Expand all | Collapse all

How to run multiple Queries in Parallel

  • 1.  How to run multiple Queries in Parallel

    Posted 11-25-2019 07:59
    Query 1
    Please let us know if any specific configuration required if would like to run multiple queries in parallel (CPU Version). 

    Query 2
    How to abort any query in between. We have observed that query abort takes lot of time.

  • 2.  RE: How to run multiple Queries in Parallel

    Posted 11-25-2019 10:42
    Hi @Sumit Srivastava,

    About your first question:

    As you can read in those threads (which focuses mainly on GPU execution, but in this case is the same)



    OmniSci query execution is almost serial avoiding locking to maximize the usage of hardware resources, so there isn't any parameter to change the present behavior.

    As you can read in the first link, you can set-up multiple omnisci instances with the same data with a load-balancer.

    About the second question, as a workaround, you can turn on the dynamic watchdog turning on the enable-dynamic-watchdog (it will stop any query exceeding dynamic-watchdog-time-limitthat default to 10000ms) and optimizing the offendings statements.

    If you have a problematic query we will be happy to assist you to optimize statements and/or schemas to run better on the omnisci database.