SGA_TARGET question

Hello
In this ALTER SYSTEM SET SGA_TARGET topic someone has replied:
>
Not sure understand your question. If you set SGA_TARGET with SCOPE = MEMORY or BOTH, it should be effective immediately.
...
>

And, as per the docs (http://docs.oracle.com/cd/E11882_01/server.112/e25494/memory004.htm#autoId7):

>
Set the value of SGA_TARGET, either by editing the text initialization parameter file and restart the database, either by issuing the following statement:

ALTER SYSTEM SET SGA_TARGET = value [SCOPE = {SPFILE |}] MEMORY | BOTH}]
>

Then, in GR 11, 2 when defining SGA_TARGET to a value from 0 to 1 for example, is it necessary to restart the database? So first the instance must be facing downwards, and then set SGA_TARGET and then issuing 'start '?
I did not understand.

Thank you.

You should look at column ISSYS_MODIFIABLE to know if a parameter is modifiable system without restarting the instance level. This can have one of three values: IMMEDIATE, DEFERRED, FALSE.

IMMEDIATE means that the parameter can be changed at the level system immediately without having to restart the instance.
Payment DELAYED means that the parameter can be changed dynamically, however the change would only affect future sessions
FALSE means that the parameter is not dynamic, which means that you will need to restart the instance so that the change to take place (in this case, you must use scope = SPFILE, assuming that spfile has been used to start the instance)

If you see ISSYS_MODIFIABLE for SGA_TARGET you will see that its value is IMMEDIATE, which means that you can change its value without bouncing the instance.

SQL> select name, issys_modifiable
  2  from v$parameter
  3  where name='sga_target';

NAME                 ISSYS_MOD
-------------------- ---------
sga_target           IMMEDIATE

But there is a catch when it comes to the ability to change the value of SGA_TARGET dynamic. This parameter is bound to the parameter SGA_MAX_SIZE, is that you can dynamically increase the value of SGA_TARGET only up to the value set for SGA_MAX_SIZE. If you need to go above SGA_MAX_SIZE you need to bounce back to the instance, as you increase SGA_MAX_SIZE as well, which is not dynamic.

SQL> select name, issys_modifiable
  2  from v$parameter
  3  where name in ('sga_target','sga_max_size');

NAME                 ISSYS_MOD
-------------------- ---------
sga_max_size         FALSE
sga_target           IMMEDIATE

Here is a link to the useful documentation on when SGA_TARGET can be changed dynamically http://docs.oracle.com/cd/E11882_01/server.112/e25494/memory004.htm#ADMIN11215

~ Trieste

Tags: Database

