correlation between resource pool memory usage and o/s memory usage
Hi all,
i'm having hard time to correlate the consumption of memory in resource_pool_status
and system_resource_usage/host_resources or even memory usage from the os itself.
my cluster / os info :
10 node cluster reside on amazon aws (m3.2xlarg)
vertica 6.1.3
30 GB RAM 8 CPU
When we are running about 6-8 queries I'm seeing in resource_pool_status that it consume
about 22 GB of ram which is almost 80% usage while looking at the o/s metrics (all of them give the same results) I see about 30%-40% usage.
If the o/s is right then we are not utilizing all of our memory and getting into the queue at about 40% memory usage.
If resource pool is right then why do I see this diff.
Does someone has this issue ? or can explian me how to solve this issue ?
I ran a simple test case that insert into a table the result of the os memory and resource pool memory.
I run it in loop for several minutes.
insert into rpvsos
select * from
(select sysdate::timestamptz as os_date,substr(node_name,instr(node_name,'node')) as os_node_name
,((total_memory_bytes - (total_memory_free_bytes+total_buffer_memory_bytes+total_memory_cache_bytes))/1024/1024)::number(30,2)
||' ('||((total_memory_bytes - (total_memory_free_bytes+total_buffer_memory_bytes+total_memory_cache_bytes)) / total_memory_bytes*100)::number(4,2)||'%)' "usage"
from host_resources hr join nodes n on (hr.host_name = n.node_address)
where (node_name = 'v_insight_node0003' )
) a
join
(select sysdate::timestamptz as rp_date,node_name as rp_node_name,sum(running_query_count) as running_query_count,
sum((memory_inuse_kb/1024))::int as mem_inuse
FROM RESOURCE_POOL_STATUS
where node_name = 'v_insight_node0003'
group by node_name ) b
on (1=1)
;
commit;
Thanks
i'm having hard time to correlate the consumption of memory in resource_pool_status
and system_resource_usage/host_resources or even memory usage from the os itself.
my cluster / os info :
10 node cluster reside on amazon aws (m3.2xlarg)
vertica 6.1.3
30 GB RAM 8 CPU
When we are running about 6-8 queries I'm seeing in resource_pool_status that it consume
about 22 GB of ram which is almost 80% usage while looking at the o/s metrics (all of them give the same results) I see about 30%-40% usage.
If the o/s is right then we are not utilizing all of our memory and getting into the queue at about 40% memory usage.
If resource pool is right then why do I see this diff.
Does someone has this issue ? or can explian me how to solve this issue ?
I ran a simple test case that insert into a table the result of the os memory and resource pool memory.
I run it in loop for several minutes.
insert into rpvsos
select * from
(select sysdate::timestamptz as os_date,substr(node_name,instr(node_name,'node')) as os_node_name
,((total_memory_bytes - (total_memory_free_bytes+total_buffer_memory_bytes+total_memory_cache_bytes))/1024/1024)::number(30,2)
||' ('||((total_memory_bytes - (total_memory_free_bytes+total_buffer_memory_bytes+total_memory_cache_bytes)) / total_memory_bytes*100)::number(4,2)||'%)' "usage"
from host_resources hr join nodes n on (hr.host_name = n.node_address)
where (node_name = 'v_insight_node0003' )
) a
join
(select sysdate::timestamptz as rp_date,node_name as rp_node_name,sum(running_query_count) as running_query_count,
sum((memory_inuse_kb/1024))::int as mem_inuse
FROM RESOURCE_POOL_STATUS
where node_name = 'v_insight_node0003'
group by node_name ) b
on (1=1)
;
commit;
Thanks
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.