The SGA Advisor

Hello
in 10g R2, we can find what is advised on Dbconsole (DBCONTROLE) on BMG (Advisor Consultant Central/memory / SGA tab advice) in a table with a query?

In fact, in Performance Tuning Guide, I found the following to the size of the cache:
COLUMN size_for_estimate FORMAT 999,999,999,999 heading 'Cache Size (MB)'
COLUMN buffers_for_estimate FORMAT 999,999,999 heading 'Buffers'
COLUMN estd_physical_read_factor FORMAT 999.90 heading 'Estd Phys|Read Factor'
COLUMN estd_physical_reads FORMAT 999,999,999 heading 'Estd Phys| Reads'
SELECT size_for_estimate, buffers_for_estimate, estd_physical_read_factor, estd_physical_reads
FROM V$DB_CACHE_ADVICE
WHERE name = 'DEFAULT'
AND block_size = (SELECT value FROM V$PARAMETER WHERE name = 'db_block_size')
AND advice_status = 'ON';
Thank you.

Hello

There are a lot of views that you can use the tuning of the SGA as advisers.

below there are views the tuning of a specific area in the SGA.

V$DB_CACHE_ADVICE
V$SHARED_POOL_ADVICE
V$JAVA_POOL_ADVICE
V$STREAMS_POOL_ADVICE

below it is a view that can help you deal with BMG.

V$SGA_TARGET_ADVICE

You can query the Dictiorary to find all of the Councillors views

SELECT table_name
   FROM dict
      WHERE table_name LIKE '%ADVICE%';

HTH - johnxjean-

Tags: Database

