A system , comprising: a processing system that includes one or more processors ; and a memory configured to store program code to be executed by the processing system , the program code configured to: receive an incoming query associated with a database of a query system ; determine at least one feature of the incoming query ; determine a system state of the query system ; determine a set of executing queries being executed by the query system and a query state of each executing query in the set; calculate a plurality of different possible execution times for executing the incoming query at least partially concurrently with the set of executing queries and a plurality of different possible execution times for executing the set of executing queries at least partially concurrently with the incoming query , the pluralities of different possible execution times being calculated according to ones of a set of parallel thread options and based at least on the query state of each executing query in the set; and initialize execution of the incoming query , against the database , with a number of processing threads that is at least based on the query state of each executing query in the set and one of the set of parallel thread options having an execution time of the different possible execution times that corresponds to a time of completion attribute . a processing system that includes one or more processors ; and a memory configured to store program code to be executed by the processing system , the program code configured to: receive an incoming query associated with a database of a query system ; determine at least one feature of the incoming query ; determine a system state of the query system ; determine a set of executing queries being executed by the query system and a query state of each executing query in the set; calculate a plurality of different possible execution times for executing the incoming query at least partially concurrently with the set of executing queries and a plurality of different possible execution times for executing the set of executing queries at least partially concurrently with the incoming query , the pluralities of different possible execution times being calculated according to ones of a set of parallel thread options and based at least on the query state of each executing query in the set; and initialize execution of the incoming query , against the database , with a number of processing threads that is at least based on the query state of each executing query in the set and one of the set of parallel thread options having an execution time of the different possible execution times that corresponds to a time of completion attribute . receive an incoming query associated with a database of a query system ; determine at least one feature of the incoming query ; determine a system state of the query system ; determine a set of executing queries being executed by the query system and a query state of each executing query in the set; calculate a plurality of different possible execution times for executing the incoming query at least partially concurrently with the set of executing queries and a plurality of different possible execution times for executing the set of executing queries at least partially concurrently with the incoming query , the pluralities of different possible execution times being calculated according to ones of a set of parallel thread options and based at least on the query state of each executing query in the set; and initialize execution of the incoming query , against the database , with a number of processing threads that is at least based on the query state of each executing query in the set and one of the set of parallel thread options having an execution time of the different possible execution times that corresponds to a time of completion attribute . <EOS>