Total memory consumed by the oracle user?

Experts,

How oracle memory can consume.
Max memory consumed by oracle =
SGA_MAX_SIZE + pga_aggregate_size

for example if
SGA_MAX_SIZE = 1728M
pga_aggregate_taget = 20 M

process = 200

the amount of memory will be used by all the oracle and oracle itself instance session?
What is the formula?

My version of the database is
SQL> select * from v$version;
 
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for HPUX: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
 
 
Total System Global Area 1811939328 bytes
Fixed Size                  2046136 bytes
Variable Size             721422152 bytes
Database Buffers         1073741824 bytes
Redo Buffers               14729216 bytes
 
sga_max_size                         big integer 1728M
 
sga_target                           big integer 0
 
If the sessions connected at present is 50
then total memory consumed by oracle instance and oracle sessions=
sga_max_size+pga_aggregate_target
or
total memory consumed by oracle instance and oracle sessions=
sga_max_size+pga_aggregate_target * 50 (current connect sessions .. assuming all sessions using 20M of pga)
Please help me how to determine the need for total memory of user Oracle and oracle instance sessions.


Thanks in advance
select sum(value) from v$sga;
select value from v$pgastat where name='maximum PGA allocated';

Tags: Database

Similar Questions

  • Cannot access SQL more from other than the Oracle users

    Hello

    I installed Oracle 11 g R2 on Red Hat 6. My problem is that I can't access sqlplus from other than the oracle users.

    I put the PATH, the ORACLE_HOME and ORACLE_SID to the correct values.

    Session1

    Connect as: oracle

    [email protected] password:

    Last login: Sun Aug 24 01:24:46 192.168.202.1 2014

    [oracle@localhost ~] $ echo $PATH

    /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/Home/Oracle/bin:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/bin

    [oracle@localhost ~] $ echo $ORACLE_HOME

    /Home/Oracle/app/Oracle/product/11.2.0/dbhome_1

    [oracle@localhost ~] $ echo $ORACLE_SID

    ORCL

    [oracle@localhost ~] $ sqlplus

    SQL * more: Production release 11.2.0.1.0 Sun Aug 24 03:17:32 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Enter the user name:

    Session2

    Connect as: nada

    [email protected] password:

    Last login: Sun Aug 24 02:31:49 192.168.202.1 2014

    [prithwish@localhost ~] $ export PATH=$PATH:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin

    [prithwish@localhost ~] $ export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1

    [prithwish@localhost ~] $ export ORACLE_SID = orcl

    [prithwish@localhost ~] $ echo $ORACLE_HOME

    /Home/Oracle/app/Oracle/product/11.2.0/dbhome_1

    [prithwish@localhost ~] $ echo $ORACLE_SID

    ORCL

    [prithwish@localhost ~] $ echo $PATH

    /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/Home/Prithwish/bin:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/bin

    [prithwish@localhost ~] $ sqlplus

    -bash: sqlplus: command not found

    I guess that I could not access sqlplus as the Nada the user has no access to X11R6

    [prithwish@localhost ~] $ cd...

    [Host prithwish@localhost] $ ls - ltr

    Total 8

    drwx-. 30 oracle oinstall 4096 23 August 23:51 oracle

    drwx-. Nada Nada 4096 24 August to 02:33 27 Mathieu

    [Host prithwish@localhost] $

    My question is, although quite stupid, that double

    (1) I have to change the permissions of the directory oracle of 755 for any other user to access the sqlplus?

    (2) why is the user directory under the folder created with permissions of 700, even when the umask is set to 002? Change the permissions of the directory under/Home oracle will cause security problems?

    My apologies for being naïve. It's the first time I installed Oracle under UNIX

    Kind regards

    Prithwsh

    Actually, the default procedure is NOT to install oracle to X11R6, but in/opt/oracle. or maybe/usr/local/oracle.

    This is what you're going to be recommended in the installation documentation, and in doing so, don't forget to run rootpre.sh and root.sh, I never had security problems and could run Oracle from any account.

    Sybrand Bakker

    Senior Oracle DBA

  • How to free the memory consumed by the Essvr.exe

    Hello
    Whenever we start a request will start a process called ESSVR.exe in the background and his memory, consumption will increase as and when we run the calculations. But after the calculation is performed should not reduce the memory consumption.
    Whats happening is that sometimes the calculation gets hanged and when I kill the process and start it again, it is run after a couple of times the calculation again gets hung, is possible to free this memory consumed by the process through calc only, script commands so that every time when a calc script finish the memory is released. We use essbase 9.3.1.

    When an application is started, the first thing it does is enter memory equal to what is defined as the key cache. This memory is never released until the application is stopped. He leaves also consumes memory for the data cache as she needs until he reached what is defined for this cache. Yet once that memory is not released until the termination of the application. In addition, additional memory can be consumed for different things while the demand is increasing. For example dynamic cache calculator will use memory during the execution of a calc, each user to make recovery uses a little memory (which can add up with many users). ASO data load buffers use memory, kinds of report and recoveries, etc., you get the picture. All these resources are released when the application terminates. (or should be, there have been cases of memory leak in some versions)

  • ASM and SCAN listener running of the Oracle user not user network

    Hi all

    Greetings for the day!

    In one of my new customer environment, I see that ASM and SCAN are running oracle user not user network, although the ORACLE_HOME is on the grid software. I read somewhere that we should run ASM and SCAN from grid not Oracle. Please let me know if I'm right and if there are consequences of the performer of the Oracle user.

    OS: Red Hat Enterprise Linux Server 6.5 (Santiago) 64-bit release

    Oracle RDBMS: 11204

    Oracle GI: 11204

    CAR Info: 2 node cluster.

    Thank you very much.

    AbbDBA

    The important word is expected here. It is suggested that 11.2, that the separation of roles, a non-oracle account must be used for the GI. But this is not essential, and certainly not wrong to use Oracle db and IM account as long as you do not use ASM according to security features. So nothing to worry about. You're good.

    Aman...

  • After changing the orainventory place im unable to connect using the oracle user

    Hello

    IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses

    / u01/app/Oracle

    After making these changes im is no longer able to connect using the oracle user...

    also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...

    any help on this would be greatly appreciated

    Sadia. wrote:

    Hello

    IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses

    / u01/app/Oracle

    After making these changes im is no longer able to connect using the oracle user...

    also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...

    any help on this would be greatly appreciated

    Newer versions of oracle have implemented a great new technology to help solve problems, called "error messages."  Unfortunately, I can't find any reference to an error message named 'is no longer able to connect.

    And why you are moving your site from inventory?  When you have installed oracle, he put the inventory where he wanted.  There is no reason to try to change or replace.

  • the Oracle user idle time

    Hello
    We have FSCM9 PS with DB Oracle 10g R2. For now the idle time for the default profile for the Oracle DB users is UNLIMITED. I wonder if I change to 90 Minutes (in order to have less use of memory for idle sessions) there would be a problem for the ERP PeopleSoft?

    Thanks before.

    It could be a problem since Peoplesoft works through application server and connection pool. There is the customer connecting application server stopped (or killed), which would allow you to avoid being able to reconnect later with other end users before.

    Nicolas.

  • No access to the oracle user to disk HARD drives

    Aloha!

    I installed Oracle 11 g R2 64 bit on Oracle Linux 5 update 7. To create an instance, assigning components of database on 3 hard disks allocated, I was invited with an error saying "cannot create the directory said. It seems that oracle (user) does not have access or sufficient permissions to run the creation of such directory. The problem is of course oracle user had no permission. How can I give an oracle as a license to the user?

    Thanks in advance.

    Hades

    Salvation;

    What is owner of these courses? What ls - lrt return on the exsiting path? Have you tried to use chmod or chown command to can give rights w/r to your oracle user?

    Use chmod and chown command man man chmod and chown man on your screen of telnet.

    You can also google for can see the use of these two commands

    Respect of
    HELIOS

  • 10g - hide, the report contains the oracle user-defined function

    Hi, experts,

    of http://obiee101.blogspot.com/2008/07/obiee-cache-management.html

    Reasons why a request is not added to the Cache:



    •The-cacheable SQL element. If a SQL query contains Current_Timestamp, Current_Time, Rand, Populate, or a parameter marker, then it is not added to the cache.

    •The-cacheable table. Physical in the Oracle BI Server repository tables can be marked "cacheable". If a query refers to any non-cacheable table then the results of the query will not be added to the cache.

    •Cache hit. In general, if the query gets a cache hit on a previously cached query, then the results of the current query are not added to the cache. The exception is query that is aggregated at winding hits hits.

    Result set is too large.
    Query is canceled. This can happen by explicit cancellation of Oracle BI Presentation Services or Administration, or implicitly through timeout tool.

    •Oracle BI Server is clustered. Queries coming into family "seeding cache" spread in the whole of the cluster. Other queries continue to be stored locally. Therefore, even if a query may be cached on the Server BI Oracle 1 node, it can not be on the node Server BI Oracle 2.




    I would like to know
    If the application (report on the dashboard) calls a function defined by the user to oracle, the cache can be created and saved for this report?

    Thank you very much!

    Hello stephen,.

    If the application (report on the dashboard) calls a function defined by the user to oracle, the cache can be created and saved for this report?

    Yes, it is cached... function defined in the database is called OBIEE is cached and saved.

    More information and example can be found here http://oraclebizint.wordpress.com/2007/09/10/oracle-bi-ee-10133-support-for-native-database-functions-and-aggregates/

    Hope this helps you. Check answers to any other questions you have posted?

    By,.
    KK

  • Creating the Oracle user... !

    Hi all

    I have a small doubt in the creation of the user.

    Consider that we have 5 users A, B, C, D, E

    that are created manually by the user SYS and DBA privilege is granted to all users of five.

    These 5 users can now create other users according to the user request.

    Consider the user XYZ is created by the user.

    My doubt is how can we know that XYZ user is created by the user, but not by other users?

    Could you please help...

    Thanks in advance.

    Hello Raymond vinay

    You can use the view of the DBA_AUDIT_TRAIL dictionary.

    THE USER SYS

    ========

    create a user identified by one;

    Connect to A grant;

    grant DBA to a.;

    THE USER HAS

    ======

    create user B identified by b;

    Grant connect to B;

    grant DBA to B;

    THE USER SYS

    ========

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SELECT the username, userhost, timestamp, obj_name, os_username, action_name

    OF DBA_AUDIT_TRAIL

    WHERE username = "A".

    ;

    OS_USERNAME USERNAME USERHOST TIMESTAMP OBJ_NAME ACTION_NAME

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

    bergerd A RTC_PROD\PCC0564 27 May 14 LOGON

    bergerd A RTC_PROD\PCC0564 27 May 14 B CREATE USER

    bergerd A RTC_PROD\PCC0564 27 May 14 CONNECT ROLE GRANT

    bergerd A RTC_PROD\PCC0564 may 27, 14 GRANT SYSTEM

    bergerd A RTC_PROD\PCC0564 27 May 14 DBA GRANT ROLE

    bergerd A RTC_PROD\PCC0564 27 May 14 closure of SESSION

    bergerd A RTC_PROD\PCC0564 27 May 14 LOGON

    bergerd A RTC_PROD\PCC0564 27 May 14 LOGON

    8 selected lines.

    SQL >

    So, user created user B as you can see in the view.

    The AUDIT_TRAIL parameter must be set at least at DB. (you can check this in the parameter$ v)

    I hope that helps!

    Kind regards

    David

  • error when getting the ORACLE user for your simultaneous request account

    Hello

    When I present the simultaneous program of OAF page Iam getting


    Error


    Has encountered an error while getting the user account ORACLE for your concurrent request. Contact your system administrator.

    When we face this error.

    Not able to submit the application



    Krishna

    Krishna

    Please make sure that you write the code even with no error. Try to rebuild your project together and then try to run the application. Also, please check that the e-Business suite is running and you are using the correct username and password. In addition, please see that the simultaneous program is attached to the sprecified of responsibility in the project settings.

    I hope that helps!

    Thank you
    AJ

  • Default environment for the Oracle user at the launch of the Scheduler?

    Hello:

    It's probably pretty basic, but I have not yet found the answer. I'm trying to run an import job using imp of the Scheduler. I modified the $ORACLE_HOME/rdbms/admin/externaljob.ora file so that the work is run as user oracle. If I take the result of 'whoami' in the program, he said yes I am oracle, but ORACLE_HOME etc. are not defined. Is - this intentional? I would think that it runs the .bashrc etc to get the right environment for the user.

    Thank you.

    You can't count on any variable defined in the environment.

    Ronald
    http://ronr.blogspot.com

  • the Oracle user privileges

    Hello

    is there a method or the request to know what are the privileges that we have at the level of the operating system as a dba

    Thank you very much

    is there a method or the request to know what are the privileges that we have at the level of the operating system as a dba

    No, DB knows little about the OS level environment.
    Access OS should work without error.

  • What is the use of the network user and 4 asm disks in oracle rac 11 g 2?

    Friends,

    Separate server DNS:
    bones of DNS: OEL 5.7

    RAC1
    OS: OEL 5.7 64bits
    DB: 11.2.0.3 64-bit

    Rac2
    OS: OEL 5.7 64bits
    DB: 11.2.0.3 64-bit

    4 disks are shared between rac1 and rac2... and I configured using the oracleasm successfully...
    above all 3 nodes are in virtual box 4.1.1.8

    I'm installing oracle 11 g 2 cars in the configuration node above the 2.

    I'm partially by following this link http://www.oracle-base.com/articles/11g/oracle-db-11gr2-rac-installation-on-oracle-linux-6-using-virtualbox.php
    up to

    runcluvfy.sh stage pre - crsinst - n rac1, rac2-verbose

    is success... now I got a question... What is the use of the network user?
    because after checking above... it installs through the user oracle... of the complete notes he has no use for the user to this network...
    can someone tell me the use of the network user?

    of course I ask only this person who wrote this installation... to get a quick answer, I ask you here...
    I hope that someone will clarify my doubt to the success of this installation in a few hours...

    I have already created users and groups below... in each node

    Node1
    [root@rac1 ~]# id oracle
    uid=200(oracle) gid=500(oinstall) groups=500(oinstall),505(dba),502(asmdba),504(oper)
    [root@rac1 ~]# id grid
    uid=201(grid) gid=500(oinstall) groups=500(oinstall),501(asmadmin),502(asmdba),503(asmoper)
    [root@rac1 ~]# 
    [root@rac2 ~]# id oracle
    uid=200(oracle) gid=500(oinstall) groups=500(oinstall),505(dba),502(asmdba),504(oper)
    [root@rac2 ~]# id grid
    uid=201(grid) gid=500(oinstall) groups=500(oinstall),501(asmadmin),502(asmdba),503(asmoper)
    [root@rac2 ~]# 
    and on the shared drive... He created 4 disks... I saw in the paper... 3 is normal and 5 for the top... but 4?

    Thank you and best regards,

    OraDB wrote:
    Thanks for the link...
    So how about storage shared... it's 4 disc are necessary for normal redundancy? or 3 is sufficient according to the documentation.

    Thank you

    Before you answer, you must reflect on what is to say NORMAL redundancy? As long as you can keep your total drive less than the size of a full disk, you'll be fine... If it becomes higher than that and you have a failure, you now will have a major problem trying to recover a defective unit. The documentation is for a minimum configuration, however, you generally have to be smarter than the documentation. You must configure really redundant N + 1. Whatever size you need, configure always a plus. So, if you need the space of 2 devices, set up 3. If you need the space of 3, Setup 4. And if you start using the appliance + 1, add another. Always keep N + 1.

    In what concerns the grid + oracle user in most of the stores of this level of "termination" is total nonsense. Unless you have a DBA who makes GI and a DBA who data bases etc... It's a moot point. I'd say it's a complete waste of time and energy in all cases. I have it configured with grid + oracle user and I configured with just the oracle user. The multi-user method can sometimes become confused when you try to find something like the other user. YMMV.

  • How to determine the Oracle Max process on Windows Server settings

    Currently I have Oracle 11.2.0.1.0 running
    Windows 2003 EE R2 SP2 x 32

    The issue now is:

    How to determine what is the maximum value that I can set the process?

    I guess that's the operating system and hardware dependent, but I can't find documentation on this topic.

    Any help is appreciated.
    Jason Longenecker

    Published by: LONGENECKER on May 13, 2013 11:33

    Published by: LONGENECKER on May 13, 2013 11:36

    We shouldn't just work the PROCESS parameter for the maximum number of BONES.

    More processes that you have, more will consume PGA the oracle Instance, i.e. more memory will be used on your server.

    You should check v$ resource_limit see if it really reached setting TREATY limits, if yes increase the parameter appropriately so that the high tide of use remains about 80% of the value of the parameter. Check if the number of sessions dedicated process is really necessary, otherwise you can consider the use of database resident connection pooling or a shared server or tuning configuration opening less sessions on the database.

    Depending on how much you increase, take a look at the view of PGA advice after a workload of the cycle of V$ PGA_TARGET_ADVICE and V$ MEMORY_TARGET_ADVICE.

  • Oracle user does not pick up environment (variables & c.)

    Hi all

    Installed 10 XE on my machine that created an oracle user and dba
    Group as expected.

    When I do

    Su - oracle

    I find myself in the oracle user's home directory

    / usr/lib/Oracle/XE

    with a bash shell. So, I create .bashrc I set ORACLE_HOME, JAVA_HOME and c.

    However, my user is still not picking up his (its?) variables.

    Can someone explain to me how to get the oracle user has an appropriate default value
    environment - TIA.


    Paul...

    Salvation;

    Go to the home directory of the user and change the.profile(aix,solaris) .bash_profile (linux) and reconnection system it should work

    You can turn down enteries

    # Oracle settings
    TMP = / tmp; Export TMP
    TMPDIR = $TMP; export TMPDIR

    ORACLE_BASE = / u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.1.0/Db_1; Export ORACLE_HOME
    ORACLE_SID = TSH1; export ORACLE_SID
    ORACLE_TERM = xterm; export ORACLE_TERM
    PATH = / usr/sbin: $PATH; export PATH
    PATH = $ORACLE_HOME/bin: $PATH; export PATH

    LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib. export LD_LIBRARY_PATH
    CLASSPATH = $ORACLE_HOME/JRE: $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH

    Source:
    http://www.Oracle-base.com/articles/10G/OracleDB10gInstallationOnFedora2.php

    Respect of
    HELIOS

Maybe you are looking for