1. A method comprising: processing, by a computer system, a query in a first thread in a plurality of worker threads to generate a parsing task associated with the query; parsing, by the computer system, the query based on the parsing task to generate an execution plan comprising a plurality of ordered operations for answering the query; generating, by the computer system, a task graph based on the execution plan, the task graph comprising a plurality of task nodes corresponding to the plurality of ordered operations; identifying, by the computer system, a first task node in the plurality of task nodes corresponding to a first ordered operation in the plurality of ordered operations determined to be partitionable into sub operations for execution in parallel; generating, by the computer system, a concurrency level value that corresponds to a number of available worker threads in the plurality of worker threads; generating, by the computer system, a plurality of partitioned tasks for execution in parallel based on the first task node and the concurrency level value; instantiating, by the computer system, a data base management system (DBMS) application, wherein activating the plurality of worker threads comprises activating the plurality of worker threads inside the DBMS application; determining, by the computer system, that at least one of the plurality of worker threads is blocked; and allocating, by the computer system, an additional worker thread at an operating system level of the computer system.