Check if the Oracle memory usage is critical

Hi all

I'm in Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 and I would like to know how if it is possible to detect any evidence that Oracle may encounter a problem of memory.

I know how to get STATS$ SGASTAT and STATS$ PGASTAT for historical data from V$ SGASTAT and V$ PGASTAT respectively.

But is there a calculation can be done and may indicate that Oracle is currently at a stage of critical memory use? Or any other given I can check (with the exception of newspapers) which could indicate such a thing?


Thanks in advance.

A symptom peut be continued use memory increase, once the database has been restarted, although there is no extraordinary use. This can be a problem that occurs in seconds, minutes, days, weeks, months or even years. Of course, if it takes some time, the problem is less a problem.

More important is: measure, one of these functions underestimated in this DOCUMENT, plus monitoring does not even basic OK stuff, or more in depth things.

Tags: Database

Similar Questions

  • How can I check the JVM memory usage?

    Hi all

    I had a number of applications that run in Weblogic running in the same JVM. Is there a way to monitor the memory usage of the JVM heap for a particular application?

    If I do
    ps -ef | grep java
    I can see the process, but how can I check the FMV of each of the applications memory usage? Thank you very much.

    No Linux command will be made available within a JAVA virtual machine running an application server and understand how much his memory belongs to a specific web - app.

  • The host memory usage

    will have dell r 710 with 32 GB of ram, I created 6 vm ' swith 5 GB of ram... whenever I get this alert on this host... How to get back on this


    alert message

    Warning

    The host memory usage

    This object

    Check which of the VM who use high also, you can decrease the RAM of the other virtual machines that use fewer resources and set their priority action HIGH under the location of the memory of the virtual computer.

    Right click on the vm and Edit > click on share option and chenge memory to high HEAT.

    Yours,
    Mar Vista

  • Relationship between memory of comments and the host memory usage

    Hello

    I noticed today that the memory usage of my cluster rose close to 90% in all of the blades. I checked and found that a number of virtual machines is everyone using over 3 GB of memory host. When I went in the performance monitor for each of these virtual machines, they used only a maximum of 400 MB.

    How the memory usage of comments relate to the host memory usage, and how I can reduce the amount of memory used host so I do not have a performance hit through the cluster?

    Running ESX 3.0.2, VC 2.0.2 Dell Poweredge servers with 2 processors 1.86 GHz quad core and 24 GB of RAM.

    See you soon

    Graeme

    You can learn more about memory usage http://www.vmware.com/pdf/esx3_memory.pdf and resource management guide http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_resource_mgmt.pdf

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!!!

    Kind regards

    Stefan Nguyen

    VMware vExpert 2009

    iGeek Systems Inc.

    VMware, Citrix, Microsoft Consultant

  • Questions on the host memory usage

    I was wondering if someone could give some insight on the following situation. We vSphere host set upwards with 32 GB of RAM. On this, we have 10 VMware View desktops and a couple Server VMs. We have configured each in order to have 2 GB of RAM. The host is showing an alarm for the host memory usage, but if you look at each of the virtual machines Windows XP, memory is granted way superior to the active memory. We have no reserve set and actions are set to normal. I wonder why the system reports a memory constraint when the largest part of the memory is alocating is not active.  In addition, the shared memory is showing 0. So this means that the memory page sharing does not locate? Am I missing something?

    ESX has called fresh General.  A virtual machine has 2 ways to manage memory.  a physical machine has one, physical RAM, and when this physical RAM disappeared, the operating system is left with only one option, Exchange.

    VM works the same way.  A material divides the virtual machine into small sections, only they have hard limits.  So your VM is 2G, the operating system and virtual machine sees only 2 GB of RAM.  When this RAM was gone, the operating system must decide where the extra RAM is come.  Since it is a Vritual machine, the RAM of the machine can ALSO be swapped.

    So, when you create a virtual machine, and you do not have reservations, you say that the Virtual Machine to get the RAM of the host, if this fails, get from a pagefile on the RAM disk.  If not THEN the operating system can use internal swap, but ESX requires a virtual machine to use his 'balloon' driver to lead you to the top of RAM internal and fool the operating system into thinking that he MUST use internal swap. It is probably where you are confused.

    The use of the RAM that you see is the virtual machine, taking all THE RAM of the host.  If the host has say 48GB of RAM, and you have the run of the 10 mV, which is more than 20 GB of RAM in use.  There is a LOT of RAM left other virtual machines, so in this case, the memory of the host is high (use), but not ACTIVE, which means allocated for the virtual machine, but the OS is not really 'use' for the moment.

    When you add multiple virtual machines, you will see this fall.  Keep in mind they can really share the memory too, so among those 20 VM with VM similar (like Windows), they are all windows (suggests) and 30% of that share these 20 VM, so 30% 20 GB is 7 GB, so 13 GB that is actually used, so in a perfect world, ideal conditions your host should be about 15 GB used probably less active 6 GB, but EACH VM shows 2 GB of memory host, right?

    It's normal.  When one approaches the limit of host memory that these figures will change, from OS and need and that the BONE... and to complicate things even more, reservations and VM limits and priority will ALSO skew the numbers.

    Isn't fun ESX?

  • Do not allow the virtual machine to power on if the host memory usage over 75%?

    Hi all

    I'm looking for a way to do not allow the power of virtual machines on if the clutser average memory usage is greater than 75%, or if its corresponding host memory usage is greater than 75%.

    Any idea.

    Thank you very much

    Hey Valot,.

    One way to achieve this is HA admission control that does not allow a virtual machine to be turned on if the availability constraints are not met

    http://www.VMware.com/PDF/vmware_ha_wp.PDF

    Also chwck on http://www.yellow-bricks.com

    Concerning

    one

  • the 50% memory usage and no vm

    Hello

    I recently bought two Dell r900 servers ESXi 3.5.0 build 111522 preinstalled.

    When I first started the serversm and them managed directly through the VI

    customer. I noticed something strange. The VI client said about 50%

    memory usage with absolutely no virtual machine running on the server. I have

    proceededto add servers to my vcserver. But vcserver also reports

    50% use of memory with nothing else running on the server.

    Screenshot:

    Specifications of the server: Dell PowerEdge r900 6 x Intel Xeon E7450 processor and controller @ 2, 40Ghz with 128 GB of memory. Does anyone know what causes this problem?

    Does anyone know what causes this problem?

    Concerning

    Nils Andreas Myhre

    Welcome to the VMware community forums.   See if this thread helps -http://communities.vmware.com/thread/128055.

  • Check if the Oracle Client is 64-bit Mode

    Hello

    I have a bit of Windows Server 2008 x 64 with Reporting Services x 64 bit.

    I have a relationship with oracle connection. First, I installed 10203_vista_w2k8_x86_production_client.zip (http://download.oracle.com/otn/nt/oracle10g/10203/10203_vista_w2k8_x86_production_client.zip), but in Reporting Services, I get the following error: "trying to load the Oracle client libraries threw BadImageFormatException. This problem occurs when you run with the 32-bit Oracle components customer installed 64 bit mode"

    Then I installed 10204_vista_w2k8_x64_production_client.zip (http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10203vista.html), but I have the same problem.

    How to check if Oracle Client runs in bits of x 64 or x 86?

    Saludos,

    It is not a 32-bit or 64-bit 'mode', you have the client client software or 64 bit 32 bit.

    The first thing to do is to check the process in the Task Manager to confirm if it is 32-bit or 64-bit (32-bit to a * 32 next to the process name).

    Regarding the inspection of a facility of the customer trying to tell if it's 32-bit or 64-bit, I don't know one other surefire way knowing what you have installed. You can consult the register, a 32-bit home will be located in HKLM > software > WOW6432Node > Oracle, considering that a 64-bit home will be in HKLM > software > Oracle and then you can check the path to the House to try to deduce if it is 32 bit or 64 bit depending on the location of the dll.

    If you have 32-bit and 64-bit client installed, I don't have a good top of my head that may cause for why you will get this error. The OS does a good job of loading the 32-bit dll for 32-bit processes and 64 for 64.

    Are two homes in your PATH environment variable? Did you restart the application or restart after the addition of a new home?

    You can use tools such as Process Explorer or Process Monitor to see what dlls are loaded (or attempted to be loaded).

    It will be useful,
    Greg

  • any API to check if the device memory is encryption enabled or not

    Hi, expert,

    as we know, the blackberry phone, user could activate the encryption of memory of the device and media card encryption. We wonder if there is no API to query whether the encryption is activated or not. I did some research on the internet and I have found no related answer on that. Just wonder if it is not for this as the test of playing a particular file.

    Thanks in advance for your understanding on this.

    Thank you, with your suggestion, I discovered that I could know if device encryption is enabled by creating a new file on the disk (for both memory and the sd card). If the file was created is successful, check the file extension, it should have .rem extension if encryption is enabled. If file creation fails if the phone is locked (not always at default), if the error message would be the specific error message, it would mean that the encryption is enabled as well. However, if it is an another error message, it is determined here. We will have to wait to make sure that the creation of files could manage to check.

  • Please think when the memory usage is too high.

    Hi all

    My version of Oracle is 11.2.0.4 64-bit

    And Linux version: SUSE Linux Enterprise Server 11 (x86_64) SP3.

    Use of memory on the server is too high.

    AP - GV - SP713:orasop 55 > free t m

    total used free shared buffers cached

    MEM: 258341 257482 859 43775 8 219455

    -/ + buffers/cache: 38018 220322

    Swap: 65535 3919 61616

    Total: 323877 261401 62475

    AP - GV - SP713:orasop 56 >

    Top of PAGE process 10 consuming the most memory is below -.

    AP - GV - SP713:orasop 56 > ps to the | Sort - nk + 4 | tail

    orasop 15385 3.7 0.0 30937152 9916440?    SS Nov23 01:40 ora_dbw2_SOP

    orasop 15408 3.7 0.0 30933376 9809912?    SS Nov23 01:39 ora_dbw5_SOP

    orasop 35335 3.8 0.6 30932204 10316356?   SS 04:32 03:00 oracleSOP (LOCAL = NO)

    orasop 7121 3.8 0.1 30932164 10296904?   SS Nov24 01:51 oracleSOP (LOCAL = NO)

    orasop 10997 3.9 0.3 30928188 10457696?   SS Nov24 03:34 oracleSOP (LOCAL = NO)

    orasop 15371 3.9 0.0 30937024 10399132?   SS Nov23 01:44 ora_dbw1_SOP

    orasop 7216 4.7 0.8 30929072 12475216?   SS 05:08 03:55 oracleSOP (LOCAL = NO)

    orasop 14793 5.0 0.6 30940416 13390616?   SS Nov24 06:29 oracleSOP (LOCAL = NO)

    orasop 18524 5.0 0.7 30928112 13329416?   SS Nov24 07:08 oracleSOP (LOCAL = NO)

    orasop 31019 11.2 5.9 30926108 15609268?   RS 06:14 42: 21 oracleSOP (LOCAL = NO)

    AP - GV - SP713:orasop 57 >

    In the oracle memory setting is:

    SQL > select decode(pool,null,name,pool), round (sum (bytes) / 1024/1024,4) MB in Group v$ sgastat by decode (pool, null, name, pool) order by 2 desc;

    DECODE (POOL, NULL, NAME, POOL MB

    -------------------------- ----------

    BUFFER_CACHE 15360

    Shared pool 13952

    pool of Java 448

    log_buffer 56.9688

    fixed_sga 2.1634

    Please suggest if the memory must be increased and also I see a dynamic memory management is not turn on on the server.

    SQL > show parameter sga_target

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    SGA_TARGET large integer 0

    SQL > show the memory_target parameter

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    memory_target large integer 0

    SQL >

    SQL > show parameter sga_max_size

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    very large integer SGA_MAX_SIZE 29952 M

    SQL >

    Please suggest.

    Thank you before acting.

    Concerning

    Jean Louis

    Yvon says:

    Please check the error of the alerts log when the database is set automatically.

    WARNING: VKTM detected a drift of the time.

    Time derivatives may cause unexpected behavior, such as wait times. Check the file path for more details.

    Mon 23 Nov 20:41:17 2015

    Closure of proceedings (immediate)

    Closure of proceedings: in addition to logons disabled

    Stop background MMNL process

    MMON background process stop

    The high waters = 53 license

    ALTER DATABASE CLOSE NORMAL

    ORA-1507 marked during: ALTER DATABASE CLOSE NORMAL...

    ARCH: Disabled archives due to the stop: 1089

    Stop process to archive

    Archiving is disabled

    ARCH: Disabled archives due to the stop: 1089

    Stop process to archive

    Archiving is disabled

    Mon 23 Nov 20:41:20 2015

    Stop background VKTM process

    Mon 23 Nov 20:41:22 2015

    Instance shutdown complete

    Concerning

    Jean Louis

    I say that DB was reduced by human intervention based on below

    Accident never issue SHUTDOWN IMMEDIATE

    After the accident alert log shows DB followed by BOOT messages running.

    > Closing instance (immediate)

    Problem exists between keyboard and Chair only.

  • Memory usage (%) vs. free memory (%)

    Hello

    Why is - this grid control has 2 parameters to measure the host memory usage? What is the difference?
    should I have them both? :/

    user9182826 wrote:

    rp0428 wrote:
    You have not yet provided the information request
    >
    Be more specific on what you look at.
    >
    What measures are you talking about and what is the reference of the doc for them you use?

    grid has 2 parameters that are a bit confused, 1 use of memory (%) and 2 of free memory (%), if we shouldn't be sufficient? I dnt undretsand the need for these two. maybe im missing the point

    Thank you

    for many or most * systems NIX running Oracle RDBMS, the operating system to work normally with less than 5% free RAM; regardless of the total RAM.

  • Windows memory usage

    Oracle 10.2 on Windows.

    Is it possible to inspect the actual memory usage? The Task Manager Windows just says: xxx.xxx oracle.exe K

    Thank you
    Stephan

    Stephan van Hoof says:
    Oracle 10.2 on Windows.

    Is it possible to inspect the actual memory usage? The Task Manager Windows just says: xxx.xxx oracle.exe K

    Thank you
    Stephan

    In windows, all oracle running oracle under a wire process system which, according to its own ORACLE_SID (OracleServiceYourDB). And it gives you total exactly use of the memory of the instance. But if you want to that session and which exploit the quantity of memory then you must use (join) session $ v , v$ sesstat , v process $
    performance views.

  • Memory usage

    We have a few GSM7228 and 5300 network (successful) on LAN switches. All switches has 90% or more of average use memory permanently.

    The network works fine, but we are curious to know the high memory usage. Average CPU usage is less than 10%, response time is great & packet loss is 0%.

    Any idea what could cause high memory usage? Thank you.

    Thanks for the reply. The version of the installed firmware is 10.0.0.53.

  • high memory usage

    How to getri of high memory usage

    Memory is used when the programs are 'in progress' (to be run, a program must be copied into memory).  If the (the only way) to remove the high memory usage is to close programs that are not needed.

  • use of the high memory in the database of node cluster 2

    Summary of environmental

    Cluster nodes RHEL6.4/11.2.0.3.0/ASM/2

    free m

    total used free shared buffers cached

    MEM: 32096 31723 372 0 238 16277

    -/ + buffers/cache: 15206 16889

    Swap: 16383 178 16205

    Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head - 10 Thu Feb 27 16:32:15 2014

    4.8 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin

    mem % 0.0 4.0 ps EI - o, % cpu, cmd

    ora_lms1_orcl2 19.6 1.3

    ora_lms0_orcl2 19.6 1.3

    /etc/kannel.conf 0.2 0.9/usr/sbin/bearerbox

    asm_vktm_ 0.9 0.0 + ASM2

    ora_vktm_orcl2 0.8 0.0

    /opt/app/Java/JDK1.6.0_12/JRE/bin/Java 7.7 0, 7-server-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine

    2.5 0.7 /opt/app/java/jdk1.6.0_12/bin/java-Djava.util.logging.config.file=/opt/app/csdtomcat/apache-tomcat-6.0.35/c

    /U01/app/11.2.0/grid/bin/ocssd.bin 0.3 0.7

    SQL > select value, name from v$ sysstat whose name like '% gc.

    THE VALUE NAME

    ---------- ----------------------------------------------------------------

    398431945 gcs sent messages

    24465773 gc cr block served

    92438 flush time gc cr block

    52157 timeout reading gc

    100272 expected read gc

    failures of reading waiting 0 gc

    15 gc waiting read timeouts

    77789637 blocks of courses gc served

    826771 gc block pine time

    130755 block course gc flush times

    51119356 blocks of cr gc has received

    5027865 gc cr block receive times

    61272732 blocks of course gc has received

    4268980 block of course gc receive times

    181763086 local grants of gc

    56125079 grants remote gc

    716839431 gc sent kilobytes

    101203847 gc saved KB

    30105492 compressed blocks of gc

    blocks of gc lost 0

    blocks of claims gc lost 0

    0 gc corrupt blocks

    0 gc CPU used by this session

    0 player gc bypass grants

    time of generation 0 gc cr block

    0 gc cr block send time

    current block 0 gc send times

    Node-1

    Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head Thu Feb 27 - 10 17:19:47 2014

    16.3 51.7 /opt/netvertexp/java/jdk1.6.0_12/jre/bin/java-serveur-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine

    6.5 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin

    0.0% mem 5.0 ps EI - o, % cpu, cmd

    2.2 0.0/usr/sbin/tcpdump bond0 w s port 65535 /root/pcapprimary/netvertexp-27Feb_17_15.pcap 3868-i

    /U01/app/11.2.0/grid/bin/ocssd.bin 0.4 1.4

    19.5 1.2 ora_lms1_orcl1

    19.5 1.2 ora_lms0_orcl1

    ora_dbw1_orcl1 19.7 0.9

    ora_dbw0_orcl1 19.7 0.9

    ora_vktm_orcl1 0.9 0.0

    Node-2

    Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head Thu Feb 27 - 10 17:19:07 2014

    4.8 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin

    mem % 0.0 3.0 ps EI - o, % cpu, cmd

    oracleorcl2 0.1 2.5 (LOCAL = NO)

    ora_lms1_orcl2 19.6 1.3

    ora_lms0_orcl2 19.6 1.3

    /etc/kannel.conf 0.2 0.9/usr/sbin/bearerbox

    asm_vktm_ 0.9 0.0 + ASM2

    ora_vktm_orcl2 0.8 0.0

    /opt/app/Java/JDK1.6.0_12/JRE/bin/Java 7.7 0, 7-server-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine

    2.5 0.7 /opt/app/java/jdk1.6.0_12/bin/java-Djava.util.logging.config.file=/opt/app/csdtomcat/apache-tomcat-6.0.35/c

    How to troubleshoot the depth to find the cause of the heavy memory usage. ?

    Thank you

    hitgon

    Hello

    vmstat-s

    This will give a more detailed overview. Search for active/inactive values and used swap. If active memory is close to the total memory and you have a larger amount of used swap, then you might have the memory pressure.

    If the Exchange is not used much, and you have the right percentage of inactive memory, then linux could easily swap memory without a performance problem. In this case, the pressure of memory is very likely.

    For a report very detailed on the use of single process

    PMAP pid - x

    M and the press allows you to sort by memory use. If you are using pmap on bigest processes, then you should have a good starting point was that your memory has disappeared.

    Concerning

    Thomas

Maybe you are looking for

  • Webcam driver needed

    I had windows home premum 7 in my laptop by defult so I installed windows 8 on my laptop now, I couldn't use the webcam.  I want to get the driver for webcam. Please help me. detail of my laptop is given below: product name: HP ENVY 4 Notebook PC Pro

  • Satellite A110 - 225 FN key does not work

    Hey,. For some reason, I cannot adjust the brightness on my screen with the button FN and F6 or F7. It worked a few months ago, but no longer works. The FN key works, I get a green light when I press it. In addition, the combination of F1 - F5 are wo

  • Interactive path

    Hello I develop a VI that needs to open an ASCII file. The entire VI is contained in a while loop, except the path of the file VI (otherwise, the user is prompted permanently which file he wants to open...), but I would like to be able to edit the AS

  • Removed Artemis and false virus alerts, now no rundll32.exe

    I use Windows XP Home edition. For the past 2 days, I was receiving false alerts "XP Security Services" that my computer has been attacked. I used Stinger from McAfee and removed the fake alert virus and the virus of Artemis. However, now I have no r

  • How many gigabytes

    I have Windows XP Professional installed and you want to back up my os on a 8 GB usb key. I wonder if that's enough gigabytes to backup windows XP Professional? Also how many giga bytes or MB windows xp pro there?