Similar Questions

  • How to set the SGA / PGA or memory target for the database

    Hello

    We use on AIX 5.1,6.1, oracle 9i, 10g, 11g

    Currently, we manage the databases on the default memory which was chosen at the time of the creation of the databases.

    Now the application owner want to host multiple databases on the same server, so they ask the

    rough idea on the memory required for each database,

    How we calculate the amount of memory required for each database.

    Thank you

    that recommend the SGA ADVISOR?

  • increase the SGA in Oracle 10 g

    Hello world

    I'm Ann. I'm not a DBA, because the senior DBA and developers is on maternity leave must step up to dealing with reports and an Application of Oracle Forms and Oracle database (version 10.1).
    Recently, the complaints of the apps people is slow.
    So I open the Enterprise Manager and check the performance Advisor, it shows a question
    Find the buffer cache is too small, causing some additional important s in reading.
    Impact (minutes) 5.31
    Impact (%)
    13.13
    The recommendation is target SGA size increase by increasing the value of the parameter "sga_target" by Mr. 928 (there is a button next to the message implementation).
    The path of results is
    The buffer cache is too small, causing some additional important s in reading.
    13.13

    Wait for the class "user IO" consumed time important data.     16.27

    On the server, we use OpenSuse. I also connect to the server as root.
    Type the command free to get info on memory and here are the details
    Borg: ~ # free
    total used free shared buffers cached
    MEM: 6101512 6001288 100224 0 180376 4636256
    -/ + buffers/cache: 1184656 4916856
    Swap: 12586916 1728548 10858368


    I just want to know is is it safe to run the implement to increase the SGA size target.
    I know I need to stop and restart the instance.

    Thank you very much
    Ann

    >
    I just want to know is is it safe to run the implement to increase the SGA size target.
    >
    You shouldn't do anything until the

    1. you confirm that there is, indeed, a problem

    2. you determine exactly what is the problem

    3. determine the cause or causes of the problem

    4 identify. you and classify, possible solutions to the problem

    5. you test possible solutions in a text/dev environment to make sure that your process works as expected.

    6. you script a method to 'Cancel' the changes you make
    >
    Recently, the complaints of the apps people is slow.
    >
    So what! People always complain that the apps are slow. While it's good to take note of that do not have a reflex reaction to it.

    Gather more information.

    1 slow down what? data entry? running reports? batch?

    2. slow when? first thing in the morning? in the middle of the day when users are on the system? All the time?

    3 How long have you slow? It all started? A few days? a few weeks ago?

    4. that means the main DBA say about the slow reported? You have called to ask? Why not? They are on maternity leave not climbing the Alps or the Himalayas. Call them and ask them they were aware of the reported problems.

    5. have you asked the Chief EXECUTIVE what should you watch? Why not?

    Tell us more information. What are the parameters of memory now?

    Open a sql * plus the term can run and view the results of
    1. ENTER THE PARAMETER SGA_TARGET

    2 SEE THE SGA

    3. SPECIFY THE POOL PARAMETER

  • remove the HP advisor dock

    Whenever I turn on my HP G56 laptop, the HP Advisor Dock appears.

    I have not been able to find out how to uninstall it and as I have no use for it, do not want them appearing on the desktop every time on start up.

    How can I get rid of it permanently, I don't see that it serves any useful purpose.

    Thank you

    Your welcome

  • Formula to calculate the SGA for 12 c of OLTP database

    Dear Experts,

    What is the formula to calculate the SGA for an OLTP database application.

    This will surely depends on several variables such as

    (1) the maximum number of connections application would have

    (2) growth of database

    • users connected
    • Server connections
    • total number of connections
    • connection memory
    • OS/application memory

    Thanks John.

    Is below the formula makes no sense?

    Why thank me when you don't know what I said:

    You will not find a formula.

    You formula has nothing to do with the numbers suggested for EBS, which could (only "might") be a reasonable starting point. You have not given any indication of how you arrive at these figures. You just apply that 80% of the RAM formula suggested by Mr. Faruq? If so, you might want to ask him how he justifies the algorithm.

    One point, that you should study management PGA. Your formula assumes that all connected sessions required 30 MB of RAM, all the time. How can you come to this conclusion? On your development system, you can observe how PGA is necessary for the optimal performance of your queries. Then you can ask "how many sessions is actually running a query at the same time?", adds on the non-negotiable PGA by session and calculate the requirement on the PGA TOUR as a result. You should also think about what you call ""memory connection ' and what you call 'PGA Pool'. " These aren't words that I know.

  • Unable to increase the SGA in linux x 86

    Hi all

    Oracle 9iR2

    Linux x 86

    I'm unable to increase from 1.8 to 3.5 GB SGA am getting error below. Please suggest me.

    ORA-27123: unable to attach to the shared memory segment

    Linux error: 22: invalid argument

    Additional information: 1

    Additional information: 1966088

    / proc/sys/kernel/shmmax: / 3 GB, I tried to rise but not luck...

    Thank you

    Sam.

    sam995972 wrote:

    Thank you all...

    its 32-bit, this means no chance to increase the SGA by increasing the kernel parameters? is this correct?

    Oracle on Linux 32-bit can be used up to an LMS (if I remember correctly) 16GB. You start the PAE kernel, and then configure your cache with use_indirect_data_buffers and db_block_buffers. Your pool will always be limited (even once, I forgot the details) to something less than 2 GB.

    Takes back me a few years.

    --

    John Watson

    Oracle Certified Master s/n

  • IF database-> RAC database: estimate of the size of the SGA for each instance

    Hello!

    Let's say that there is a single instance with SGA 100 G size DB (assume this size is optimal for this database).

    If this database is intended to be converted to a RAC database with 2 instances (suppose DB workload will be spread over multiple instances).

    How to estimate the needs of SGA size for each instance in the RAC database?

    It takes 50G + General cool CARS (say 15%) for each instance?

    (Do not consider situation when one of the instances has failed, and all the charge redirects to an instance having survived)

    I'd be grateful if someone has offered or provided useful references.

    ---

    Kind regards

    Kyrylo

    As a general rule, I would size the SGA on new nodes to 120% of the SGA to single instance. Yes, this means that you will more than double the size of the SGA. You will need additional space to hold the load memory Cache Fusion. And the buffer Cache are possibly a little more space to store additional versions of blocks that seem to accompany the many implementations of CARS. Now, it's just a rule of thumb, so it has a high degree to be very wrong.

    You'll want to consider two big things... (1) the service being used. Will you take advantage of the services to perform the partitioning application? If so, instances can see various workloads that can lead to requests for different resources. (2) you will support a kind of failover (TAF or manual failover) applications? If so, then the LMS must be sufficiently sized to support the additional workload.

    See you soon,.
    Brian

  • How to change the SGA

    Hello
    I use 11.2.0.3 DB RAC ASM. Right now my DB is up and Spfile spfile on asm. I want to increase SGA from 2 GB to 8 GB. Kindly advice me the steps how do I do this.


    SQL > show parameter spfile;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    +DATA_DISK/dev/spfiledev.ora string SPFile


    SQL > show parameter sga;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    lock_sga boolean FALSE
    PRE_PAGE_SGA boolean FALSE
    very large integer SGA_MAX_SIZE 2112 M
    Whole large SGA_TARGET 2112M
    SQL >


    Thank you
    Krishna

    First check the memory on each node, if you have enough memory then (assuming spfile shared for all nodes)

    create a pfile='/tmp/initbackup.ora' of spfile; ---> To save.

    alter system set = 8 g sga_max_size brought spfile sid ='* ';
    ALTER system set sga_target = 8g brought spfile sid ='* ';

    on node 1:
    srvctl stop instance d -i
    srvctl start instance d -i

    Then check the sga

    Repeat the same steps for different nodes

  • confusion of the SGA

    Hello

    I am running oracle 10.2.0.4 on RHELAS U4.6 and the kernel is Linux 2.6.9 - 67.ELhugemem #1 SMP i686 i686 i386 GNU/Linux.

    Course of the system's RAM is 32 GB and the current size of the sga is 3G.

    My question here, is that is it possible I can increase the = 4G sga_target and sga_max_size = 8G?

    More my installed OS is 32-bit

    Thank you for your cooperation.

    Kind regards

    Adnan Hamdus Salam.

    Published by: adnan on February 15, 2012 02:28

    Published by: adnan on February 15, 2012 02:29

    Adnan says:
    Hello

    I am running oracle 10.2.0.4 on RHELAS U4.6 and the kernel is Linux 2.6.9 - 67.ELhugemem #1 SMP i686 i686 i386 GNU/Linux.

    Course of the system's RAM is 32 GB and the current size of the sga is 3G.

    My question here, is that is it possible I can increase the = 4G sga_target and sga_max_size = 8G?

    >

    More my installed OS is 32-bit

    On 32-bit systems, the maximum addressable limit is 4 GB only. If you increase the SGA_TARGET to 4 GB and even set the SGA_MAX_SIZE up to 8 GB, the memory available for you on a 32 GB RAM system so always limited to 4 GB only. So, if you do not use more than 4 GB memory, move with the 64-bit system.

    Aman...

  • How to increase the SGA

    Hi all

    Oracle 9i

    We have a database of PROD that has the performance issue.
    Our Production Linux server has 12G of physical memory.
    My boss told me 6G memory allocation to the database.

    I therefore change our init.ora and set TARGET_SGA = 6G

    But when I restart our database and the SGA VIEW, it shows only 700 MB.
    What are the parameters in init.ora I should increase to give me 6G SHOW what CMS?


    Thank you very much.

    SGA_MAX_SIZE large integer 715724556

    You can more than double existing value.

    Realize that 2 GB is the largest positive integer that can be represented in 32 - bit; That is why the max 1.7 GB on SGA.
    Oracle had to book the little extra space for non - SGA memory resident data structures.

  • The maximum size of the SGA

    Hello

    I have a doubt about the size of the sga.

    Assume that value sga_max_size is 160 m and size sga_target also is 160 m.

    If we set sga_target 160 m it allowcates than 160 m for db cache, shared pool, shared pool, pool of java, rivers of pool.

    So what redo buffer. What will be the size of the buffer cache, mem full is allocated for only 5 components.

    How can we find the total size sga.

    Thank you very much.

    display of the sgainfo $ v queries for detailed information

    Select * from v$ sgainfo;

    NAME RES BYTES
    -------------------------------- ---------- ---
    Fixed SGA size 2089400 No.
    Redo buffers 6295552 No.
    Cache 415236096 the buffer size Yes
    Shared Pool Size 633339904 Yes
    Large pool size 4194304 Yes
    Java Pool size 8388608 Yes
    Water pool size 4194304 Yes
    Granule size 4194304 No.
    Maximum SGA size 1073741824 No.
    Starting over in the Shared Pool 100663296 No.
    Free up available memory 0 BMG

    Thank you!
    KR

  • Increase the SGA on the database with dataguard

    Hi all

    I have a (10.2.0.2.0) database configured with dataguard and we want to increase the SGA. We want to upgrade the RAM in the server (Microsoft Windows Server 2003 R2 Server 5.2 Service Pack 2 (32-bit)) with double (actually 8G) RAM memory:

    The steps would be next? :

    -SQL > alter system set sga_max_size = 16G scope = spfile;

    -SQL > alter system set sga_target = 16G scope = spfile;

    -immediate cessation;

    -Start;

    Even in the database pending?

    Thanks in advance.

    Yes - it will not break the day before, but you should note that failover or crossing - new primary school will have one less memory allocated.

  • How to change the SGA and PGA in 10g r2 RAC

    Hello

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

    Hello

    Here's the way I followed to change the SGA and PGA in CARS.
    --------------------------------------------------------------------------------
    Action plan to change the parameter memory in the environment(5/21/2010) of production

    Note:
    =====
    Practice must be done in the DEV/TST environment before going to Production.
    Although the procedure can be applied in the testing environment the evolution of values
    used in the test environment should be amended since number of RAM are not the
    even between the production and test servers.

    1 changes to these two parameters in one of
    the prod instance, e.g. PROD1
    ====================================================
    Connect 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 number altered 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 stop PROD database (two instances must stop)

    $> srvctl stop database d PROD
    $>. / $ ORA_CRS_HOME/bin/crs_stat - to check the status of the database

    4. establish the PROD database (two Forum should be high)

    $> srvctl START database-d PROD
    $>. / $ ORA_CRS_HOME/bin/crs_stat - to check the status of the database

    connection in both cases as sysdba to check
    --------------------------------------------

    SQL > show parameter pga_aggregate_target
              
    SQL > show parameter sga_max_size
    -should see the number of change always there in both cases
    -According to step 1

    -After confirmation above two parameters are changed on both instances.
    -then make the syntax below in a case

    (5) check that everything is ok

  • THE SGA SIZING

    Hi all

    Oracle version: 10.2.0
    Operating systems: Linux

    I have two instances that are running on the same computer. It has 4 GB of memory, I assigned 1.5 GB of storage space for a database, which is consulted frequently and for the other instance, I assigned 1 GB memory which is not frequently consulted. Is this ok and monitor the AWR and resize the SGA as a result.

    Also, I went through some threads in this forum, but I couldn't find the info I'm looking for.


    Please advice

    Thank you

    You should release at least 20% of the memory for the OS, so allocate 3 GB for oracle SGA. Check with report AWR is OK also contact with your business users weather they got a slowing performance or not.

    Concerning
    Asif Kabir

    -If you help mark your answer as correct/useful.

  • Parameters of the memory of the SGA.

    Salvation Group

    I have an Oracle instance running on a server with more than 4 GB of RAM, but my instance uses only 750 MB. What are the other settings I need to change my instance use at least 50% of all memory. I already changed the parameter sga_max_size and restarted the instance but memory use keeps on 750 MB.

    SQL > show sga parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    lock_sga boolean FALSE
    PRE_PAGE_SGA boolean FALSE
    SGA_MAX_SIZE large integer 1577058304
    SGA_TARGET large integer 0
    SQL >

    Thanks in advance.

    Oracle version 10g release 1
    OS: Windows 2003 Server.

    SGA_TARGET is in 10g.

    In 9i, you can only use SGA_MAX_SIZE to manually resize the SGA.

    In 10g, Oracle allows SGA_TARGET resize automatically components of the SGA.

    (In fact, you should use 10gr 2 No 10gR 1!)

    See
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/initparams193.htm

    Published by: Hemant K grapple on July 17, 2009 01:43

Maybe you are looking for

  • Phone 6 more low speaker volume

    Hello! I can barely hear an opponent during phone calls. (No speaker, but as before, close to the front camera). I have to move to the speaker every time. Yes, the volume of durin, a call is @ maximum. (See screenshot). Maybe it are other software wa

  • Feature WiFi?

    I have a desktop Compaq Presario S5000J age of seven year with an ethernet connector RJ 45 and a VIA Rhine II ethernet adapter. Windows XP Home Edition with service pack 2 This old computer is capable of a wireless LAN?

  • STOP: 0x0000007B (0xF894E640, 0xC0000034, 0x00000000, 0x00000000) __Windows was arrested, blue screen__

    I tried to reload installation CD and it still does not work

  • problem with the user interface

    Hello I want to store a LabelField and a ButtonField in unique horizontalFieldmanager. display aside and left to the right of the label button. I was able to view a horizontalField but I want to display as below then how it is possible. Text1 button1

  • BlackBerry 9700 Smartphones battery problem

    Asked a Q like this before with not much luck. Problems with my BB 9700 battery O/S 6.0.0.668 (2949) It seems to give inaccurate battery relieved of meter. A few examples. I usually charge my battery at night when I'm asleep, I wake up at 9 hours lat