Memory used by one instance on Windows 2003 server

Hi
I'm looking for a single query able to return the global allocated memory for my instance.
Actually i must search in Windows process and compute the global memory on oracle.exe process with VM Size + Used memory.
I'd like to find this information only from Oracle query.
Thanks in advance
Den

It doesn't work !
Actually system say:
- 1200 Mo for Memory Used
- 1320 Mo for virtual memory used
Show SGA or the other request doesn't wortk ! Show sga or v$sgastat don't include informations on PGA (first) !!!
1) Show SGA:
Fixed Size 456892
Variable Size 1107296256
Database Buffers 100663296
Redo Buffers 405504
2)
SELECT ROUND(SUM(bytes)/1024/1024,2)||' MB' total_sga,
ROUND(SUM(DECODE(name,'free memory',bytes,0))/1024/1024,2)||' MB' free
FROM v$sgastat;
TOTAL_SGA FREE
608,81 MB 250,16 MB
1 row selected.
Regards
Den

Similar Messages

  • Import ECC6 using DB2 9.5 in Windows 2003 server got error in Phase Insatlla database soft ware .

    Hi Expert,
    When i am going to import ECC6 in windows 2003 server  using DB9.5 i got error in phase Install data base software  like below.
    Invalid command line argument. consult the windows installer SDK for detailed command line help.
    Please help me for this error.
    Thanks in Advance.
    Thanks
    J Jana

    'invalid command line argument' - Most probably the SAPinst is not able to find the right path for the DB2 UDB DVD or the the argument is too long to interpret which is a very common problem during installations.
    Check the path for db2 DVD, and keep it shorter - that means you have to reduce the number of folders where the DVD resides. Copy the DVD in a short path let's say C:\DB2\dvdname and re-try installation by giving the new path of dvd in SAPinst.
    Thank you.

  • Proble shutting down ASM instance on Windows 2003 server.

    Hi,
    Before booting the windows 2003 server, I am trying to shutdown the ASM instance and it is just siiting there without any response. This is a 10g database and a 2003 server.
    C:\Documents and Settings\Administrator>set oracle_sid=+ASM
    C:\Documents and Settings\Administrator>sqlplus " / as sysdba"
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> shutdown immediate;
    Thanks.

    Thanks for your response. Yes I did stopped the database. I was having the same problem with the database ( as it was sitting there after I issued the shutdown immediate ). Finally I had to do shutdown abort, start up in restrict mode and do a shutdown again to stop the database gracefully

  • How to clen up the R12  Instance in Windows 2003 server.

    Hi,
    We have two R12 instances running on the same server (vision and Development).
    and want to scrap Vision instance.
    Please explain me how to uninstall the R12 Application instance.
    The Note 107523.1: How to Clean Up a Failed Install of Oracle Applications 11.5 on an NT Platform.
    But it deletes the entire instances running on the same server.
    Thanks and Regards
    Vasu

    Hi,
    Please remove the 3 non-exists DC from environment using the metadata clean-up process using script from below article. then manually delete the records from DNS management console as given below.
    https://gallery.technet.microsoft.com/scriptcenter/d31f091f-2642-4ede-9f97-0e1cc4d577f3
    Manual steps to clear the records.
    Dnsmgmt.msc [Dns Management]
    A.Expand the forward lookup zones\_msdcs folder
    i. Make sure only the actual domain controllers are listed, delete wrong Alias recordsremove wrong name server records
    ii. Select the container [forward lookup zones\_msdcs.domain.com\dc\_sites_\sitename\_tcp] > delete incorrect _ldap and _kerberos records are listed.
    iii. Select the container [forward lookup zones\_msdcs.domain.com\dc\_tcp] and delete incorrect _ldap and _kerberos records
    iv. Expand the [forward lookup zones\_msdcs.domain.com\domains\guid\_tcp] and delete incorrect _ldap entries
    v. Select [forward lookup zones\_msdcs.domain.com\gc] – delete incorrect HostA records
    vi. Expand the [forward lookup zones\_msdcs.domain.com\gc\_sites\sitename\_tcp] – delete incorrect _ldap entries
    vii.Select the [forward lookup zones\_msdcs.domain.com\gc\_tcp] – delete incorrect _ldap entries
    viii. Select the [forward lookup zones\_msdcs.domain.com\pdc\_tcp] – delete incorrect _ldap entries
    B.Expand the forward lookup zones\domain.com folder
    i.Delete Host(A) records of dc’s which are non-existant.
    ii.Correct the NameServer (NS) records
    iii. Follow steps similar to ’ A ii ‘ >> ‘ A viii’
    · Dssite.msc [Sites and Services]
    A.Expand the [Sites\Sitename\Servers] – delete incorrect server’s
    B.Delete incorrect subnet configurations [Sites\Subnets]
    C.Delete incorrect site links [Sites\IP]
    · Make sure the domain controllers are pointing to the correct dns servers in tcp\ip settings.
    · Force replication – ‘repadmin /syncall’

  • How do I rename an XE database on a Windows 2003 Server?

    Ok. I'm attempting to rename a freshly installed XE database on a Windows 2003 Server. It looks like there is no getting around the fact that the database gets named "XE" during installation. Because there could potentially be multiple installations of XE in my organization, I thought it'd be a good idea to disambiguate the installations by renaming them to match their function. In this particular case, I'd like to rename the database to "CTXMGMT". It will be a data repository for our Citrix farm administration programs.
    Here is what I've performed thus far:
    1. Installed Oracle 10g XE on one of our Windows 2003 Server, Standard Edition machines.
    2. Verified that the installation was performed correctly by making sure the 'Database Home Page' loads correctly through Internet Explorer, and by performing a few Select statements on the database (i.e. select name from v$database;)
    * * I then began following instructions from this document (http://www.utexas.edu/its/unix/reference/oracledocs/v92/B10501_01/server.920/a96652/ch14.htm#1004735) to rename the database. Note: I'm only trying to change the name of the database, not the ID.
    3. Shutdown the database
    4. Opened the database in MOUNT mode
    5. Ran the NID utility. Here's the actual input/output to/from the NID utility:
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>nid target=sys/manager@xe DBNAME=CTXMGMT SETNAME=YES
    DBNEWID: Release 10.2.0.1.0 - Production on Mon Jul 10 15:55:10 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to database XE (DBID=2476560070)
    Connected to server version 10.2.0
    Control Files in database:
    C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    Change database name of database XE to CTXMGMT? (Y/[N]) => Y
    Proceeding with operation
    Changing database name from XE to CTXMGMT
    Control File C:\ORACLEXE\ORADATA\XE\CONTROL.DBF - modified
    Datafile C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF - wrote new name
    Datafile C:\ORACLEXE\ORADATA\XE\UNDO.DBF - wrote new name
    Datafile C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF - wrote new name
    Datafile C:\ORACLEXE\ORADATA\XE\USERS.DBF - wrote new name
    Datafile C:\ORACLEXE\ORADATA\XE\TEMP.DBF - wrote new name
    Control File C:\ORACLEXE\ORADATA\XE\CONTROL.DBF - wrote new name
    Instance shut down
    Database name changed to CTXMGMT.
    Modify parameter file and generate a new password file before restarting.
    Succesfully changed database name.
    DBNEWID - Completed succesfully.
    6. After running the NID utility from a separate DOS Window, I attempt to shutdown the newly renamed database from the first DOS Window I used in steps 3 & 4 from above (i.e. to shutdown the database and then start it in MOUNT mode) but I receive this error:
    ORA-03113: end-of-file on communication channel
    This is somewhat expected since the SQL*Plus connection in this window probably had "the bottom pulled out from under it" when the database was renamed.
    However at this point I'm unsure about what state the database is in. Is it down? Is it up? Logic would sort of dictate that the database was left in the MOUNT state, which is the state it was in when the database name was changed. However, the only way I'm able to get back in to the database is by doing the following
    a. Opened a new DOS window
    b. entered "set ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0\server"
    c. entered "set ORACLE_SID=XE"
    d. entered " sqlplus "/ as sysdba" "
    e. at SQL> prompt, entered "startup"... which produces:
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 285212672 bytes
    Fixed Size 1287016 bytes
    Variable Size 92277912 bytes
    Database Buffers 188743680 bytes
    Redo Buffers 2904064 bytes
    ORA-01103: database name 'CTXMGMT' in control file is not 'XE'
    SQL>
    From here I don't know what to do. According to the ORA-01103 error message, it looks like I need to change the database name in the control file to "CTXMGMT", but I'm not sure how I should go about that. The control file is a binary file, so I can't just open it up with Notepad and type in a new database name.
    I suspect that even once that is done that the listener.ora (and maybe the tnsnames.ora file?) will have to be edited to include the new "CTXMGMT" name, but I'm not sure how exactly those files should look to incorporate the new database name.
    Also, would the names of services have to be changed in Windows as well? (i.e. Would the Windows service named "OracleServiceXE" have to be renamed to "OracleServiceCTXMGMT" ?)
    In short, I really just need to know how to rename an XE database on Windows appropriately. The steps described above represent as far as I've gotten. If I'm going about it incorrectly could someone shed some light on the correct steps to follow? The more detailed the better. Thanks.
    - Gary

    Okay, I've....
    1) Reinstalled XE, to start from scratch
    2) Went in to SQL*Plus, did a "create pfile from spfile;"
    3) Shutdown the database
    4) Started it up in MOUNT mode
    5) Ran NID, to change the database name from 'XE' to 'CTXMGMT'
    6) Shutdown the database again
    7) Edited the pfile to change the database name (i.e. "db_name='CTXMGMT'")
    8) Started up the database
    And that worked! So that's good... but now my question is:
    How do I change the SID for the database? Currently, the instance name for the database is still 'XE'....
    SQL> select instance_name
    2 from v$instance;
    INSTANCE_NAME
    xe
    I'd like it so a connection could be made to the database with the tnsnames.ora file looking like this:
    CTXMGMT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(Host = rodin)(Port = 1521))
    (CONNECT_DATA = (SID = CTXMGMT))
    Could someone explain how to get the database to this state? Thanks.
    - Gary

  • XServe running MS Windows 2003 server + MS SQL 2005

    I am planning to deploy 3 XServes,
    One running Windows 2003 Server + MS SQL 2005
    the other 2 runnung Windows 2003 Server + MS Terminal Server
    Wonder if there's anyone can share the experience for the above configuration?
    Rgds,
    chiacy

    Digging around Macbytes.com, I came across this article:
    http://weblog.infoworld.com/enterprisemac/archives/2006/12/killtwowindow.html
    To quote:
    "I have tested, and continue to run in a production setting, two instances of Windows 2003 Server hosted by Parallels Desktop, running on OS X Server 10.4.8 on a 3 GHz Xserve. To skip to the punch line, it works, and it's as fast as all get-out."
    HTH
    Xserve Dual 2.3 GHz   Mac OS X (10.3.9)  

  • Configuring Windows 2003 Server so Oracle Xe use one Processor exclusivly

    Hello every body
    I am running Oracle Xe data base on a biprocessor under Windows 2003 server .
    My question is :
    Is there a mean to tell windows 2003 server to reserve one processor to Oracle Xe
    exclusivly. The other processor will handle operating system processes.
    Thanks in advance

    user470017,
    I believe in Task Manager you can select a process , right-click and then set the Processor Affinity for that process (i.e. tell that process which processor you want it to run on).
    Generally though, you don't need to tie a process to a particular processor since the operating system should be smart enough to figure out how to balance the processes out between the available processors.
    Are you experiencing some performance issues?

  • Using Time Machine to back up to a Windows 2003 Server

    I am trying to set up my Time Machine to back up to a windows 2003 server share. I have found some hacks on how to do so, however i am not successful.
    What I have done so far:
    TMShowUnsupportedNetworkVolumes 1 in terminal, which got TM to see my shared drives, however, when i try to backup to my specific drive it gives me an error of not being able to write disk image. So i did:
    hdiutil create -size 100g -fs HFS+J -volname “TimeMachine Hcomp” Hcomp_000045128a91.sparsebundle
    using the appropriate mac address, volume name, and OSX computer name. However, when i run that in terminal, it comes back with a message saying it can only create one volume at a time.
    I'm not quite sure where to go from here, I feel so close, but im stuck.
    Also, on another side note, If I get this working, I would like to find a way where when TM is backing up data, it does not pop up the work bar window, I would prefer if it just worked in the background, and show it's status in the menu. I dont know if this is possible, But any suggestions would be of help
    Thanks in advance!

    AFreeman wrote:
    Thanks for the response,
    I understand the requirements for TM to work, and In the steps i've been trying, you'll see that the command 'hdiutil create -size 100g -fs HFS+J -volname “TimeMachine Hcomp” Hcomp_000045128a91.sparsebundle ' creates and HFS drive partition on my server share.
    I guess i'm not looking for an answer as to why when i enter this command, I get a response of only one volume can be created at a time. Am I missing something in this command?
    Thanks!
    Since you are using a hack, and therefore in an unsupported area, I suppose anything possible.
    You might browse around the TimeCapsule forum which more closely represents what you are doing than this forum
    The TC forum is here:
    http://discussions.apple.com/forum.jspa?forumID=1253
    It's possible that it may be a limitation of the system, hack or no hack.

  • The old allowing oracle 3GB virtual memory on windows 2003 server question?

    Hi all,
    I have a 9.2.0.7.0 database on windows 2003 server (32bit). 4 dual core cpu's and 16GB of Ram.
    I have set .use_indirect_data_buffers=TRUE and *._enable_NUMA_optimization=FALSE.
    The db_block_buffers is set at 4GB.
    Shared_pool 200MB
    Large_pool 56MB
    Java pool 56MB
    PGA is currently at 400MB
    AWE_WINDOW_MEMORY is set at 720MB (which is the lowest I can set it)
    At the moment there are various jobs running on the database and no users logged on and the virtual memory is at 1.8GB.
    The problem is as soon as the users logs onto the DB the virtual memory goes over 2GB and we see the error 'ORA-04030: out of process memory when trying to allocate 2416 bytes'.
    Now I have edited the boot.ini with the following parameters:
    multi(0)disk(0)rdisk(0)partition(1)\WINNT="UBS WSP - Wintel Server Platform with PAE" /fastdetect /PAE /4GT
    because the /3GB parameter switch started the server with lots of errors.
    The oracle.exe process still seems unable to go over the 2GB limit with getting 'ORA-04030' errors.
    Can someone tell me if I have missed anything? Or a reason why oracle is not using the switch?
    TIA
    Eddy

    Satish,
    see metalink Note:1036312.6 : Utilizing Up to 3GB Virtual Memory on Windows.
    it says :
    "The 32-bit versions of the Windows® 2000 Advanced Server and Windows NT Server 4.0, Enterprise Edition, operating systems were the first versions of Windows to provide applications with a 3-GB flat virtual address space, with the kernel and executive components using only 1 GB. In response to customer requests, Microsoft has expanded the availability of this support to the 32-bit version of Windows XP Professional and all 32-bit versions of Windows Server™ 2003."
    of course, we mustn't be mistaken with the AWE switch (/PAE) that is not available for standard edition.
    http://support.microsoft.com/kb/291988 ==> tells more about what can be supported
    regards,
    marc

  • How to connect to Window 2003 server using "connect as"

    How can I set up Lion to easily connect to specified shares in the windows 2003 server. I want to authenticate as a user other than the one I am logged into on my Macbook? I am setting this up for teachers in a school. The macbook may be used by multiple teachers. Best way (simplest) please.

    Hi
    Let's pretend the Windows Server has an IP address of 10.10.10.254
    Go Menu > Connect to Server > smb://10.10.10.254. When prompted enter the account credentials of a user (username and password) that exists on the Windows Server. Alternatively you could use cifs://10.10.10.254. Either one will do. Assuming no 'silliness' on the Windows Network Administrator's part the share should mount.
    For ease of connectivity afterwards you could tick the 'remember password using keychain manager' box. Personally I find keychain manager more trouble than it's worth. However you deal with this as you see fit. If it's multiple users using the same workstation I would not enable the option.
    Once mounted you can view the Server Share on the user's Desktop by enabling the option in the Finder. It should appear as a blue-ish drive icon on the Desktop. Add the icon in that User's Login Items in the Accounts Preferences Pane. Think of it a little like the Windows equivalent of "mapping a network drive".
    Next time that user logs into their local account and provided the workstation is connected to the same network, the share point should mount.
    You could also or alternatively drag the share icon to the right hand side of Dock. Click on it to re-connect to the share after you've disconnected from it.
    HTH?
    Tony

  • VPN client using CLI on windows 2003 server

    Hello, first time poster here. Have an interesting issue I'm hoping to find help with.
    I'm using the VPN client (I have version 4.8.01.0300) in CLI mode (called from a script) to connect to a remote site. Got the connection setup and all working fine except for one small detail. Hopefully I can explain this well...
    I want this connection to run fully unattended as it will run numerous times per day, every day. The issue is the little pop-up message saying "VPN has disconnected".
    When I first setup the connection, it was on windows XP and everything was golden. I could issue the command : vpnclient connect <name> user <userid> pwd <passwd> sd, <other stuff>, vpnclient disconnect and all worked as expected.
    Then I installed same stuff on Windows 2003 server. Issuing same connect command gives error: "user authentication failed". Then I discovered that if I first launched the vpn client GUI then the CLI command, it would connect without error - but then the "disconnected" pop-up window came along.
    So - can I either:
    - Run vpn client in CLI mode without the GUI running.
    - Suppress the pop-up.
    Thanks in advance.
    Scott

    Hi,
    Thank you for the post.
    Please try register MSI installer or clean boot your system to install FEP client.
    Registered MSI Installer following the steps below:
    1.Run "cmd"--Browse to the "%systemroot%\system32" directory and execute: "msiexec /regserver" 
    2.Change directories to "%systemroot%\SysWow64" and execute: "msiexec /regserver" 
    3.Reboot the server
    http://technet.microsoft.com/en-us/library/ff823833.aspx
    If there are more inquiries on this issue, please feel free to let us know.
    Regards
    Rick Tan
    TechNet Community Support

  • Is there  a way to access total memory used by java instance?

    is there a way to access total memory used by java instance?
    i'm familiar with
    runtime.getTotalMemory() and runtime.getFreeMemory();
    and i understrnad that it is a measure of the amount of memory available for the heap used to allocate objects and the amount of memory not being used by the object heap --
    but is there a way to (from java get the value that you get when you go to the windows taskmanager and look at javavm.exe
    stephen

    i'm using java 1.4 if that helps

  • Windows 2003 Server Standard Edition,  Oracle process needs 5 Gb memory

    Hi
    Actually i'm under Windows 2003 server Standard Edition and Oracle Standard 9.2.0.6.
    I need to have for my oracle process (User Process) a large amount of memory. (>= 5 Gb) probably 3 Gb for the PGA and 2 Gb for the SGA. (roughly).
    I'm looking on AWE 4GT etc... Microsoft is'nt clear about this.
    People with a similar experiment? Is it necessary to migrate under Windows 2003 Server Enterprise Edittion ?
    All informations and experiences are welcome.
    Regards
    Den

    Before considering ways to overcome process addressing limits (32-bit process virtual address space), Windows Server Std Ed can use/see maximum 4 GB RAM. You cant fit 5GB Oracle Server memory + other stuff + OS in that. I guess your only options are EE 32-bit or Std Ed x64, if you have the hardware.
    But, staying on the 32-bit path, it will be hard to achieve confilicting objects of large memory areas. Remember that process virtual space is 4GB regardless of how much RAM the hardware (and OS) can manage.

  • I have a Windows 2003 Server 64-Bit, and when I upgraded to Firefox 4.0.1 now it won't run, it keeps saying to restart to complete the installation, but I've restarted theserver 4 times, and I still can't use it.

    I have a Windows 2003 Server 64-Bit, and when I upgraded to Firefox 4.0.1 now it won't run, it keeps saying to restart the computer to complete the installation, but I've restarted theserver 4 times, and I still can't use it.

    I ended up putting it in DFU mode.  It's kinda hard to tell it was in DFU mode because nothing showed on the screen, it was just black, but the sounds from the computer helped to tell me it was connected.
    Itunes still didn't recognize the device for whatever reason.
    So I used redsn0w.  I don't know if I can say that on these forums, but considering itunes was worthless at this point I am going to give credit where credit is due.
    Now I am giving itunes a second chance to upgrade to 5.1, if it doesn't work, well, back to redsnow and maybe I will even jailbreak it this time rather than just using the fecovery fix found under extras.

  • Consumer Group/Resource Plan to use only one instance of a RAC

    What would be the way to create a Consumer Group/Resource Plan to use only one instance of a RAC? I have 10.1.0.5 database
    running on 10.1.0.5 RAC.
    Thanks,

    You should use "services" to limit workload to just one specific node of RAC:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10739/create.htm#sthref400

Maybe you are looking for

  • First and Last Name Swapping

    Address book in Leopard does not have the Swap First Name with Last Name in the drop down menu on the desk top tool bar. All my addresses are indexed with last name first, and I want to continue to keep my records this way. Does anyone know where the

  • Is it possible to add a JPanel to a JMenuItem? - HELP!!!!!!!!!!!!!!!!!!!!!!

    Is it possible to add a JPanel to a JMenuItem? If so how would you do this. What I'm trying to do is add a JPanel that has a bunch of JButtons added to the panel and then add the JPanel to the JMenuItem. This allows you to have more items added to on

  • Financing options and reward points

    I must admit I was caught offguard when I bought my dad an ipad a couple of weeks ago on the special financing option and did not receive my points. I was confused but after doing some research I saw Best Buy changed their policy last July.  It didn'

  • Since upgrading to Firefox 36, preference panes will not open properly

    When I open Firefox preferences, the only tab that opens is GENERAL. All the others (Tabs, Search, Content, Applications, Privacy, Security, Sync and Advanced do not open. The window is too small to view any of the content, "maximize" does not work,

  • Upgraded but now I only see a big black square instead of video.

    specify your operating system (including 32bit or 64bit); Windows XP Service Pack 3, but I don't know how to check what bit. specify your web browser and version (including 32bit or 64bit); IE-7 says 128bit. specify your Flash Player version (check h