Skip to main content

EXECUTIONPARALLELISM in resource Pool

  • November 9, 2019
  • 4 replies
  • 9 views

hsaxena20
Forum|alt.badge.img+1

Whats does it mean EXECUTIONPARALLELISM? and how we can set it?
Why it is required?

4 replies

Nimmi_gupta
Forum|alt.badge.img
  • Participating Frequently
  • November 11, 2019

EXECUTIONPARALLELISM – imposes a limit on the maximum number of threads that any single request can use.
Use this parameter to limit the number of threads that would be used to process any single query issued in this resource pool.
Reducing this parameter may increase the throughput of short queries issued in the pool, especially if the queries are executed concurrently. If you choose the default of AUTO, Vertica sets this value for you.
If you choose to manually set this parameter, set it to a value between 1 and the number of cores.
Run the below query to set the executionparallelism.
Syntax)
ALTER RESOURCE POOL pool‑name [ parameter‑name setting ]…
ex)
ALTER RESOURCE POOL recovery executionparallelism 10;
ALTER RESOURCE POOL


hannah_shachar
  • New Participant
  • September 28, 2023

I am in version 12 and I would like to know what it will choose in AUTO? Does it choose on the fly on every query or does it choose once? If I upgraded the server and have more cores, will it automatically update?


lybhrwn742
Forum|alt.badge.img+1
  • Participating Frequently
  • October 2, 2023

Please correct me if I'm wrong, It might hurt the query but reduce the overall load on the cluster. I've a case where there are several queries that consume 100% cpu on all nodes in the cluster for approx. 30 min. During this time, the cluster is stuck and simple queries from system tables and other tables do not complete in reasonable time.
is reducing EXECUTIONPARALLELISM can help in this case? I tried other options which didn't work (CPU affinity, cascade to a low priority pool, etc.)
Thanks


SruthiA
Forum|alt.badge.img+1
  • Participating Frequently
  • October 6, 2023

@lybhrwn742 : Depending on the type of queries running in that pool, you can change executionparallelism. Please find the below link which has some scenarios and how to tune resource pools

https://www.vertica.com/kb/BestPracticesforManagingResourcePools/Content/BestPractices/BestPracticesforManagingResourcePools.htm