Initial sizing of sga memory components.

Hi to all,
I want to know that how many granules be allocated to each sga components initially when we use automatic memory menagement. Let's say SGA _target is 1g. version 10.2.0
thnxs in advance.

The SGA comprises a number of memory components, which are pools of memory used to satisfy a particular class of memory allocation requests. Examples of memory components include the shared pool (used to allocate memory for SQL and PL/SQL execution), the java pool (used for java objects and other java execution memory), and the buffer cache (used for caching disk blocks). All SGA components allocate and deallocate space in units of granules. Oracle Database tracks SGA memory use in internal numbers of granules for each SGA component.
The memory for dynamic components in the SGA is allocated in the unit of granules. Granule size is determined by total SGA size. Generally speaking, on most platforms, if the total SGA size is equal to or less than 1 GB, then granule size is 4 MB. For SGAs larger than 1 GB, granule size is 16 MB. Some platform dependencies may arise. For example, on 32-bit Windows NT, the granule size is 8 MB for SGAs larger than 1 GB. Consult your operating system specific documentation for more details.
You can query the V$SGAINFO view to see the granule size that is being used by an instance. The same granule size is used for all components in the SGA.
If you specify a size for a component that is not a multiple of granule size, Oracle Database rounds the specified size up to the nearest multiple. For example, if the granule size is 4 MB and you specify DB_CACHE_SIZE as 10 MB, the database actually allocates 12 MB.

