How to change SGA and PGA in 10g r2 RAC

Hi,
How to change SGA and PGA in 10g r2 RAC, its Linux.

Hi,
Here is the way i followed to change SGA and PGA in RAC.
Action Plan to change the memory parameter in the production environment(5/21/2010)
Note:
=====
Practice should be done in the DEV/TST environment before moving to Production;
Although the procedure could be applied in the testing environment the changing values
used in the testing environment should be modified since RAM number are not the
same between the testing servers and production servers.
1.     Make changes to these two parameters in one of
     the prod instance, e.g. PROD1
     ====================================================
     login as sysdba on sqlplus
Change :
alter system set sga_target=28G scope=spfile sid='*';
Change :
alter system set pga_aggregate_target=4G scope =spfile sid='*';
     sql>alter system set pga_aggregate_target=4G scope=both;
     sql>show parameter pga_aggregate_target;      
          -- should see the altered number on both instances
Change:
sql>alter system set sga_max_size=28G scope=spfile sid='*';
sql>alter system set sga_max_size=28G scope=spfile ;
sql>alter system set sga_target=28G scope=spfile;
3.     shutdown database PROD (two instances should be shut down)
     $>srvctl stop database -d PROD
     $>. /$ORA_CRS_HOME/bin/crs_stat -- to check for the database status
4.     bring up database PROD (two instance should be brought up)
     $>srvctl START database -d PROD
     $>. /$ORA_CRS_HOME/bin/crs_stat -- to check for the database status
     login into both instances as sysdba to check
     sql>show parameter pga_aggregate_target
     sql>show parameter sga_max_size
          -- should see the altered number still there in both instances
          -- from step 1
     -- After confirming above two parameters are altered on both instances,
     -- then issue the syntax below in one instance
5)     check everything is ok