Similar Questions

  • Question about sga_target 10.2.0.5 Oracle with Windows 64 bit with 8 GB

    Hello world

    I need to know what is the best size sga_target for a server with 8 GB of RAM with Windows 2008 64 bit. and Oracle 10.2.0.5, also a question to all the gurues oracle :) can you check this init if see it's all ok Setup?, Miss, of course, the new value for the 8 GB.

    ORCL.__db_cache_size = 1207959552
    ORCL.__java_pool_size = 16777216
    ORCL.__large_pool_size = 16777216
    ORCL.__shared_pool_size = 352321536
    ORCL.__streams_pool_size = 0
    ...

    * .db_block_size = 8192
    * .db_domain = "
    * .db_file_multiblock_read_count = 16
    * .db_name = "ORCL".
    ...

    *. Dispatchers ='(Protocol=TCP) (SERVICE = ORCLXDB)"
    * .job_queue_processes = 10
    * .open_cursors = 5000
    * .pga_aggregate_target = 821035008
    * runoff = 300
    * .sga_target = 1610612736


    Thank you for all.

    Kind regards.

    Published by: user10182692 on February 21, 2012 05:08

    When you specify SGA_TARGET, automatic shared memory management is enabled and there is therefore no need SHARED_POOL_SIZE parameter. It will be managed automatically.

    PGA_AGGREGATE_TARGET, you can size it using V$ PGA_TARGET_ADVICE.

  • SGA_TARGET and sga_max_size question above

    Hello
    Accidentally, I changed the values of the sga_target with great value than the sga_max_size and made an immediate halt.

    Now, when I am trying to raise the instance, it gives the error below.

    [oracle@linuxappdev bin] $. / / nolog sqlplus

    SQL * more: release 11.1.0.7.0 - Production on sea 19 may at 22:27:13 2010

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

    SQL > conn sys as sysdba
    Enter the password:
    Connect to an instance is idle.
    SQL > startup
    ORA-00823: specified value greater than sga_max_size sga_target
    SQL >



    How can I put the Forum up?
    I am new to oracle, please help.

    Thank you
    RAM

    Edited by: user622616 May 19, 2010 19:50

    Yes you can. If you use spfile, create a pfile with current values...

    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> create pfile='c:\initora1.ora' from spfile;
    
    File created.
    

    Then edit the pfile, startup pfile = create spfile from pfile, rebound.

  • SQL * more to define SGA_TARGET

    I used SQL * Plus for define SGA_TARGET, should I also set components automatically size the SGA.

    SQL > show sga;

    Total System Global Area 4008620032 bytes
    Bytes of size 2227656 fixed
    2013266488 variable size bytes
    1979711488 of database buffers bytes
    Redo buffers 13414400 bytes

    Another point: when I own in initsid.ora file, I'm sga_target parameter is not reflecting here... I have to manually add it in file. see below:
    * .sga_max_size = 4009754624
    * .shared_pool_reserved_size = 197133336
    * .shared_pool_size = 1979711488

    Whether and how performance will be really depends on how much memory components should be and how they are used. Forums are unable to answer your question.

    You can use memory advisors in Enterprise Manager to see how Oracle recommend memory components to be.

    "unused" within the SGA memory is automatically attributed to the DB_CACHE_SIZE, SHARED_POOL_SIZE etc. components.

    Hemant K Collette

  • AMM (sga_target) vs Linux HugePages

    I was told by the engineer of Redhat Linux Linux HugePages cannot be used with AMM (sga_target) on Oracle 10 g or 11g?

    I prefer to use the AMM.

    What is the best - with AMM (sga_target) or Linux HugePages?

    You can find the following interest: question of SGA Linux/cache

    "HugePages are a significant server use (memory and processing) resources, while the AMM adds even more software to give the appearance of this feature."

    The General recommendation in accordance with the Oracle AMM documentation, which is easier to manage.

  • SGA_TARGET and / 3 GB switch

    Hi all

    We have Oracle 10g R1 installed on Windows 2003 Server Standard Edition SP1 with 4 GB of RAM installed.

    We want to implement the/3 GB switch in the boot.ini file in Windows to increase the memory available for Oracle to 3 GB.

    My question is: If I implmement the/3 GB switch, is still possible to use and set the SGA_TARGET?

    Some people claim that I should turn off the automatic memory management and manually set areas for the buffer cache and the cache of the library.

    I searched on the net and most of mixed articles this issue with AWE (Address Windowing Extensions). I do not implement the FEAR here, I just want to use the 3 GB of available RAM.

    Thanks in advance.

    OzOracle wrote:
    I intend to define SGA_TARGET = 1.6 GB and PAGA_AG... = 1 GB, is it safe?

    You can then play very close to the error-prone area. I presume that you have arrived at these figures after some calculations and look ups.

    To my knowledge, he leaves 400 MB to other applications and virtually, we have installed only Oracle and its control of database on this computer.

    Lol its one by the process boundary. When you set the/3 GB switch in boot.ini, each process running on the system has the right to have the 3 GB address space. So if you have any other memory hungry/application running process, your body will suffer because of the RAM limitation physics and subsequent Exchange.

  • Error message: ORA-00821: specified value sga_target 4 M is too small

    Hi all

    My database instance is down, when I'm trying to start, it throws an error:
    ORA-00821: sga_target 4 M value is too small, you must be at least 28 M

    The problems began when erroneous changed sga_target for some values without specifying the unit.
    My question is, how can I solve this problem, so that the database instance is down? I use spfile

    I tried to start the instance with pfile (start pfile='D:\oracle\product\10.2.0\admin\orcl\pfile\init.ora') it throws errors:
    LRM-00109: could not open parameter file "D:\oracle\product\10.2.0\admin\orcl\pfile\init.ora".
    ORA-01078: failure in the treatment of system settings


    Please someone help me

    Concerning
    Sadik

    Hello

    What you can do in this case and you do not have a good pfile, you can proceed as follows:

    1. find the spfile, normally in the directory of $ORACLE_HOME/dbs
    2. a copy of the spfile to be sure will not be damaged.
    3. on unix command prompt: string - a > newpfile.ora
    4. check with the newpfile.ora editor and change. The pfile file will contain all of the settings and you must change the SGA_TARGET value to a height of 400M or more. Smaller values can be made, but are not advised to 10 gr 2 or higher.
    5. try start the database using the newpfile.ora update.

    Hope this will solve your problem.

    Best regards, Gerwin

  • memory_target and sga_target

    Our data base is 11g 2 on Redhat 52. I have a question about the new parameter 11g memory_target and the old sga_target. I understand that if memory_target is defined, sga and pga will automatic managed and optimized. So should I adjust sga_target. What restrictions and recommendations contained in the definition of the sga_target when memory_target is defined?

    Thank you.

    In Oracle 11 g MEMORY_TARGET controls the total amount of memory to Oracle for SGA and PGA. Oracle allocates memory from the PGA to the sessions, based on demand.
    You have not need define SGA_TARGET if you already MEMORY_TARGET game.

    Set possibly 0 SGA_TARGET, PGA_AGGREGATE_TARGET and other memory configuration settings (for example, SHARED_POOL_SIZE). If each of these parameters have nonzero values while the AMM is in effect, the values of the parameters define the minimum sizes for the specified memory region.

    ZlT

  • iOS 10 people record problem/question

    Hello

    I have a couple of "faces" in the issue of people who are coming in white, but acknowledged same 'face' of many times.  Is anyway to update it for photo comes actually?  At a few faces, I don't know that facial recognition found since it is coming from white.

    Hi JohnP007,

    Congratulations on your iPhone 7 more running iOS 10! I understand that some of your faces in the album of people pull up as a draft and you want to refresh. You can try to use the steps below to fix the faces on the thumbnails in albums.

    Difficulty faces and names mixed-up

    If you notice that there is a photo of someone in a collection that is poorly identified, you can remove it.

    1. Tap the person you want to remove in the album of people > select.
    2. Type Show done face to emphasize his face in every photo.
    3. Press on each photo that is not the person.
    4. Type > not this person.

    Hide people

    You can hide the people or groups that you don't want in your album of people.

    1. Open the album people and press Select.
    2. Touch the people you don't want to see.
    3. Click Hide.

    If you want to see the people that you have hidden, press on show hidden people.

    People in the Photos on your iPhone, iPad or iPod touch

    This should be corrected without delay faces. Please use the Apple Support communities to post your question. Good day.

  • Questions - and answers forgotten

    How to get my 'secret' answers to the questions that I have noted the way back when?

    If you forgot the answers to your questions of security of Apple ID - Apple Support

  • I can't reset the security questions. We received notice as below:

    Hello world

    I can't reset the security questions. We received notice as below:

    "Cannot reset Security Questions."

    We have insufficient information to reset your security questions. "

    Please help me as soon as possible! Thank you very much.

    Hello

    You will need to contact the Apple Support.

    The information is available here:

    Contact Apple for assistance with the security of the Apple ID - Apple Support accounts

    (I'm afraid that no one here can solve the problem for you - this is a user-based community).

  • Question of cloning for SSD upgrade on 12 Macbook Pro

    Previously, I did an upgrade to SSD on my Macbook Air to 2012 according to the instructions of JetDrive transcend. Basically connection via USB 3 and using Mac OS X to clear (and format) disc utilities new SSD, then restore again SSD and then remove the original 128 GB SSD and insert the new 480 GB SSD.  For about a month and so far without problem.

    Now I'm trying to 2012 Macbook upgrade my Pro partner (on 10.11.6).  I got a Crucial SSD MX300 to replace his HARD drive.  Crucial comes with (or recommend) Acronis software.  And a lot of the messages of the forum recommend Carbon Copy Clone.

    My question is if I can use the same method for the cloning of the HD as my Macbook Air (just restore disk of Mac OS X utilities)?  This time, I'm upgrading HARD drive and I don't know if something is different.  At the same time, if I got lucky the first time, I don't not ruin Macbook Pro my spouse this time.

    Thank you.

    Yes, you can use disk utility to clone your MBP wives, but unlike CCC, it will not clone the recovery and Partition.

  • Question about resolution movie downloads

    If I buy a movie at a certain resolution (780p for example), but I want more later re - download at a higher or lower resolution (SD or 1080 p), can I do so and how?

    Same question perhaps for music. Some of my songs have been bought before the latest Apple codecs.

    Any help is appreciated!

    THX!

    Once you have made a purchase on the iTunes store, you will see your purchased items in the menu under accounts bar > bought. You can simply select the item purchased and re-upload.

    With regard to the resolution of the film for films that are offered, and you select the resolution, you can download it again and select a different resolution. For movies that are available as separate download to SD, 780, or 1080 points, you would be limited to the original resolution you selected.

  • Why I can't ask questions.

    I just have a question.  I said that I can't ask questions.

    Do exactly what you did to make this post, but your question in there instead.

  • Cannot reset the Security Questions

    Hello my dear

    -J' forgot my account security questions, but I remember password

    And I'm changing my Security Questions, but show me this sentence

    "Cannot reset Security Questions."

    We have insufficient information to reset your security questions. "

    -I want to solve this problem as soon as possible if permitted

    You should contact the account of Apple security team. To join, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (145081)

Maybe you are looking for

  • Computers laptop Toshiba are not good

    NEVER buy a computer toshiba laptop. (1) packed in the first 2 months motherboard(2) If you like polishing then yeh, go ahead - but the finish on the a300 sateelit I have is rubbish - it's always dirty and greasy of all traces of finger - even if was

  • How can I open the case and clean the fans Pavilion g6

    How can I open the case to get fans to clean? Thank you

  • I tried to make 3 drives recovery and only 1.

    I did the first recovery disc and when I tried to do the 2nd, I got an error reading disc and was asked to restart my computer. When I did, I wasn't able to do the other 2 recovery discs because it is checked as I finished the task. Can I go back som

  • Dual Boot on a HP Pavilion DV6T

    I received my dv6t equipped by default Windows 7 on it. Use the disk manager in Windows, I partitioned the hard drive (giving Windows about 250G and leaving a 200G unformatted partition.) Everything was fine. I installed Debian linux on the partition

  • O operating system hidden SSD

    I have a new XPS 8900. Great so far. It has a 32 GB SSD for the OS (Windows, 10) and 2 TB hard for applications and storage.  When I run Belarc Advisor, it shows a 32 GB drive, but when I go to my computer, I see 2 TB hard drive.  Where is the drive