pmap - anon pages



Hi,
This is a datawarehouse system , and parallel query is mostly used.
I am trying to locate the oracle pga memory allocation inside the
process in
order to size my systems memory requirements. I have read the documents
in
metalink but i believe i could not find the answer of the following
questions:
When i monitor an oracle process by using pmap , i can easily see
shared memory
, stack , heap , libraries. By using this output i issue some sqls and
check
pmap output .
example queries:
SELECT /*+PARALLEL(T,32)*/ * FROM TOLGA2 t order by 1
SELECT /*+noPARALLEL(T)*/ * FROM TOLGA2 t order by 1
i was told that oracle parallel query bypasses the oracle buffer cache
and
uses process memory instead.
Based on these backgrounds ,
1. For the parallel query , i have tried various sort_Area_size
parameters with
manual workarea management in order to see its effect in pga memory
allocation
(and pmap output ) . What i see in pmap output is , lots of anon
(anonymous
pages) are allocated instead of heap. But according to the documents
pga is
allocated inside the heap. (Anon page is a page that is not associated
with a
particular vnode, or file/directory )Is the data stored inside this
anon pages?
2. for the nonparallel query , i assume that the data blocks now ara
cached
inside the oracle sga which is in shared memory but i can see the same
anon
page allocation pattern here. Why does the process allocates anon pages
like

parallel query case although data is cached inside the shared memory
(and it

is also mapped in process)
Kind Regards,
tolga

.



Relevant Pages

  • RE: Physical Memory Utilization
    ... So far I hear this is ok, Is the server starving for memory or has ... It seems that Oracle which is fairly idle as well has ...
    (SunManagers)
  • Re: How to release heap memory that is marked as free
    ... As I said, fragmentation is a very serious problem, and one of the most serious problems ... my allocator was accused of using massive amounts of memory. ... I'm going to have to re-think the memory allocation that I'm ... process's 'working set'. ...
    (microsoft.public.vc.mfc)
  • Re: [PATCH 00/28] Swap over NFS -v16
    ... memory they can consume. ... So we need the extra (skb) ... included in the reserve? ... if the allocation had to dip into emergency reserves, ...
    (Linux-Kernel)
  • Re: Memory leak with CAsyncSocket::Create
    ... read my essay on how storage allocators work. ... Create method is consuming system memory that is not released back to ... The memory consumption is either shown as "Mem Usage" on the Task ... many levels of allocation going ...
    (microsoft.public.vc.mfc)
  • Re: OT: C++ overloading operators
    ... dynamic allocation, no matter how many "clever tricks" are used... ... though there's enough memory in the system, ... all these "flexible data types" map into CPU command ... The computing environment is completely ...
    (comp.dsp)