Similar Messages

  • Guidelines for SGA and PGA tuning for 10gR2 RAC and ASM ?

    I am looking for tuning information on SGA and PGA tuning for Oracle 10g (10.2) RAC and ASM for a 4TB OLTP and DSS mixed environment on Solaris 10 platform.

    We are running Solaris 10 SPARC 64 bit with Oracle 10gR2 RAC Enterprise Edition and ASM on Sun servers with 32GB of RAM for memory for a 4TB OLTP database.
    It is in design phase so I do not have an existing AWR or Statspack report yet. Is there a best practices guideline on how to size parameters for the SGA (ie: shared_pool_size, etc) and PGA for this environment from Oracle?

  • How to know the amount of ora 11g page-out  memory (sga and pga)?

    How to know the amount of oracle 11g page-out memory ( sga and pga) in the SunSolaris 10 Unix and Linux.
    I need to know how many oracle memory are being page-out ( all and for a one oracle server process).
    thanks

    You can monitor the paging with vmstat or sar commands.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b32009/tuning.htm#sthref500
    You can also get the paging information on OEM home page if configured for your database.
    But I don't know if there exists a method with which one can find out how much memory per session/server process is getting paged out.

  • Suggestion  in increasing the SGA and PGA after increase in the RAm of the machine .

    Hi All,
    Need an expert suggestion on the change's  in the SGA and PGA of the oracle database after increasing the size of the machines RAM .
    We have 64G of RAM in the machine .
    There are 9 DB's running on  oracle 10g  and 11g  on  this machine
    The total SGA of all the database's is around 18G .
    DB1  has 2G of MAX_SGA_SIZE
    DB2 has  8G  of MAX_SGA_SIZE
    DB3 has 1G   of MAX_SGA_SIZE
    DB4 has 2G    of MAX_SGA_SIZE
    DB5  has 676M   of MAX_SGA_SIZE
    DB6   has 1.5G   of MAX_SGA_SIZE
    DB7 has  1.2 G   of MAX_SGA_SIZE
    DB8 has  675M   of MAX_SGA_SIZE
    DB9  has 672 M   of MAX_SGA_SIZE
    Now the machine RAM is up  to  96G  64+ 32
    what would be the suggestion on the increase in the SGA and PGA max size .
    Any expert suggestion is highly apprciated .
    Thanks in Advance

    Thanks for this Justin.
    Here the exercise is to add 4 CPU's  and 32G RAM to the server  earlier it was with 4 CPU's and 64G RAM  this was decided  by the server support team .
    here is the stats from SAR   command ..
    The platform is
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    04:00:01          CPU     %user     %nice   %system   %iowait    %steal     %idle
    04:10:02          all     86.47      0.00     12.52      0.99      0.00      0.02
    04:20:01          all     84.83      0.01     11.80      3.21      0.00      0.15
    04:30:01          all     76.23      0.00     10.30     12.34      0.00      1.12
    04:40:01          all     79.14      0.00     12.07      8.30      0.00      0.49
    04:50:01          all     77.63      0.00     12.19      9.40      0.00      0.77
    05:01:01          all     75.95      0.00     10.50     12.80      0.00      0.75
    05:11:01          all     83.21      0.00     11.98      4.54      0.00      0.26
    05:21:01          all     76.37      0.01     11.20     11.49      0.00      0.94
    05:31:01          all     77.97      0.00      9.04     10.30      0.00      2.69
    Average:          all     79.72      0.00     11.28      8.20      0.00      0.80
    Now that the 4 CPU's and RAM is been added , my request is how to  calculate the required kernal parameters for oracle  to this new configuration  for some improvement in the oracle performance .
    like kernal.shmmax
          kernal.shmall
    /dev/shm file system
    largest value of MEMORY_MAX_TARGET or MEMORY_TARGET of all instances
    the oracle is set as automatic memory management . it is not an RAC environment .
    Any Expert suggestion is highly apprciated .
    Thanks in advance .

  • Increase the SGA and PGA size

    Hello Guru,
    How do i check what is my SGA and PGA..I am using TOAD..
    I need to increase the SGA and PGA size...Please help..
    I have a table having 200 million records, all indexes are there for the column..But it hang on in the debugging mode and also compile mode..
    So i believe, I need to increase the SGA and PGA size...
    Thanks,
    Haraprasad...

    805936 wrote:
    Hello Guru,
    How do i check what is my SGA and PGA..I am using TOAD..
    I need to increase the SGA and PGA size...Please help..
    The current size for both SGA and PGA can be shown depending on the version of the db. For 10g, the SGA size is shown by sga_target parameter and PGA size is shown by pga_aggregate_target parameter. For 11g, the parameter memory_target sets them both.
    I have a table having 200 million records, all indexes are there for the column..But it hang on in the debugging mode and also compile mode..
    So i believe, I need to increase the SGA and PGA size...No, IMO, your believe doesn't hold much base as the evidence that you have used is insufficient. What is the debugging mode or compile mode ? For what purpose you are using these modes? 200 million is not a very large number if you ask me. Tell us your db version and based on it, generate a Statspack or AWR report and post here.
    HTH
    Aman....

  • Manually allocate SGA and PGA to a Instance?

    1) Can we Manually allocate SGA and PGA to a Instance after . startup
    sql>show user
    connected to idle instance
    2) In which type of memory user is stored in oracle mem or windows memory.
    Thanx

    If you are using 10g, you can modify PGA size after instance startup by alter system to change PGA_AGGREGATE_TARGET
    You can't increase SGA_MAX_SIZE while instance is running. However you can change effective SGA size by alter SGA_TARGET if you are using ASMM
    to find out what's current logon user,
    select user from dual;
    Don't quite understand your second question.

  • How to change header and footer in login page in oracle apps r12

    Hi all,
    how to change header and footer in login page in oracle apps r12 and login button background color, please help me
    thanks
    saran

    how to change header and footer in login page in oracle apps r12 and login button background color, please help meTips For Personalizing The E-Business Suite R12 Login Page (MainLoginPG) [ID 741459.1]
    How to Personalize Login page in R12? [ID 579917.1]
    R12 Login Page: How to Personalize the Logo ? [ID 849752.1]
    Thanks,
    Hussein

  • How to change printer and or system settings to print in color

    How to change printer and or system settings to print in color

    You can change the brightness with an RGBImageFilter which converts the rgb values to HSV, increases the value, and converts back to rgb.

  • HT4099 How to change it and keep permanent?

    I have two accounts and changing between them changes Login panel back to US Layout. I would like to keep Colemak layout all the time. How to change it and keep permanent?

    I have this problem too. Any solutions?

  • How to change country and keeping all application upgraded ? thx

    how to change country and keeping all application upgraded ? thx

    you may change the userID/ passwd from menu or create conn segment for each of the userID/ passwd combination .

  • Cannot change sga or pga value

    Hello,
    i've got a problem with changing the sga or pga values on oracle xe installed on windows xp.
    When i log on to the administration page, set a new sga target, restart xe and go to the page where i can set the sga target size i still see the old values. My new values are not set.
    What can i do to change the sga target value?
    Thanks for help in advance,
    Dirk

    You don't need to restart instance when you set new value.
    If you want to have that value permanently (I wouldn't) then you must change initialization parameter.
    E.g.:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/start.htm#sthref512
    HTH

  • How to change sharing and permissions access on an Excel Version 14.4.3 (140616) file

    I've created several Excel (from Office:Mac 2011) files on my MapPro; the are on the 'backup' drive (not the main drive).  When accessing the 'get info' menu on the file, it shows that I can read and write; but if I open the file, the file name indicates it is read only, and attempts to save changes result in a message that requires a new name for the file.  What can I do to change the read/write restriction so I can make changes without having to constantly rename the file with the changed information included?

    Hello David,
    Thank you for contacting Apple Support Communities.
    The following articles explain how to change the permissions on files or folders. The first article is for Mavericks and the second for Mountain Lion.
    OS X Mavericks: If you can’t move or copy a file or folder
    http://support.apple.com/kb/PH13898
    OS X Mountain Lion: If you can’t move or copy a file or folder
    http://support.apple.com/kb/PH10805
    Regards,
    Jeff D.

  • How to change fonts and background in a finder window?

    I have searched all over the system (10.5.4) and can't figure out how to change the font that displays the text in any finder window.
    I know you used to be able to change the background of any finder window too.
    I must be getting old!
    Any ideas?

    I don't think you can change the typeface (at least not with 3rd party hackies such as what Unsanity offers), but you can change the typeface size. With the Finder active click Cmd-J (View->Show View Options) and choose a different font size.
    Hope this helps

  • How to change date and time format

    Hi experts,
    Can i know how to change the date and time format?
    I want the date format to be dd-mmm-yyyy  and time format to be hh:mm:ss
    These date and time is in my sapscript form.
    I make use of PERFORM function in sapscript.
    This is the code in my print program.
    FORM get_actlog_QA TABLES in_tab STRUCTURE itcsy
                           out_tab STRUCTURE itcsy.
       DATA: object TYPE string, "
            qaname LIKE JCDS-USNAM, "NAME for engineering process, QA Manager
            qadate LIKE JCDS-UDATE, "DATE changed in engineering process, QA Manager
            qatime LIKE JCDS-UTIME. "TIME changed in engineering process, QA Manager
    DATA: lt_jcds type standard table of jcds,
          wa_jcds like line of lt_jcds,
          new_date(10) type c.
      READ TABLE in_tab INDEX 1.
      MOVE in_tab-value TO object.
      select * into CORRESPONDING FIELDS OF TABLE lt_jcds
      from jcds WHERE objnr = object
        AND  ( stat = 'E0005' )
        AND inact = ''.
      Loop at lt_jcds into wa_jcds.
          qaname = wa_jcds-USNAM.
          qadate = wa_jcds-UDATE.
          qatime = wa_jcds-UTIME.
       READ TABLE out_tab INDEX 1.
       MOVE qaname TO out_tab-value.
       MODIFY out_tab INDEX sy-tabix.
       READ TABLE out_tab INDEX 2.
       MOVE qadate TO out_tab-value.
       MODIFY out_tab INDEX sy-tabix.
       READ TABLE out_tab INDEX 3.
       MOVE qatime TO out_tab-value.
       MODIFY out_tab INDEX sy-tabix.
      endloop.
      clear wa_jcds.
      ENDFORM. 
    This is my PERFORM in sapscript.
    /:           DEFINE &V_QANAME& = ''.
    /:           DEFINE &V_QADATE& = ''.
    /:           DEFINE &V_QATIME& = ''.
    /:           PERFORM GET_ACTLOG_QA IN PROGRAM ZFIR002
    /:           USING &VIQMEL-OBJNR&
    /:           CHANGING &V_QANAME&
    /:           CHANGING &V_QADATE&
    /:           CHANGING &V_QATIME&
    /:           ENDPERFORM.                     
    Sapscript
    Prepared by : &V_QANAME& ,, &V_QADATE& ,, &V_QATIME&
    The output now is
    Prepared by: Name   20080312  115536 
    I want to change the date format to 12-MAR-2008
    and the time format to 11:55:36 
    Can anyone please suggest on how to solve this?
    Thank you.

    Hi,
      Before assigning the  QADATE value you can write the logic to display  20080312   as  12-MAR-2008  taking the offset values .
    Like
    qadate = wa_jcds-UDATE.
    qatime = wa_jcds-UTIME.
      lw_year    = qadate(4).
      lw_month = qadate+4(2).
      lw_date    = qadate+6(2).
    case lw_month.
    when 1.
    when 2.
            concatenate lw_date  '-FEB-'  lw_year into qadate.
    when 3.
          concatenate lw_date '-MAR-' lw_year into qadate.
    endcase.
    READ TABLE out_tab INDEX 2.
    MOVE qadate TO out_tab-value.
    MODIFY out_tab INDEX sy-tabix.
    And you can also change the timeformat also  .
    then assign that value to qatime .Then
    READ TABLE out_tab INDEX 3.
    MOVE qatime TO out_tab-value.
    MODIFY out_tab INDEX sy-tabix.
    I think this helps you.
    Regards,
    Rajitha.

  • How to change username and password

    How can you change username and password for icloud under settings on iPhone?

    Scroll to bottom and tap the big red Delete Account button, then sign back in with the correct username and password.

Maybe you are looking for