Resource Pool Settings

Moderator: NorbertKrupa

Post Reply
hopewell
Beginner
Beginner
Posts: 29
Joined: Wed Mar 27, 2013 10:39 pm

Resource Pool Settings

Post by hopewell » Wed Nov 19, 2014 5:21 pm

Howdy,

Are the resource pool settings (i.e. maxmemorysize, plannedconcurrency, etc) per node or per cluster?

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: Resource Pool Settings

Post by NorbertKrupa » Wed Nov 19, 2014 6:12 pm

If you take a look at the documentation, you should find your answer in the descriptions of the parameters.
MEMORYSIZE 'sizeUnits'

Amount of memory allocated to the resource pool. Memory allocated to this pool is per node and not across the whole cluster.

PLANNEDCONCURRENCY

This is a cluster-wide maximum and not a per-node limit.
Checkout vertica.tips for more Vertica resources.

scutter
Master
Master
Posts: 302
Joined: Tue Aug 07, 2012 2:15 am

Re: Resource Pool Settings

Post by scutter » Wed Nov 19, 2014 10:24 pm

I laugh, because this documentation is actually incorrect:
PLANNEDCONCURRENCY

This is a cluster-wide maximum and not a per-node limit.
PLANNEDCONCURRENCY does not set a limit. MAXCONCURRENCY sets a limit. PLANNEDCONCURRENCY provides a guideline for the purpose of budgeting memory for queries but it does not provide any kind of guarantee on concurrency or maximum on concurrency.
Sharon Cutter
Vertica Consultant, Zazz Technologies LLC

hopewell
Beginner
Beginner
Posts: 29
Joined: Wed Mar 27, 2013 10:39 pm

Re: Resource Pool Settings

Post by hopewell » Thu Nov 20, 2014 2:14 pm

Thanks all! Now I get it :!:

I was a little confused as to why the planned_concurrency column is in the resource_pool_status table which can be broken out by node (node_name column)... I guess the planned_concurrency will be the same for each pool on all nodes.

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: Resource Pool Settings

Post by NorbertKrupa » Thu Nov 20, 2014 3:27 pm

scutter wrote:I laugh, because this documentation is actually incorrect:.
Let Sarah know!
Checkout vertica.tips for more Vertica resources.

scutter
Master
Master
Posts: 302
Joined: Tue Aug 07, 2012 2:15 am

Re: Resource Pool Settings

Post by scutter » Thu Nov 20, 2014 4:37 pm

If plannedconcurrency is set to AUTO, then it can result in different values on different nodes in resource_pool_status if the servers aren’t homogeneous - one server having more cores than others. That’s not ideal, but happens sometimes as new hardware is added to an existing cluster without upgrading older nodes.

Norbert, I shall enter a bug report against the documentation :-)
Sharon Cutter
Vertica Consultant, Zazz Technologies LLC

Post Reply

Return to “New to Vertica Database Administration”