Similar Messages

  • Sizing the SGA

    Hi,
    I would like to know how to size the initial SGA size while creating the database.
    What are the things that we have to consider for sizing the SGA?
    If we have to consider if it is OLTP/DSS system, how many concurrent transactions, how many users and all, then provide me a detailed info, like if there are 100 users assign this much space, and so on.
    Thank you in advance.
    Rajesh

    See Rajesh, Tuning is not a rocket science, It can not be learned at the rate of knotes. coming back to your question, you assume your database is going to be used for OLTP, well, even that case, there are number of things still matters.
    these are...
    1. what would be the size of your database ?
    2. No of cuncurrent users conneted to oracle database?
    3. What are the physcial resources you have (cpu's, memory etc) ?
    4. Amount of sorting peromed by each session.
    5 Many more ....
    But if you really like to make an educative guess, then you can start with optimal values and increase the size according to demand. Yinguan is already suggested you to go through with tuning guide, which is the basic need for that person like to jump into tuning ocean.
    hare krishna
    Alok

  • The amount of free SGA memory available in the database

    Hi,
    How can we calculate the amount of free SGA memory available from the instance if the database is not set for Memory management.If the sga_max_size is set for a particular value and the db_cache_size and the shared_pool and all other components are specified,how can one determine whether all the memory allocated for SGA is in use?

    How can we calculate the amount of free SGA memory available from the instance if the database is not set for Memory management.When the SGA is allocated, the memory is fixed, and none of it is "free" really.
    how can one determine whether all the memory allocated for SGA is in use? Are you asking about usage WITHIN the pools? If so, shortly after startup the database buffer and shared_pool will fill-up and stay full . . . . .
    Here is the script that I use to see inside the data buffer contents:
    set pages 999
    set lines 80
    spool blocks.lst
    ttitle 'Contents of Data Buffers'
    drop table t1;
    create table t1 as
    select
    o.object_name object_name,
    o.object_type object_type,
    count(1) num_blocks
    from
    dba_objects o,
    v$bh bh
    where
    o.object_id = bh.objd
    and
    o.owner not in ('SYS','SYSTEM')
    group by
    o.object_name,
    o.object_type
    order by
    count(1) desc
    column c1 heading "Object|Name" format a30
    column c2 heading "Object|Type" format a12
    column c3 heading "Number of|Blocks" format 999,999,999,999
    column c4 heading "Percentage|of object|data blocks|in Buffer" format 999
    select
    object_name c1,
    object_type c2,
    num_blocks c3,
    (num_blocks/decode(sum(blocks), 0, .001, sum(blocks)))*100 c4
    from
    t1,
    dba_segments s
    where
    s.segment_name = t1.object_name
    and
    num_blocks > 10
    group by
    object_name,
    object_type,
    num_blocks
    order by
    num_blocks desc
    Hope this helps. . ..
    Don Burleson
    Oracle Press author

  • Tuning Oracle Database - SGA Memory

    Good morning Gurus,
      I have this environment in my company:
      SAP ECC 6
      Oracle 10g
      Aix 6.1
    Our hardware resources:
      Memory: 16GB Ram
      Processor: 4 x 3.2Ghz
      IBM Blade JS12
      Recently, we migrated SAP 4.6C (Solaris) to SAP ECC (Aix). In this new version, a lot of users feel that the performance had decreased.
      I checked SGA Memory in Oracle, and i noticed that this configuration didn't used all hardware resources.
      This parameters was like these:
      sga_max_size=712M
      pga_aggregate_target=292M
      db_cache_size=292M
      processes=80
      sessions=96
      I changed for:
      pga_aggregate_target = 4096M
      sga_max_size = 4096M
      sga_target = 4096M
      db_cache_size = 600M
       I noticed, after this change the performance was perfect. We reduced the time db execution in 60%, but now it isn't occur.
       We changed this parameters on July 4nd, now the performance decrease in 30%.
       My question is, after this change, do we need to adjust the parameters in profile?
    Thanks very much
    Denis
    Brazil

    Gerd Kirchner wrote:
    > Note 617416 is pretty old (2006), you should follow note 830576 for 10g and there is no sga_max_size mentioned.
    Yes it is old, because there are no significant changes on automatic memory management between 9i and 10g (11g is another history), so it is "valid"
    sga_max_size is not mentioned in note 830576 because the memory parameters depend on the available memory. look at the recommendations for the other "memory" parameters:
    DB_CACHE_SIZE                    Size depends on the available  memory (Notes 789011, 617416)
    LOG_BUFFER                       1048576
    PGA_AGGREGATE_TARGET             OLTP: 20 % of available memory
                                     OLAP: 40 % of available memory
    SHARED_POOL_SIZE                 400 MB or greater, refer to Note 690241
    As you see, there is only one "hard coded" recommendation and one minimum recommendation.
    It is not possible to give a recommendation for sga_max_size.
    If you do not set it, Oracle automatically calculates it.
    If it is set to small, Oracle will adjust it.
    What it is important is to set up the DB_CACHE_SIZE and SHARED_POOL_SIZE, they will be the MINUMUM sizes if AMM is
    used

  • Free SGA Memory Available is  0 ?

    Hi,
    We need to increased SGA_TARGET size but in sgainfor showing Free SGA Memory Available is  0
    how can we increased SGA_TAGGET?
    SQL> select * from v$sgainfo;
    NAME BYTES RES
    Fixed SGA Size 2059216 No
    Redo Buffers 14712832 No
    Buffer Cache Size 1929379840 Yes
    Shared Pool Size 805306368 Yes
    Large Pool Size 16777216 Yes
    Java Pool Size 16777216 Yes
    Streams Pool Size 50331648 Yes
    Granule Size 16777216 No
    Maximum SGA Size 2835349504 No
    Startup overhead in Shared Pool 251658240 No
    Free SGA Memory Available                 0
    We have 10GB RAM out of 10 7GB is utilizing.
    $ free -m
    total used free shared buffers cached
    Mem:         10136       7297       2838          0        462       3866
    -/+ buffers/cache: 2968 7168
    Swap: 5119 0 5119

    819136 wrote:
    Hi,
    We need to increased SGA_TARGET size but in sgainfor showing Free SGA Memory Available is  0
    how can we increased SGA_TAGGET?
    SQL> select * from v$sgainfo;
    NAME BYTES RES
    Fixed SGA Size 2059216 No
    Redo Buffers 14712832 No
    Buffer Cache Size 1929379840 Yes
    Shared Pool Size 805306368 Yes
    Large Pool Size 16777216 Yes
    Java Pool Size 16777216 Yes
    Streams Pool Size 50331648 Yes
    Granule Size 16777216 No
    Maximum SGA Size 2835349504 No
    Startup overhead in Shared Pool 251658240 No
    Free SGA Memory Available                 0
    We have 10GB RAM out of 10 7GB is utilizing.
    $ free -m
    total used free shared buffers cached
    Mem:         10136       7297       2838          0        462       3866
    -/+ buffers/cache: 2968 7168
    Swap: 5119 0 5119Increase the SGA_MAX_SIZE parameter andthen only you will able to increase the sga_target.
    Since sga_max_target is static parameter ,there you have to bounce the db .
    SQL> alter system set sga_max_size=xxM scope=spfile;
    shut immediate
    startup
    alter system set sga_target=xxm;
    Hope this may help you
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Initial Sizing for SAP MDM

    Need help on the initial sizing for hardware - app and db servers for SAP MDM 7.1 running on AIX and DB2.

    Hi,
    You can find all MDM guides at - https://websmp102.sap-ag.de/installmdm71
    Sizing Guide -
    https://websmp102.sap-ag.de/~sapidb/011000358700001921872008E
    Thanks,
    Shambhu.

  • Initializing JDialogs or Other GUI Components within SwingWorker

    Hello Every one,
    I have been using SwingWorker class heavily in my application and recently I noticed that If I click on a button twice or thrice the third or 4th it takes more time to perform the action in which SwingWorker is being used. So I started reading more about SwingWorker and after reading number of articles and posts on this forum I believe I am not using SwingWorker correctly. But, I am not still sure ( or may be I am afriad or I am not ready to change my code in so many files and so many locations :(
    So I thought to ask some gurus following questions, in this forum before I proceeed with the code refactoring.
    Question 1:* I am performing GUI operations in doInBackground() is it ok to perform swing operations or create swing components in this method of SwingWorker?
    Example Code :
    jbtnModifyUser Action Event
    private void jbtnModifyUserActionPerformed(java.awt.event.ActionEvent evt) {
    setButtonsState(false);
    final SwingWorker worker = new SwingWorker() {
    protected Object doInBackground() {
    try {
    openUserModifierDialog(SELECTED_PROFILE);
    } catch (Exception ex) {
    ex.printStackTrace();
    } finally {
    return null;
    public void done()
    setButtonsState(true);
    worker.execute();
    }Open Dialog Method wich I call from several other Swing Components Action performed event
    private void openUserModifierDialog(UserProfile profile) throws ServerException {
    UserModifierDialog modifier = new UserModifierDialog(_frame, true, profile);
    modifier.pack();
    modifier.setVisible(true);
    if (modifier.isModified()) {
    resetFields();
    populateUserTable();
    } If I click 3 to 4 times same button the 4th or 5th time the dialog opens after soem delay like 10 seconds. But in first two three click it opens quickly like in 2 to 3 seconds. Is it due to the fact that I am perfoming Swing GUI operations in doInBackgroundMethod()?
    Question 2: Should I use EventQueue.invokeLater() but as far as I have learned from the articles, the actionPerformed events already run on EDT.
    Question 3:_ Each dialog has multiple swing components like combo boxes, tables, tress which it populates after fetching data from the Database in its constructor. It takes like 1 to 2 seconds to bring data and initialize all swing components. Once the Dialog is initialized in the constructor I call my own function to set the existing user details ( As shown below ).
    I need to set all the details before I show the Dialog to the user. To achieve this what is the best practice? Where should I use SwingWorker in current scenario? in Dialog's PostInitialize()? In Dialog's Constructor()? or in the Frame's openModifierDialog()?
    public UserModifierDialog(java.awt.Frame parent, boolean modal, UserProfile userprofile)
    throws ServerException {
    super(parent, modal);
    if (userprofile != null) {
    SELECTED_USER_PROFILE = userprofile;
    }else{
    //throw new Exception("Invalid user record. User profile cannot be null. ");
    initComponents();
    postInitialize(); // my function called to set the user details on the screen
    private void postInitialize() throws ServerException {
    _userManager = new UserManager();
    initializeAllPermissions();
    initializeUserGroups();
    setFields(SELECTED_USER_PROFILE);
    private void initializeUserGroups() throws ServerException {
    _jcbUserGroup.removeAllItems();
    _jcbUserGroup.setModel(new ArrayListModel(_userManager.getAllUserGroups ()));
    _jcbUserGroup.setSelectedIndex(0);
    private void setFields(Userprofile profile) throws ServerException{
    _jlblUserID.setText(profile.getUserid().toString());
    _jtfUserName.setText(profile.getUsername());
    _jtfFirstName.setText(profile.getFirstname());
    _jtfLastName.setText(profile.getLastname());
    _jtfPassword.setText(profile.getPassword());
    _jtfConfirmPassword.setText(profile.getPassword());
    _jtaDescription.setText(profile.getDescription());
    _jcbUserGroup.setSelectedItem(_userManager.getUserGroup(profile.getUserGroupID()));
    } Question 4: I noticed that if I use following code in my openModifierDialog function to execute the worker rather then its own execute method the dialog opens quickly each time.
    Is it good idea to use the following to execute a SwingWorker or I shouldn't as I may fall in some threading issues later on which I am not aware of?
    Thread t = new Thread(worker);
    t.start();Hope to hear some useful comments / answers to my queries.
    Thanks in advance.
    Regards

    Thanks for your prompt reply and answers to my queries.
    Well, I know there are enormous faults in this code. Thats why I am seeking guru's advice to clean the mess. Let me give you breif background of the code. The current code was written by some one else using old version of SwingWorker and I am just trying to clean the mess.
    All the JDialog or Swing Components intialization code was in construct() method of previous SwingWorker. Later on when the SwingWorker became the part of Java SE 6 all application code was refactored and the GUI components initialization was moved to the new function doInBackground().
    The sample code represents the current condition of the code. All I needed was a shortcut to clean the mess or to avoid changes at so many places. But it seems that there is no easy workout for the current situation and I have to change the entire application code. I have gone through the SwingWorker API and tutorial @ [http://java.sun.com/developer/technicalArticles/javase/swingworker] and I am doing following to clean this mess.
    Well the following code is proposed refactoring of the previous code. Hope to hear your comments on it.
    private void jbtnModifyUserActionPerformed(java.awt.event.ActionEvent evt) {
    try{
    openUserModifierDialog(SELECTED_PROFILE);
    } catch (Exception ex) {
    logger.error(ex);
    //show some message here
    } finally {
    private void openUserModifierDialog(UserProfile profile) throws ServerException {
    UserModifierDialog modifier = new UserModifierDialog(_frame, true, profile);
    modifier.pack();
    modifier.setVisible(true);
    if (modifier.isModified()) {
    resetFields();
    //UserModifierDialog Constructor
    public UserModifierDialog(java.awt.Frame parent, boolean modal, UserProfile userprofile)
    throws ServerException {
    super(parent, modal);
    if (userprofile != null) {
    SELECTED_USER_PROFILE = userprofile;
    } else {
    //throw new Exception("Invalid user record. User profile cannot be null. ");
    initComponents();
    postInitialize(); // My function called to set the user details on the screen
    private void postInitialize() {
    _userManager = new UserManager();
    setCursor(java.awt.Cursor.getPredefinedCursor(java.awt.Cursor.WAIT_CURSOR));
    final SwingWorker worker = new SwingWorker() {
    protected Object doInBackground() {
    try {
    return _userManager.getAllUserGroups(); //returns ArrayList of all user groups from database
    } catch (ServerException ex) {
    //Show Message here
    return null;
    protected void done() {
    try {
    if (get() != null) {
    _jcbUserGroup.setModel(new ArrayListModel((ArrayList) get()));
    _jcbUserGroup.setEditable(false);
    setFields(SELECTED_USER_PROFILE);
    else
    //show some error to user that data is empty
    } catch (InterruptedException ex) {
    //show message here
    } catch (ExecutionException ex) {
    //show message here
    } finally {
    setCursor(java.awt.Cursor.getPredefinedCursor(java.awt.Cursor.DEFAULT_CURSOR));
    worker.execute();
    private void setFields(Userprofile profile) throws ServerException {
    _jlblUserID.setText(profile.getUserid().toString());
    _jtfUserName.setText(profile.getUsername());
    _jtfFirstName.setText(profile.getFirstname());
    _jtfLastName.setText(profile.getLastname());
    _jtfPassword.setText(profile.getPassword());
    _jtfConfirmPassword.setText(profile.getPassword());
    _jtaDescription.setText(profile.getDescription());
    _jcbUserGroup.setSelectedItem(_userManager.getUserGroup(profile.getUserGroupID()));
    }In some places where data is way too huge I am going to use process and publish methods of SwingWorker.
    Now I have another question, how I can notify/throw any exceptions occured inside SwingWorker doInBackground method or done method to the function who executed SwingWorker. Currenlty I am catching the excpetions in the done method and showing a dialog box. But I want to throw it to the postInitialize method the method who created and executed the Worker. What is the best practice of handling exceptions in SwingWorker methods.
    Do you see any problems in proposed refactoring?
    Hope to hear your comments.
    Regards

  • Increase the SGA Memory

    Hi,
    Iam using oracle 9i OS Solaris version 9.2.0.6
    I am new to Oracle Database and i learn DBA any help me.
    My Database Ram Size is 16 Gb
    Now the SGA Size is below
    Total System Global Area 3747585360 bytes
    Fixed Size 736592 bytes
    Variable Size 1593835520 bytes
    Database Buffers 2147483648 bytes
    Redo Buffers 5529600 bytes
    Now i want to increase the SGA size to 5 Gb
    How to increase the SGA Size and give the examples SGA Based parameters also i want to increase so Kindly Help.
    Regards,
    Suresh Kumar

    Hi.It is correct that you must look into the documentation as the first-point-of-resource.It will be more quicker than to wait for the reply here.Not to say that don't post your question but do a search, get some thing in your hand,read it and when you dont understand it than post the question here.It will be more better approach of learning.
    For your question , in 9i you can't increase the total memory for your SGA on the fly as like you can (to some extent).If you want to increase the total memory allocated to your SGA than you need to change the parameters which constitute the total memory for the SGA in 9i.REad here.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/create.htm#998095
    SGA_MAX_SIZE parameter controls the total memory allocated to your SGA in 9i.You need to change its value in the parameter file/spfile and bounce your db to reflect teh changes.
    Aman....

  • SGA Memory Allocation

    Does SGA takes it's memory space from RAM or Hard Disk? what's the default size occupied?

    The documentation is excellent. It does not have the solution for all problems, but if it does have the solution then being able to look it up makes you more efficient than if you ask a question here and then twiddle your thumbs while waiting for someone else to look it up for you.
    I posted a link that had the exact answer to your question, in this case the documentation was all you needed.
    So you complained.
    Justin pointed out that the link contained the answer and then quoted it exactly from the documentation.
    So you thanked him.
    I am just going to say that if you refuse to look at the documentation and read it for yourself, you are only hurting yourself, you will be less efficient than you should be, it will take you longer to get answers and you are not going to learn much.
    No need to apologize.

  • Sizing of SGA

    Hi All,
    OS:Windows 32 bit
    RAM= 2GB
    DB: Oracle 10.2.0.3
    I am in a fix, my UAT server is used to run reports and it was running fine earlier but now due to a big java file , the report is not generated.
    In my DB automatic SGA tuning is not enable and the SGA parameters are specified as below:
    sga_max_size=1400M
    Java_pool_size=32M
    large_pool_size=104M
    pga_aggregate_target=512M
    Kindly tell me how to go about this as the RAM size of the UAT server is limited to 2GB and whether i should enable auto SGA tuning for the same, will this move help the cause?
    BR
    Sphinx
    Edited by: $phinx19 on Aug 14, 2012 3:20 AM

    Hi,
    I tried increasing the size of java pool but i got the following error:
    alter system set java_pool_size=104M scope=spfile;ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-04033: Insufficient memory to grow pool
    So can you please tell me how to go about this?
    Will enabling SGA_TARGET will help the cause or can I reduce some other parameter so that it can compensate for the increase in Java pool?
    BR
    Sphinx

  • Stream Pool Sizing and SGA AMM

    Hi DBAs,
    Just a very general question. I have enabled the SGA AMM. So the Stream Pool Size is not defined. Sometime I am getting the warning for messages are spilling over. Should I increase the SGA or Disable the Automatic Memory Managent and define the Stream Pool Size explicitly. I am using Oracle 10.2.0.4 (single instance). I have heard from some experts that SGA AMM feature doesn't scale well some time but not sure how it manage the streams pool. If SGA AMM is not enabled then SGA only allocate 10% for Stream Pool. Total System RAM is 16GB and SGA Max and Target is 8 GB.
    Should I increase the SGA AMM enabled or explicitly define the Stream Pool Size? Any suggestion please ..
    Regards
    -Samar-

    When you set SGA_TARGET, normally the value of STREAMS_POOL_SIZE is 0 and AMM allocate memory as needed by the system.
    Nevertheless, if you set it, then it means you request the minimum value for streams_pool_size not to shrink below this value.
    You did not precise if the spilling occurred on Source or on Target.
    -On source, it means that the messages are not propagated fast enough (usually this is paired with flow control in effect) and the excess messages are spilled to disk queue table.
    -On Target, it means the apply process is not fast enough, and messages received in the buffered queue table are spilled onto the disk queue table (your aq$_<queue_name>_P)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ASMM - sga dynamic components and standby

    Are SGA dynamic modifications "transferred" from the primary to the standby?
    i.e: if __shared_pool is resized in primary will this also trigger standby?
    Trying to determine if dynamic pools may somehow end up being different upon switchover/failover or if it's possible that upon switchover standby's dynamic shared_pool size results smaller than that of former primary

    Absolutely, yet there are some things DG broker does upon switch over. Was wondering if somehow standby would be "updated" upon switcher...
    But then again, it's SGA as a hole may be smaller to begin with...
    Were you to tell if the following is true or false:
    "After activation standby database may have a SGA configuration different than that of primary"
    what would you say?
    Hole intention here is to determine whether after a switch over it's possible to start getting ORA-04031 on account of dynamic pools being different
    and oracle struggling to re-size them...
    Suppose we have a 6Gb SGA... primary has been working full steam for say 2 months and dynamic pools are set by oracle in the following way:
    shared_pool...3Gb
    cache...3Gb
    Now if standby has not acknowledged those dynamic changes, it may be using values of it's own... maybe a larger cache... say
    shared_pool...1Gb
    cache...5Gb
    Now we switch-over and if sga settings are not "synced", then new primary will have 2Gb less of shared pool...
    Application kicks in, shared pool runs low... Oracle will have to move 1 or 2Gbs from cache to shared pool, this will cause serious latching and most likely ORA-04031
    so is that likely to happen?

  • Problem in sizing sga

    Dear All,
    We are using Oracle 10g R2 on windows 2003.Our sga_max_size=2000m and sga_target=800m.We have enabled ASM.
    I got an alert message in enterprize manger which says virtual memory paging is happening and its impact is 100%.
    Now,Is this problem related to SGA?Do i have to resize my sga_max_size ?
    We have 4gb RAM 460 gb hard disk what would be the ideal size for sga?
    Regards,
    Kris

    For guidelines over SGA & memory, refer discussion here...
    Re: windows 32bit sga and pga limits
    But actual sizing of SGA depends on your application needs. If it needs more SGA, it does. You might need to add more RAM to your server to cope up with existing workload for a given number of users.

  • Default memory target/SGA values in Oracle 11g

    I have a few minor questions about how Oracle assigns memory parameters when creating database.
    I'm working with Oracle 11gR2. Right now, I've got 4G of RAM available. When I did my install, I created a 'default' database. It assigned a memory_target (and memory_max_target) of 1.6G.
    Now, from what I've read, the SGA memory is part of the 'memory_target' so you shouldn't have to muck around with it. (Both the sga_target and pga_agregate_target have 0.) If I'm wrong, feel free to correct me on that...
    My main question is: How exactly does Oracle figure out what the memory_target should be? Does it look at available RAM and calculate the memory_target based on that, or is it some default value? (I may be setting up an Oracle database on another server with more RAM, and I was curious whether the memory_target would automatically be set higher to reflect the greater RAM availability, or whether I have to do some work to manually increase it.)
    The installation guide simply mentions that 'Memory_target' is used by default but doesn't go into detail about how its calculated. And the administrator's guide gives information on how to change it without talking about what its default is. (At least not that I can see.)
    Would I be better to use the database configuration assistant rather than setting up the database at install time?
    By the way, this is using Oracle 11gR2, 64 bits (so it should be able to address more memory), running under Windows Server 2008 (also 64 bits).
    (Note: I wasn't sure whether this question belonged under database general or installation.)

    At install time, the installer sets the value for MEMORY_TARGET. It seems reasonable to assume that it used 40% of available RAM or 1.6 GB as a starting point when you did the install though this depends on the exact options you chose during the installation process. I believe 40% of the physical RAM is the default if you indicate that you are installing 11.2 on a desktop-class machine with all the default options.
    If you add additional RAM to your machine, that will not change the MEMORY_TARGET setting. You can, however, certainly increase MEMORY_TARGET if you want Oracle to use more of the available RAM. When you tell Oracle that you're installing on a desktop-class machine, it assumes that you are likely going to run a bunch of other software as well that will consume most of the RAM on the box so it limits how much RAM is given to Oracle. It's quite safe to increase that value if you want Oracle to use more of the machine's space.
    Justin

  • Error BI Apps HR and Fin full load - ORA-04030: out of process memory......

    Hi Experts,
    I loaded HR it went well, but now I am trying to load both HR and Financial Full load. I am getting below issue for some DAC tasks:
    ORA-04030: out of process memory when trying to allocate 1049100 bytes (kxs-heap-w,kllcqgf:kllsltba)
    Environment:
    Source System:
    Win server 2008 - 2 GB RAM; EBS R12.1.1.
    Target System:
    Windows Server 2008 32 bit (with /3G, /PEA switches enabled) – 4 GB RAM; obiee 10g;biapps 7.9.6.2;dac 10.1.3.4.1;Informatica PC 8.6.1 Hotfix 11;Oracle DB 11.1.0.7.
    DAC Tasks that failed:
    TASK_GROUP_Extract_GLLinkageInformation
    SDE_ORA_GL_COGS_LinkageInformation_Extract
    SDE_ORA_GL_AP_LinkageInformation_Extract
    SDE_ORA_GL_AR_REV_LinkageInformation_Extract
    SDE_ORA_GL_PO_LinkageInformation_Extract
    All the above tasks are failing with above error.
    Below are the memory parameters for BI Apps database:
    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 820M
    memory_target big integer 820M
    pga_aggregate_target big integer 257374182
    sga_target big integer 0
    I also tested by increasing below parameters:
    memory_max_target 2G
    memory_target 2G
    pga_aggregate_target 1G
    sga_target 900M
    But it didn’t work, same errors.
    Please let me know how can I solve this issue. Thanks for your time.

    The below text is from doc id, I've picked solution part
    let me know updates
    =====Start======================
    Solution
    NON-ORACLE SOFTWARE STEPS
    1.If you have 4Gb or less of RAM, add more RAM to the 32-bit computer system (add another 4Gb or more, if possible).
    2.Enable the /3GB in the BOOT.INI, see note:
    Note 225349.1 Implementing Address Windowing Extensions (AWE) or VLM on Windows Platforms
    3.If using MS-Windows Enterprise Edition, enable Physical Address Extensions (PAE) by adding the /PAE switch to the BOOT.INI, see note Note 225349.1.
    NOTE: The Windows tool Perfmon should be used in ORA-4030 problems on Windows. Task Manager is not a reliable tool to investigate ORACLE.EXE process memory size.
    ORACLE SOFTWARE STEPS
    Steps for both Enterprise and non-Enterprise Editions of MS-Windows
    1.Check for excessive INACTIVE sessions:
    select sum(PGA_ALLOC_MEM) from v$process p, v$session s where p.addr = s.paddr and s.status = 'INACTIVE';
    If this query returns a large value (i.e. several hundred Megabytes or even greater that 1 Gigabyte), then it is recommended that you automate the cleanup of INACTIVE sessions. To see how this works, see notes;
    Note 151972.1 Dead Connection Detection (DCD) Explained
    Note 159978.1 How To Automate Disconnection of Idle Sessions
    Implement DCD & IDLE_TIME, by doing the following;
    Set SQLNET.EXPIRE_TIME = x (minutes) in the Server SQLNET.ORA file,
    Create a PROFILE with IDLE_TIME set, and assign it to users.
    If you find that the processes remain with status SNIPED, then you will need to implement removal of those processes as well, see note:
    Note 96170.1 Script for killing sniped sessions shadow processes
    For more information, see Note 601605.1 A discussion of Dead Connection Detection, Resource Limits, V$SESSION, V$PROCESS and OS processes
    2.Review Note 46001.1 and determine the pro's and con's of running ORASTACK against the ORACLE.EXE.
    If appropriate, shut down the database, and run the following command in an MS-DOS window:
    orastack oracle.exe 500000
    Re-start the database.
    Steps for Enterprise Editions of MS-Windows
    Determine if using AWE would fit your database needs. This allows the Buffer Cache component in the SGA to be relocated above the 4Gb memory footprint for the ORACLE.EXE process. Since this configuration requires a virtual memory window to map memory allocations above the 4Gb memory area, this option fits best with database requirements for a 1G and up sized Buffer Cache. It would not be efficient to have a 400M Buffer Cache above the 4Gb memory footprint and yet allocate a 1Gb virtual memory window to map to that memory.
    1.Decide on the size of the SGA, PGA requirements and AWE (default 1Gb), given 300Mb overhead for the ORACLE.EXE and the 3Gb memory limit (as per the BOOT.INI /3GB switch). Please note that the minimum AWE size depends on the number of CPU's, see note Note 225349.1.
    - Grant OracleService<SID> the 'Lock Pages in Memory' system privilege at the operating system level, see Note 225349.1.
    - If necessary, change the Address Windowing Extensions (AWE) size from the default 1Gb, see Note 225349.1.
    - Adjust any of the other SGA memory settings; SHARED_POOL_SIZE, LARGE_POOL_SIZE, JAVA_POOL_SIZE & STREAMS_POOL_SIZE.
    - Adjust the PGA memory setting, PGA_AGGREGATE_TARGET. NOTE: This is a target, so a decrease in this process will not directly affect the memory footprint of the ORACLE.EXE.
    - Unset SGA_TARGET and/or MEMORY_TARGET (11g).
    - Set USE_INDIRECT_DATA_BUFFERS=TRUE.
    - Unset DB_CACHE_SIZE. Set DB_BLOCK_BUFFERS to the desired size (this will use memory above the 4Gb range).
    2.Start the database.
    Steps for NON-Enterprise Editions of MS-Windows
    1.Decide on the size of the SGA and PGA, given 0.1Gb overhead for the ORACLE.EXE and the 3Gb memory limit (as per the BOOT.INI /3GB switch).
    2.Adjust the SGA_TARGET and/or MEMORY_TARGET (11g), or use explicit settings for the SGA components and eliminate auto-tuning. NOTE: Advantages of auto-tuning are often minimal on Windows 32-bit due to memory limit issues.
    3.Adjust the PGA memory setting, PGA_AGGREGATE_TARGET (optional on 11g). NOTE: This is a target, so a decrease in this process will not directly affect the memory footprint of the ORACLE.EXE.
    4.Start the database.

Maybe you are looking for

  • Office 2013 Key Card - Worth keeping?

    AceOfSpades wrote: These are the proof of ownership, do not throw them out.  I keep a spreadsheet with a list of PCs and which key goes where. We do the same. You never know when you might need them.

  • Imported AS3 swf animation not looping

    I have tried all of the settings in Captivate 5.5 but can't keep my animation looping and not sure why. I've imported an AS3 swf animation (just a simple movieclip animation of a blinking line) into Captivate 5.5. I placed the animation at the end of

  • Help for "Invalid Object Count"

    Hi I got a Schema in my Database, i added a couple of tables with a script, dropped them again and did so 3 times because of some errors. Now i get the Error "Owner's Invalid Object Count" in the Category "Invalid Objects by Schema" and Oracle Enterp

  • SD programs for Adobe

    Hi, I'm changing SD forms from SAPscript to Adobe way. Can help me with the SD names of programs for Adobe??? For example, Confirmation order in SAPscript is RVADOR01, what is the program for calls Confirmation Order in PDF??? I have version SAP ECC

  • Example for Tagging API using EJB3.0 on Jboss Application Server

    Hello Friends In EJB 3.0 development I am searching for Taging API implementation using JBOSS application server and Netbeans 5. If anyone has tutorial to do so please post the link. Thanks in advance. Ravi Phulari