Current consumption of RAM by oracle.exe

Actualy what I need is the current /changing value of the memory consumed by oracle.exe.Is this information is achievable from the database itself? If yes then how?If no then is there any indirect way of achieving it.
Apart from that I want to know if there is any parameter available in database which gets changing depending on database usage(load)
Please Help.
AD

> What ever be the case..there must be some memory consumed by the oracle
process/processes collectively which keeps changing depending on the workload/usage
SGA is static. PGA is dynamic. UGA can reside in either the SGA (shared server connections) or in the PGA (dedicated server connections).
Memory does not simply grow and grow because of workload. The db cache is a set size in the SGA. There's only so much space in the large pool in the SGA for the UGA's of shared server connections - Oracle will not just simply grab more memory from the o/s to use if it runs out.
The only exception is PGA. PGA is dynamic. Thus a PL/SQL program running in a process (shared or dedicated) can attempt to allocate GB's of dynamic memory for scalar variables - but that is a result of very poor programming and nothing to do with workloads.
Again, look at the Concepts Guide and at the chapter explaining how the Memory Model of Oracle works. It seems to me that you are operating under misconceptions based on the questions you ask ito Oracle, memory utilisation and workloads.
For example, Oracle does not have Lock Manager and locks are not kept in memory. The lock overheads for a billion total locks on the database is the same as the lock overheads for a single lock - none! There are no overheads ito of memory in this case.
Another example. Lack of memory in the shared pool. 99.9% of the time this is not because of insufficient memory for the shared pool when hitting ORA-04031 errors. In fact, adding more memory is the wrong thing to do. The fix is simple. Use Oracle correctly - use the shared pool correctly - use sharable SQL! (which means using bind variables)
Oracle is not SQL-Server.
If you can specifically state the details of problem (and not what you think the solution should be - monitoring memory consumption), we can add some value to this.

