Increase SGA size with ORA-02095.

Hi Experts,
I want to increase SGA for oracle 10G in window 2003 . however, I got error as
SQL> alter system set sga_max_size=1700M,scope=spfile;
alter system set sga_max_size=1700M,scope=spfile
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
SQL> alter system set SGA_TARGET=1700M scope=SPFILE;
System altered.
SQL> alter system set sga_max_size=1700M,scope=spfile;
alter system set sga_max_size=1700M,scope=spfile
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
Now I just increase SGA_target as 1700M How to increase SGA_MAX_SIZE?
Thanks
JIM
Edited by: user589812 on Mar 23, 2009 8:42 AM

SQL> alter system set sga_max_size=1700M,scope=spfile;
alter system set sga_max_size=1700M,scope=spfile
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
take out comma,
alter system set sga_max_size=1700M scope=spfile;

Similar Messages

  • How to increase SGA size in Oracle 9i release  9.0.1.1.1

    Hi,
    We have Oracle 2000 server on a intel machine (2.8GHz processor and 2 GB RAM). Virtual memory is :- 3GB.
    We have a Oracle 9.0.1.1.1 running on this machine. What are the parameters that I need to set to increase the SGA size. We want a large SGA size with enough space for shared pool.
    Thanks in advance.
    --Malay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Malay,
    First Check out the RAM utilization for the OS Kernel and remaining to the applications and then to SGA.
    We have Oracle 2000 server on a intel machine (2.8GHz processor and 2 GB RAM). Virtual memory is :- 3GB.I suppose its Windows 2000 Server!!!
    & What's the size of the Database?
    all these things allow you to decide how "large" you can increase the SGA

  • Need to Increase SGA Size

    Hi,
    RDBMS : 11.1.0.7.0
    OS : RHEL 5 (X86_64)
    EBS : 12.1.3
    My Database Server RAM size is 128 gb
    Currently my Parameters are
    SGA_Target = 2g
    SGA_max = 2g
    Shared_pool_size = 600m
    Kernel Parameters are :
    kernel.msgmnb = 65536
    kernel.msgmax = 65536
    kernel.shmmax = 68719476736
    kernel.sem = 256 32000 100 142
    kernel.shmmni = 4096
    kernel.msgmni = 2878
    fs.file-max = 6553600
    net.ipv4.ip_local_port_range = 1000 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 4194304
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    My question is...
    As My project manager is asking to increase the SGA Size as i have 128gb RAM of server.
    Maximum how much i can increase the SGA Size
    It is PRODUCTION Server... Now it's running with out any issue... but so much RAM is there y can't we use....?
    Please advice..
    Thanks,

    As per the Note
    Maximum SHMMAX values for Linux x86 and x86-64 [ID 567506.1]
    =======================================================================
    QUESTION 2
    ===========
    What is the maximum value of SHMMAX for a 64-bit (x86-64) Linux system?
    ANSWER 2
    ===========
    Oracle Global Customer Support officially recommends a " maximum" for SHMMAX of "1/2 of physical RAM".
    The maximum size of a shared memory segment is limited by the size of the available user address space. On 64-bit systems, this is a theoretical 2^64bytes. So the "theoretical limit" for SHMMAX is the amount of physical RAM that you have. However, to actually attempt to use such a value could potentially lead to a situation where no system memory is available for anything else. Therefore a more realistic "physical limit" for SHMMAX would probably be "physical RAM - 2Gb".
    In an Oracle RDBMS application, this "physical limit" still leaves inadequate system memory for other necessary functions. Therefore, the common "Oracle maximum" for SHMMAX that you will often see is "1/2 of physical RAM". Many Oracle customers chose a higher fraction, at their discretion.
    Occasionally, Customers may erroneously think that that setting the SHMMAX as recommended in this NOTE limits the total SGA. That is not true. Setting the SHMMAX as recommended only causes a few more “shared memory segments” to be used for whatever total SGA that you subsequently configure in Oracle. For additional detail, please see Document 15566.1, "SGA, SHMMAX, Semaphores and Shared Memory Explained"
    ==========================================================================
    Our server RAM is 128 gb.... as per the note 1/2 of the physical RAM we can assign for SHMMAX parameter... (apprx 60gb)
    How can i understood this answer for my configuration......
    Please advice...
    Thanks,

  • Increase SGA Size

    HI,
    EBS- 12.0.6
    DB- 10.2.0.3
    I found this in the ADDM Report ---
    FINDING 1: 100% impact (18551 seconds)
    The SGA was inadequately sized, causing additional I/O or hard parses.
    RECOMMENDATION 1: DB Configuration, 100% benefit (18551 seconds)
    ACTION: Increase the size of the SGA by setting the parameter
    "sga_target" to 3140 M.
    ADDITIONAL INFORMATION:
    The value of parameter "sga_target" was "2512 M" during the analysis
    period.
    SYMPTOMS THAT LED TO THE FINDING:
    SYMPTOM: Wait class "User I/O" was consuming significant database time.
    (43% impact [7964 seconds])
    SYMPTOM: Hard parsing of SQL statements was consuming significant
    database time. (3.1% impact [577 seconds])
    Workarround :
    1. Make the entry in the pfile as sga_max_size=3500M.
    2. Shutdown the DB
    3. Startup the DB with the pfile
    4. SQL>CREATE SPFILE='path of the spfile' FROM PFILE"
    5. Shutdown Immediate
    6. Startup the DB with the newly created spfile " SQL>STARTUP SPFILE='path of the spfile' "
    7 sql> show parameter sga to make sure your changes takes effect
    Please correct me if am wrong ..
    Thanks

    you have to tune the application layer , check top ten query in AWR within perfromance tab , run SQL tuning advisor for each query and see the recommendations , implemnet recommendations , as i have expericence it alls due to huge IO occuring at database (i.e Full Table Scan) due to missing index , if index is not being used then check if any function is used on index coulm (it inhabit skip index usage) then try to avoid function over index column or create function based index. You may need to run explain plan of that query or tkprof tool to identify what optimizer is taking route to fetch data.Check also stats are gathered on tables and index properly.
    I have got eliminated function over indexed column by giving alternate to our techno functional consultant.

  • How can i increase sga size in oracle 10g

    Hello friends
    how can i increase my sga size in oracle 10g
    Regards
    Vicky
    Edited by: Vignesh Chinnasamy on 31-Jul-2012 02:28

    HI
    **SQL> Show parameter sga ;**
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 2G
    sga_target                           big integer 2G
    **SQL> show parameter memory;**
    NAME                                 TYPE        VALUE
    hi_shared_memory_address             integer     0
    shared_memory_address                integer     0
    **[root@mte ~]# ulimit -a**
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 1024
    max locked memory       (kbytes, -l) 32
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    stack size              (kbytes, -s) 10240
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 278528
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    *[root@mte ~]#*

  • ORA-19510: failed to set size with ORA-27059: could not reduce file size

    Hi,
    I have RMAN backup implemented and getting below error.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on c1 channel at 01/12/2014 04:28:37
    ORA-19510: failed to set size of 12839996 blocks for file "/home/oracle/DBBACKUP/Oracle10g1/Full_Backup/DB_Backup_201401128366598241" (blocksize=16384)
    ORA-27059: could not reduce file size
    Linux Error: 28: no space left on device
    Additional information: 2
    I have checked with following scenarios:
    1. taking backup by setting the MAXSETSIZE parameter value greater than the maximum size of tablespace.
    2. taking compressed incremental backup with maxsetsize as unlimited.
    3. taking compressed incremental backup with maxpiecesize value as 20G/40G/80G/120G and maxsetsize as unlimited.
    Following is the RMAN backup script:
    RMAN> run
    2>  {
    3>  allocate channel c1 device type disk maxpiecesize 120G
    4>  format '/home/oracle/DBBACKUP/Oracle10g1/Full_Backup/DB_Backup_%Y%M%D%t%p';
    5>  backup incremental level 0 as compressed backupset database plus archivelog delete input;
    6>  crosscheck backup of database;
    7>  crosscheck backup of controlfile;
    8>  crosscheck archivelog all;
    9>  delete noprompt expired backup of database;
    10>  delete noprompt expired backup of controlfile;
    11>  delete noprompt obsolete recovery window of 15 days;
    12>  release channel c1;
    13>  }
    14> exit;
    Oracle database version is 10.2.0.1.
    The database is on Linux system and we are taking the RMAN backup on mounted Windows NTFS disk.
    The remaining space on NTFS system 1.7TB and the total database size 850GB. Used size by database is 500GB.
    Regards,
    Yogesh.

    Hi,
    First get the backup piece size its trying to allocate for file "/home/oracle/DBBACKUP/Oracle10g1/Full_Backup/DB_Backup_201401128366598241"
    = 12839996*16384
    = 210370494464/1024/1024/1024
    =195.9GB
    Its trying to allocate ~196GB for the file.
    1. Make sure the RMAN backup piece won’t exceed the O/S permitted filesize limit.
    2. But we can restrict the RMAN backup piece using the MAXPIECESIZE option.
    You restricted it to 120GB but actual requirement to allocate backup piece file is ~196GB.
    I think you need to change the MAXPIECESIZE and give it a try.
    Please update if it succeeded or failed.
    Thanks & Regards,
    Gayu

  • Increasing disk size with Nw5.1 Sp8

    I'm currently running a Dell SC430 with two 80gb SATA drives. The OS is Nw5.1, Sp8. I want to replace the non-system drive with a much larger one, maybe up to 1 to 2 Tb. Is there any limit in Netware on drive size? Is there any known hardware limit as well?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    I believe 2 TB is the maximum size of an NSS partition, and I think you
    can combine four of those for a max-size of an NSS volume (8 TB). With
    that said, I doubt many NW 5.1 environments ever saw that kind of storage
    and if it doesn't work then fixing it may not be fun.
    Good luck.
    On 08/23/2010 11:36 AM, GlenHartzler wrote:
    >
    > I'm currently running a Dell SC430 with two 80gb SATA drives. The OS is
    > Nw5.1, Sp8. I want to replace the non-system drive with a much larger
    > one, maybe up to 1 to 2 Tb. Is there any limit in Netware on drive
    > size? Is there any known hardware limit as well?
    >
    >
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
    iQIcBAEBAgAGBQJMcrdhAAoJEF+XTK08PnB5EekQAKm6ukAg4K BjC5tc0HJKBL94
    sGTQbXnU7dlxw0o1Ob8waR4qFVwtrA1nF3V5H7oC3pCvDa0tCh a92TO2Hboav9zq
    kxJvKJWmPwN4VZdkyNkAqD+XWvXp51jFIG+DD5WGGoPyR4mN9U GVVnxJXV0+02j3
    NwifNaaZzKb4KxJYts0P4UBHQrUWVEcbktb9giQoIHHzl5mk9q 7l5cGXkmZUhzKP
    kQC7Ckr5J+6yur6mgDllYPpPYLfOUyBvPvXLq48oiWHIdJltvY Eamby6aBOEJ1OP
    h7XEI8SIAAeJhjVTrc3EgXkRV1WfTUnU7Z7D3R4OTSBMMaQJnl e1N205BP4JkPj7
    6jv/5oMOjutoy7f84jbtjAYGEGB3by1JEibfzKyYnzJlUS36C4W4fA 4FkQs9JMBQ
    YCZbQ2xLkde6RmdvnS+utWBiY6clldsn+gVTYLn/66nB9Glo6AzPVBVxVOjSUUys
    olnYnJ6TmoLq9pcP+j5qTEY1h487YkLnRE+CGd7zazpX5FG5ar Hzaj2Wet9T+R0X
    OiH2f5p71shJ+r/uqD1Q8EKWsRrVL5Ovh1FFRvZx+B2mmt2dUiC3QLGn0dJzw8uc
    XGaSo8JNE/8h0FvgX70Jnr4p1CGeTZrWDw19d3sXQSfoeeZrtq7l/+XADiTOlStt
    mKgyq/c8rQJnrYmwTF1h
    =L2ln
    -----END PGP SIGNATURE-----

  • Increase SGA on database with dataguard

    hi all,
    I have a database (10.2.0.2.0) configured with dataguard and we want to increase the SGA. We want update the RAM from Server ( Microsoft Windows Server 2003 R2 Server 5.2 Service Pack 2 (32-bit) ) with double memory RAM (actually 8G):
    The steps would be the next?:
    - SQL>alter system set sga_max_size=16G scope=spfile;
    - SQL>alter system set sga_target=16G scope=spfile;
    - shutdown immediate;
    - startup;
    Same in the standby database?
    Thanks in advance.

    Hi;
    What is your current SGA_MAX_SZE parameter? the SGA_MAX_SZE parameter is not dynamic in oracle 10g.
    To increase the sga size for your instance or to decrease,
    1. Make the entry in the pfile as sga_max_size=value. (generally pfile at 'ORACLE_HOME\database') *
    2. Shutdown the DB
    3. Startup the DB with the pfile as " SQL> STARTUP PFILE='path of the pfile edited' "
    4. Your DB is now running on pfile, to make the changes in spfile "SQL>CREATE SPFILE='path of the spfile' FROM PFILE"
    5. Shutdown Immediate
    6. Startup the DB with the newly created spfile " SQL>STARTUP SPFILE='path of the spfile' "
    7. sql> show parameter sga to make sure your changes takes effect
    8. You can increase SGA_TARGET dynamicly by ALTER command.
    Regard
    Helios

  • Increasing the size of the SGA

    I'm using the Oracle Enterprise Manager Database Control on a 10.2.0.4 instance running on Redhat Enterprise Linux. One of the recommendations that the AWR\ADDM always seems to give is: "Increase the size of the SGA by setting the parameter SGA_TARGET to N". I've gone through the process twice already by upping the SGA_MAX_SIZE and SGA_TARGET parameters. It's currently recommending to up it to 6176M, I have not done this yet.
    (1) Is this one of the recommendations that you would ignore within the DBCA if performance of the database seemed acceptable?
    (2) Why does it always come back from the AWR\ADDM as a recommendation?
    (3) What SQL or performance statistics does it do to determine whether the SGA is undersized and how does Oracle determine the SGA recommended size that shows up in the ADDM feedback?
    Thanks in advance...

    Truely new questions do deserve new threads. Questions that are a direct result of responses to the initial question should be asked on the same thread.
    If there has been a time gap between the last post on the initial thread and the new question coming to mind then a new thread is probably the better choice.
    To answer the question asked if the database is not suffering ORA-04031 errors and performance is OK then I would ignore the recommendation to increase the size of the SGA yet again.
    What you might want to do first is reivew how the sga is being used (v$sgastat) and look for bad code technique that leads to needing memory, i.e., the use of SQL that passes constants to Oracle in what would otherwise be the same SQL statement if a bind variable was used and excessive use of Dynamic SQL when again bind variables could have been used in the SQL.
    IMHO -- Mark D Powell --

  • Is there any way to increase the size of printing on each page? With most of the printing it is really tiny. printing

    I have been using I.E. with myyahoo.com as my homepage and I started having a page freeze for 30 seconds (approx.) 5 or 6 times a session. this is powered thru ATT.net. I thought that Firefox may correct this problem. When I installed Firefox I decided to use myyahoo.com as my home page. Yahoo/IE has a magnifying glass icon in the lower right corner that allows me to increase the print size. When I am on Foxfire the basis text size is 1/16th of an inch! How can I increase this size?????????????
    #2 is it possible to have a different home page for Firefox and leave myyahoo.com on IE ???????????

    1. The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/
    2. See [http://support.mozilla.com/en-US/kb/How+to+set+the+home+page How to set the homepage]

  • How to Increase the SGA Size.

    Hi Guru's
    I want to Know
    How to Increase the SGA Size in Database 8.1.7.4.1
    My Ram Size is 6 GB
    When I query the Below Script
    select name, value
    from v$parameter
    where name in ('shared_pool_size', 'java_pool_size', 'streams_pool_size',
    'log_buffer', 'db_cache_size', 'db_2k_cache_size', 'db_4k_cache_size',
    'db_8k_cache_size', 'db_16k_cache_size', 'db_32k_cache_size',
    'db_keep_cache_size', 'db_recycle_cache_size', 'large_pool_size');
    Result
    shared_pool_size     300000000
    large_pool_size     0
    java_pool_size     50000000
    log_buffer     10485760
    Please Suggest Me the How Much Value also to increase the SGA
    My RAM SIZE is 6 GB
    Regards
    ***SBJ***

    SGA size on 8i is static , and for increasing the size you have to make the changes in the pfile and bounce the database
    First thumb rule is that your SGA should not exceed more than 40% of your PHYSICAL RAM in oracle <= 8i version. You can go around 80% from oracle 9i onwards
    http://mohamedazar.wordpress.com/2010/08/30/can-i-increase-sga-target-size-greater-than-sga-max-size/
    Edited by: Amigo on Dec 18, 2010 1:31 AM

  • I have Photoshop Elements 12 and just loaded on a Yoga 2 with Windows8. When I open Photoshop the tab wording in really small. Is there any thing I can do to increase the size to make it easily readable?

    I have Photoshop Elements 12 and just loaded on a Yoga 2 with Windows8. When I open Photoshop the tab wording in really small. Is there any thing I can do to increase the size to make it easily readable?

    I have Photoshop Elements 12 and just loaded on a Yoga 2 with Windows8. When I open Photoshop the tab wording in really small. Is there any thing I can do to increase the size to make it easily readable?

  • Couldn't increase the size of SGA

    Hi,
    I have RedHat linux 3.4, oracle 10.2.0.2, when I try to increase the sga size over 5GB its not accepting it. Can any one tell me what needs to be done to increasea the SGA ? I'm running on 64-bit OS and 64-bit oracle

    Hi,
    I have RedHat linux 3.4, oracle 10.2.0.2, when I tryIs linux 3.4 a partial RHEL 4 kernel version?
    to increase the sga size over 5GB its not accepting it.What happens? Any errors, does the instance crash?

  • How do I increase stack size beyond 65532 with help of ulimit command

    How do I increase stack size beyond 65532 with help of ulimit command

    Are you already using "64-bit Kernel and extensions" as noted in this pane?

  • How do you increase the video size with a button?

    I'm trying to set up a demo for a meeting. I want to show how
    you can increase the size of the video.
    Example:
    http://video.google.com/videoplay?docid=-1532523169750528353
    There are two buttons in the bottom right corner of the
    player that will increase the video size.

    I havn't tried this but I would thinkg that this could work:
    If you have a video object on your stage (the object that the video
    actually plays in) you could probably make a button that simply
    changes the dimensions of it such as:
    setProperty("theVideoPlayer",_height, 240);
    setProperty("theVideoPlayer",_width, 320);
    The movie should adjust to fit the screen, however if you
    make the movie larger than or a different aspect ratio than the
    original, it will be blurred or distorted respectively. Make your
    original movie, therefore, at the largest size you want it to be
    seen. Keep the aspect ration the same always.

Maybe you are looking for