| |
 |
|
Oracle Tips by Burleson Consulting
|
Enhancements to the
v$process view in Oracle
The v$process view has been enhanced with several new columns to
show automatic PGA usage, including pga_used_mem, pga_alloc_mem and
pga_max_mem. Here is a query to display these values.
select
program,
pga_used_mem,
pga_alloc_mem,
pga_max_mem
from
v$process;
The output of this query might look like the following:
PROGRAM PGA_USED_MEM PGA_ALLOC_MEM PGA_MAX_MEM
------------------------------ ------------ -------------
-----------
PSEUDO 0 0 0
oracle@janet (PMON) 120463 234291 234291
oracle@janet (DBW0) 1307179 1817295 1817295
oracle@janet (LGWR) 4343655 4849203 4849203
oracle@janet (CKPT) 194999 332583 332583
oracle@janet (SMON) 179923 775311 775323
oracle@janet (RECO) 129719 242803 242803
oracle@janet (TNS V1-V3) 1400543 1540627 1540915
oracle@janet (P000) 299599 373791 635959
oracle@janet (P001) 299599 373791 636007
oracle@janet (TNS V1-V3) 1400543 1540627 1540915
oracle@janet (TNS V1-V3) 22341 1716253 3625241
Here we see allocated, used and maximum memory for all connections
to Oracle. We can see the RAM demands of each of the background
processes and we also have detailed information about individual
connections.
|
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|