Similar Messages

  • Oracle.exe consuming lots of memory

    hi
    i am using Oracle 10g release2
    after installation, when i'm booting my system (Windows XP) it takes a lot of time to finish all the files to load. when i inspected the task manager, there were 2 instances or oracle.exe running each consuming approximately 200,000K each. i feel like this particular thing is slowing down the system. what are ur suggestions please ? if actually its the problem, what is the solution u propose ?

    user10434417 wrote:
    there are 2 databases running and i've 2GB RAM in my system2gb RAM is awefully lesser compared to the current version's requirements of oracle. Also, I believe you must have not modified the sga/pga settings as well since the default values are very high. I would suggest that you try to check the sga/pga sizes and reduce them to the minimum which is 160MB for the SGA and 91MB for PGA if these databases are merely for testing/learning.
    HTH
    Aman....

  • Why oracle.exe is taking 8G virtual; bytes,  memroy target can not go beyond 5G. How to minimized the virtual byte in perfmon

    Dear Experts,
    Please help me in checking why virtual bytes in perfmon is taking more than memory we allocated.
    OS
    Windows Server 2003 R2 Enterprise x64 Edition Service Pack 2 (build 3790)
    ORACLE
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 64-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    Total RAM on box is 8G
    Page File
    Windows virtual memory equal on C,D,E,F drives is set to  12273M and allocated now is 11262M
    LPENABLED is not set
    SQL> show parameter pga_
    pga_aggregate_target   0
    SQL> show sga
    Total System Global Area 5344731136 bytes
    Fixed Size                  2114736 bytes
    Variable Size            4630514512 bytes
    Database Buffers          671088640 bytes
    Redo Buffers               41013248 bytes
    SQL> show parameter memory
    hi_shared_memory_address  0      
    memory_max_target    5G                
    memory_target      5G                  
    shared_memory_address  0             
    SQL> show parameter sga
    lock_sga   FALSE                         
    pre_page_sga     FALSE                   
    sga_max_size   5G                     
    sga_target      0
    Question :
    Why oracle.exe is taking 8G virtual; bytes,  memroy target can not go beyond 5G. How to minimized the virtual byte in perfmon
    Thanks in advance your time and help.

    John, Thanks for the reply.
    Please find the output of query
    SQL> select pool,sum(bytes) from v$sgastat group by pool;
    POOL         SUM(BYTES)
                  915543216
    java pool      67108864
    streams pool  268503944
    shared pool  2147494008
    large pool     67108864
    SQL>
    SQL> select * from v$pgastat;
    NAME                                                                  VALUE UNIT
    aggregate PGA target parameter                                    671088640 bytes
    aggregate PGA auto target                                         147564544 bytes
    global memory bound                                               104857600 bytes
    total PGA inuse                                                   533962752 bytes
    total PGA allocated                                               810819584 bytes
    maximum PGA allocated                                            1244466176 bytes
    total freeable PGA memory                                          90243072 bytes
    process count                                                           450
    max processes count                                                     588
    PGA memory freed back to OS                                      1.9883E+10 bytes
    total PGA used for auto workareas                                  28210176 bytes
    maximum PGA used for auto workareas                                39973888 bytes
    total PGA used for manual workareas                                       0 bytes
    maximum PGA used for manual workareas                                531456 bytes
    over allocation count                                                     7
    bytes processed                                                  2.6307E+10 bytes
    extra bytes read/written                                                  0 bytes
    cache hit percentage                                                    100 percent
    recompute count (total)                                               72720
    19 rows selected.
    SQL>
    SQL>  show parameter _target
    NAME                                 TYPE                             VALUE
    archive_lag_target                   integer                          0
    db_flashback_retention_target        integer                          1440
    fast_start_io_target                 integer                          0
    fast_start_mttr_target               integer                          0
    memory_max_target                    big integer                      5G
    memory_target                        big integer                      5G
    pga_aggregate_target                 big integer                      0
    sga_target                           big integer                      0
    SQL> sho parameter sga_max
    NAME                                 TYPE                             VALUE
    sga_max_size                         big integer                      5G

  • Oracle.exe taking high memory

    Hello,I got an error Ora-04030:-ORA-04030: out of process memory when trying to allocate 3842688 bytes (session heap,kgich) on oracle 11gr2 On windows 8.
    My ram is of 16gb
    sga_max_size =8g
    Pga_aggregate_target=1.5g
    Oracle.exe goes upto 15gb.
    how it is possible?
    please reply...

    Simple: Oracle processes are implemented as threads within Oracle.exe. So you all of your sessions communicate with a corresponding thread in the Oracle.exe service. Evidently those threads consume memory.
    A SGA of 8 Gb, 50 percent of physical RAM, looks a bit outrageous to me.
    Also Windows 8? That is not even yet released! Did Oracle certify 11gR2 against Windows 8? No doubt they didn't, they never certify against newer releases!!
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle.exe consuming 100% CPU on windows and database hang

    Hi all,
    every time my oracle database is hanging when the application run, the problem is the oracle.exe consum 100% CPU but not memory and the server hang and the dabase is going to inaccessible, we need to restart oracle instance service or server to bring the databas eback to normal but it's not permanent because the problem occurs once the application turn on.
    Checking the log file i found the below error every time:
    My database version is 9.2.0.7.0
    OS: Windows 2003 Server Standard Edition Service Pack 2
    RAM: 3,5Gb
    CPU: Inte Xeon 3.20 GHz
    ORA-00600: internal error code, arguments: [kghuclientasp_03], [0xBFEADCE0], [0], [0], [0], [], [], []
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04050: error while attempting to allocate 163500 bytes of memory
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    Fri Mar 05 05:35:15 2010
    Errors in file e:\oracle\admin\optprod\udump\optprod_ora_5876.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
    ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
    ORA-04030: out of process memory when trying to allocate 8180 bytes (callheap,kcbtmal allocation)
    Thank you
    Lucienot.

    Is this a new application on this database?
    Has it run well in the past?
    I have had this happen before on a 32bit Windows server. Our problem was a poorly written procedure that kept pegging the cpu to 100%. You should be able to figure out what SQL is being used that is causing this problem, it will be the Top Working SQL most likely.
    I also had this problem on a Logical Standby server which was trying to apply SQL to the SYS.AUD$ table. As soon as SQL Apply was started, the CPU went to 100%. Once I truncated that table, the cpu usage went back to normal. Not sure what you are using to monitor your database but if you can, try to find out what SQL is running when your CPU goes to 100%.

  • Oracle.exe and java.exe are running my CPU 100% under XP Prof SP3

    11gR1
    oracle.exe and java.exe are running 100% CPU
    I have increased virtual memory to 4 gig
    I have defragmented the drive.
    I checked the drive for errors.
    I am searching the whole drive for viruses
    I do not have the problem with Redhat Fedora 12 running 11gR1
    I have 1 gig of RAM but cannot install release 2 because the installer expects
    1 gig + 1

    ooops!!! left that off...sorry
    XP Prof SP3 32 bit..*.no problem with Redhat Fedora 12 running MySQL and 11gR1*
    1 gig RAM Dell precision W/S 1.5 Gig rate 74 GiG SCSI HD 15000 RPM
    Don't pass out but I am also running MySQL server 5.1.41 and MS SQL Server Express 2008.
    Lucky it didn't catch fire
    I installed XP prof months ago but this CPU domination occurred only starting last night!
    However slow everything works in 11gR1
    sqlplus myname/password and then select rows from table
    sqldeveloper
    PHP web sites
    I've had plenty of trouble with Java running slow and hogging memory!
    Edited by: landonmkelsey on May 2, 2010 12:21 PM
    Edited by: landonmkelsey on May 2, 2010 12:24 PM
    Let me guess...stop services for MySQL and MS SQL Server and see what happens!
    Edited by: landonmkelsey on May 2, 2010 12:26 PM

  • Oracle.exe(oralce 10.1)  on Window 2003 is using 100% CPU

    Oracle.exe(oralce 10.1) on Window 2003 is using 100% CPU.
    while using importing. CPU IS PENTIUM 4 AND RAM IS 2G
    any tuning ideas ?

    WEll I just did google for you:
    Take a look at:
    http://www.dba-village.com/village/dvp_forum.OpenThread?ThreadIdA=15940&DestinationA=RSS
    Hope this Helps
    Regards

  • Size of oracle.exe

    Hi,
    I have installed Oracle8i (8.1.7) for NT. I sized SGA to require about 15MB. But when the instance initiates, the oracle.exe process is getting about 30MB of memory! Do you know the reason??
    Thanks in advanced,
    Carlos

    If you are running 32-bit Windows, then it doesn't matter that you've got 8GB physically in the box: that's a common over-configuration. A 32-bit Windows system can only see 4GB of RAM -and only 2GB of that is available to user-mode programs like Oracle.
    If you use a /3GB switch, you can let user-mode programs see 3GB instead of 2GB. But that's your lot.
    Unless you are also using a /PAE switch, though that has interesting interactions with the /3GB switch and everything else!
    Let's assume you're using a bog-standard Windows environment with no odd boot-time switches. That means 2GB is your limit. And that's for everything Oracle might want to use it for: PGA and SGA alike. I don't know how big your PGA needs to be, but assume a worst-case: allow 50% for the PGA, and 50% for the SGA. That means your SGA_MAX_SIZE parameter should be no bigger than 1GB.
    For some reason, you say this sort of thing is "not an option". That's fine: but then you live with the massive swapping to disk that will ensue if you don't keep within bounds. Your choice, really.
    From memory, LOCK_SGA does indeed work. But if you're locking into memory an over-allocation of SGA, you'll just be making your paging problems worse.

  • Memory consumption is more with oracle database compared to Sybase

    Hi,
    We are executing the same java source code with backend sybase and the oracle database. But with oracle database it is consuming more memory than Sybase.
    Currently using 11g R2 with ojdbc6.jar driver
    can you please provide the information to optimize the memory consumption when using the oracle.
    Thanks,
    Nagaraj

    user12569889 wrote:
    We are executing the same java source code with backend sybase and the oracle database. But with oracle database it is consuming more memory than Sybase. That is not saying anything at all.
    What memory in Oracle? Shared pool? Buffer cache? PGA? UGA? Library cache? Something else?
    What memory in Sybase did you compare it to?
    What type of client-server connection to Oracle was made? Dedicated or shared?
    What commands/method were used to determine the memory consumption in Oracle and then Sybase?
    What serves as the baseline for comparison?
    Comparing product A with product B is a COMPLEX thing to do. And IMO, beyond the abilities of the majority of developers - as they lack the technical expertise to extract usable metrics and correctly compare these between products that can work VERY differently.
    And unless you can provide technical details to backup your claim that you are observing that "+Memory consumption is more with oracle database compared to Sybase+", I would say that you have no idea what you are actually observing and in no position to deduce that Oracle consumes more memory.

  • The new ribbon user interface in Win 8.1 should display appropriate buttons depending on the currently displayed folder within the explorer.exe window.

    To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window. 
    But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
    You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
    is a great little app that  gives me a tabbed file-explorer experience.
    Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
    to pull a file explorer session into its tabbed control.
    This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
    Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
    In the address bar go to This PC,
    then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
    Does anyone out there feel that they can do something about this, or have advise?
    Kind regards,
    Robert van der Meijden

    To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window. 
    But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
    You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
    is a great little app that  gives me a tabbed file-explorer experience.
    Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
    to pull a file explorer session into its tabbed control.
    This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
    Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
    In the address bar go to This PC,
    then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
    Does anyone out there feel that they can do something about this, or have advise?
    Kind regards,
    Robert van der Meijden

  • Query or Profile Option to find Current logged in user in oracle apps R12

    Query or Profile Option to find Current logged in user in oracle apps R12.
    I want to get value of current user who is logged in to that particular session, based on the value of user_id or user_name returned i have to do a Forms Personalization.
    Plz help.
    Regards,
    Sadiya P.

    Hi Sadiya,
    do you have the answer for this? please send it to me because i am also have same requirement. so plz post it here....

  • Memory leak in oracle.exe and mds.exe

    We are facing Memory leak in oue MDM server. Our environment details
    are as follows;
    MDM 5.5 SP5 ( Build 5.5.41.70)
    Oracle 10.2 patch 2
    windows server 2003 SP1
    XI 7.0 SP 9
    If server is running continuously 3-4 days then Nonpaged memory is
    getting exausted and server does not respond. Now we have to retart the
    windows server manually.
    If we see the task manager it is shows more than 200,000 handles for
    oracle.exe and more than 100,000 handles for mds.exe.
    1: Oracle.exe -- more than 200000 handles ( Approx >5000 is problem)
    2: Mds.exe -- more than 100000 handles ( Approx >5000 is problem)
    Since these applications are not releasing the handles properly so all
    nonpaged memory gets exausted and server stops responding.
    If we restart the mdm server, database and OracleserviceMDMD, then
    nonpaged memory is released. But some times even if we restart these
    services, we do not get nonpaged memory released. So we have to restart
    the windows server.
    please help me if anyone else have faced the same problem.
    regards
    Saurabh

    Closing as question is answered in MDM forum.

  • Problem with getting current date and time using oracle.jbo.domain.Date

    I`d like to get current date and time using oracle.jbo.domain.Date method getCurrentDate(), but it always return current date and 12:00:00. I also need to get the current time.

    I think you should use java.sql.Timestamp domain.
    (And set database type to TIME or DATETIME.)
    Jan

  • OBIEE 11.1.1.5 bp3 - You are not currently signed in to the Oracle BI Server

    hi all,
    I am constantly receiving below error obiee+win 2008R2 +SSO enabled
    You are not currently signed in to the oracle Bi server.
    If you have already singedin, connection might have timed out, or a communications or server error may have occured.
    to sign in again, click here. if the problem persists, Please contact the site's administrator.
    Restarting OBIEE services fixes the issue for some time but it keeps coming back.
    Please help with issue.
    TIA,
    krishna vamsi

    Can u paste the OPMNCTL Status here?
    And also the NQuery log.
    Thanks,

  • Too many trace files generated by program ORACLE.EXE (J001) in "bdump"

    Hi,
    Please help!
    the following trace file messages have been created in my "bdump" folder about every 6 minutes, so it generates about 200 files per hours. Can someone tell me how to solve the error or stop the trace files be generated. Thanks.
    Windows thread id: 5520, image: ORACLE.EXE (J001)
    *** 2009-05-22 12:49:21.372
    *** ACTION NAME:() 2009-05-22 12:49:21.372
    *** MODULE NAME:() 2009-05-22 12:49:21.372
    *** SERVICE NAME:(SYS$USERS) 2009-05-22 12:49:21.372
    *** SESSION ID:(312.292) 2009-05-22 12:49:21.372
    java.io.IOException: service early exit: code=1 : err=The system cannot find the path specified.
    : out=
    at oracle.wh.runtime.server.Util.execRuntimeService(Util.java:122)
    CJ

    No version number and not enough information in what you posted to help you.
    Did this just start?
    If so what actions preceded it?
    Or is this a new install?
    Have you tried bouncing the instance?
    If it were my system I would have already searched the knowledgebase at metalink and opened an SR if I couldn't find a solution. Did you?

Maybe you are looking for