Oracle SGA MEMEORY SETTINGS , SGA_TRAGET , SGA_MAX_SIZE

Hello Techies,
I have a production environment where one of the Databases RAM is set to 6G where as the RAM installed on the server is 8GB. We have the Grid agent installed on it and according to the Oracle Grid there is impact on the performance and RAM has to be extened to 7.2 GB.
Now my question is, whether we can extend this as we only have 8GB installed on the server. Will the left out 800 M is enough for the server?
Or Should we need to extend the RAM on the server and then extend the SGA_TARGET AND SGA_MAX_SIZE? if so can you suggest the values.
Could you shed some light on the cosiderations while we want to extend the SGA.
Server - Windows
DB - Oracle 10g
Thank you.
Regards,
RanG.

Hi sb92075,
Here is the query , consuming significant DB time from Oracle Grid ...
select e7.cmpcode as comp_no , e7.code as emcode , upper(a.add1) as user_name , upper(a.add2) as domain , upper(a.add3) as reviewer , upper(a.add4) as approver1 , upper(a.add5) as approver2 , a.emailaddr as email , l.cfvalue as costcentre , case e7.repcode3 when 'FRANCHISE' then '7001F' when 'STORE' then '7001S' else e7.cmpcode end as template , b.acnum as account , e7.name as account_holder
from xxxx.oas_element e7 inner join coda.oas_elmaddrlist a on (e7.cmpcode = a.cmpcode and e7.code = a.elmcode and e7.elmlevel=a.elmlevel and a.catagory='EXPPORTAL') inner join xxxx.oas_rllist l on (e7.cmpcode = l.cmpcode and e7.code = l.elmcode and e7.elmlevel=l.elmlevel) left join xxxx.oas_elmbanklist b on (e7.cmpcode = b.cmpcode and e7.code = b.elmcode and b.elmlevel=2 and b.defbank=1)
where e7.elmlevel=7 and e7.code like 'EM%' and l.lstseqno=1 and l.cffunction=0 and e7.cmpcode = '7001' and a.add1 is not null and a.add2 is not null and ((a.add3 is not null and a.add5 is not null and a.add2 = 'xxxx') or a.add2 != 'xxxx') and a.add4 is not null and b.acnum is not null and b.acname is not null
=========================
The other example of one of the 20 queries which run on this DB, i am sry for the lenght of the query ,
=============================
SELECT
  case 8 when 4 then 'T1' when 8 then 'T2' when 12 then 'T3' else 'Unknown' end,
  OAS_REPPACK.L1NAME,
  OAS_REPPACK.L1HDRTXT,
  OAS_REPPACK.L2NAME,
  OAS_REPPACK.L2HDRTXT,
  OAS_REPPACK.L3NAME,
  OAS_REPPACK.L3HDRTXT,
  OAS_REPPACK.L4NAME,
  OAS_REPPACK.L4HDRTXT,
  OAS_BALANCE.cmpcode,
  OAS_REPPACK.L5NAME,
  OAS_REPPACK.L5HDRTXT,
  OAS_REPPACK.LEAFNAME,
  OAS_REPPACK.LEAFHDRTXT,
  OAS_REPPACK.L2ORDER,
  OAS_REPPACK.L3ORDER,
  OAS_REPPACK.L4ORDER,
  OAS_REPPACK.L5ORDER,
-- Actual YTD --
SUM(OAS_BALANCE.FULL_VALUE
*CASE WHEN OAS_BALANCE.BALCODE = 'ACTUAL' THEN 1 ELSE 0 END
*CASE WHEN IIS_CURRENCY(case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end, 'XEUR', 'Entity Currency' ) =  OAS_BALANCE.CURCODE THEN 1 ELSE 0 END
*CASE WHEN  IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <= 8 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
-- Actual YTD Last Year--
SUM(OAS_BALANCE.FULL_VALUE
*CASE WHEN OAS_BALANCE.BALCODE = 'ACTUAL' THEN 1 ELSE 0 END
*CASE WHEN IIS_CURRENCY(case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end, 'XEUR', 'Entity Currency' ) =  OAS_BALANCE.CURCODE THEN 1 ELSE 0 END
*CASE WHEN  IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <= 8 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013-1 THEN 1 ELSE 0 END
-- Actual Full Year Last Year--
SUM(OAS_BALANCE.FULL_VALUE
*CASE WHEN OAS_BALANCE.BALCODE = 'ACTUAL' THEN 1 ELSE 0 END
*CASE WHEN IIS_CURRENCY(case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end, 'XEUR', 'Entity Currency' ) =  OAS_BALANCE.CURCODE THEN 1 ELSE 0 END
*CASE WHEN   IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <= 9998 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013-1 THEN 1 ELSE 0 END
-- Budget YTD --
SUM(OAS_BALANCE.FULL_VALUE
*CASE
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Entity Currency'  THEN 1
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Group Currency'  THEN IIS_BUDGETRATES.RATE
ELSE 0 END
*CASE WHEN OAS_BALANCE.BALCODE = IIS_PFBALCODE(OAS_BALANCE.BALCODE, 'Calendar Year')||'BUDG' THEN 1 ELSE 0 END
*CASE WHEN  IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <= 8 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
-- Budget Full Year --
SUM(OAS_BALANCE.FULL_VALUE
*CASE
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Entity Currency'  THEN 1
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Group Currency'  THEN IIS_BUDGETRATES.RATE
ELSE 0 END
*CASE WHEN OAS_BALANCE.BALCODE = IIS_PFBALCODE(OAS_BALANCE.BALCODE, 'Calendar Year')||'BUDG' THEN 1 ELSE 0 END
*CASE WHEN  IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
-- Estimate 1 --
-- Actual T1--
SUM(OAS_BALANCE.FULL_VALUE
*CASE WHEN OAS_BALANCE.BALCODE = 'ACTUAL' THEN 1 ELSE 0 END
*CASE WHEN IIS_CURRENCY(case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end, 'XEUR', 'Entity Currency' ) =  OAS_BALANCE.CURCODE THEN 1 ELSE 0 END
*CASE WHEN  CASE WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <=4 THEN 1 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') BETWEEN 5 AND 8 THEN 2 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') >= 9 THEN 3 END = 1 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
+
SUM(OAS_BALANCE.FULL_VALUE
*CASE WHEN OAS_BALANCE.BALCODE = IIS_PFBALCODE(OAS_BALANCE.BALCODE, 'Calendar Year')||'EST1' THEN 1 ELSE 0 END
*CASE WHEN  IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 AND IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') BETWEEN 5 AND 12 THEN 1 ELSE 0 END
  OAS_COMPANY.NAME,
  IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year'),
-- Budget T1--
SUM(OAS_BALANCE.FULL_VALUE
*CASE
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Entity Currency'  THEN 1
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Group Currency'  THEN IIS_BUDGETRATES.RATE
ELSE 0 END
*CASE WHEN OAS_BALANCE.BALCODE = IIS_PFBALCODE(OAS_BALANCE.BALCODE, 'Calendar Year')||'BUDG' THEN 1 ELSE 0 END
*CASE WHEN  CASE WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <=4 THEN 1 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') BETWEEN 5 AND 8 THEN 2 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') >= 9 THEN 3 END = 1 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
-- Budget T2--
SUM(OAS_BALANCE.FULL_VALUE
*CASE
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Entity Currency'  THEN 1
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Group Currency'  THEN IIS_BUDGETRATES.RATE
ELSE 0 END
*CASE WHEN OAS_BALANCE.BALCODE = IIS_PFBALCODE(OAS_BALANCE.BALCODE, 'Calendar Year')||'BUDG' THEN 1 ELSE 0 END
*CASE WHEN  CASE WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <=4 THEN 1 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') BETWEEN 5 AND 8 THEN 2 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') >= 9 THEN 3 END = 2 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
-- Budget T3--
SUM(OAS_BALANCE.FULL_VALUE
*CASE
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Entity Currency'  THEN 1
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Group Currency'  THEN IIS_BUDGETRATES.RATE
ELSE 0 END
*CASE WHEN OAS_BALANCE.BALCODE = IIS_PFBALCODE(OAS_BALANCE.BALCODE, 'Calendar Year')||'BUDG' THEN 1 ELSE 0 END
*CASE WHEN  CASE WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <=4 THEN 1 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') BETWEEN 5 AND 8 THEN 2 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') >= 9 THEN 3 END = 3 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
-- Estimate 0 --
SUM(OAS_BALANCE.FULL_VALUE
*CASE
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Entity Currency'  THEN 1
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Group Currency'  THEN IIS_BUDGETRATES.RATE
ELSE 0 END
*CASE WHEN OAS_BALANCE.BALCODE = IIS_PFBALCODE(OAS_BALANCE.BALCODE, 'Calendar Year')||'EST0' THEN 1 ELSE 0 END
*CASE WHEN  IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
-- Estimate 2 --
-- Actual T1--
SUM(OAS_BALANCE.FULL_VALUE
*CASE WHEN OAS_BALANCE.BALCODE = 'ACTUAL' THEN 1 ELSE 0 END
*CASE WHEN IIS_CURRENCY(case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end, 'XEUR', 'Entity Currency' ) =  OAS_BALANCE.CURCODE THEN 1 ELSE 0 END
*CASE WHEN  CASE WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <=4 THEN 1 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') BETWEEN 5 AND 8 THEN 2 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') >= 9 THEN 3 END = 1 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
+
-- Actual T2--
SUM(OAS_BALANCE.FULL_VALUE
*CASE WHEN OAS_BALANCE.BALCODE = 'ACTUAL' THEN 1 ELSE 0 END
*CASE WHEN IIS_CURRENCY(case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end, 'XEUR', 'Entity Currency' ) =  OAS_BALANCE.CURCODE THEN 1 ELSE 0 END
*CASE WHEN  CASE WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') <=4 THEN 1 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') BETWEEN 5 AND 8 THEN 2 WHEN IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') >= 9 THEN 3 END = 2 AND IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 THEN 1 ELSE 0 END
+
SUM(OAS_BALANCE.FULL_VALUE
*CASE
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Entity Currency'  THEN 1
WHEN OAS_BALANCE.CURCODE = case OAS_BALANCE.cmpcode when '7004' then 'SEK' when '7041' then 'SEK' when '7015' then 'USD' when '7042' then 'USD' else 'EUR' end AND 'Entity Currency' = 'Group Currency'  THEN IIS_BUDGETRATES.RATE
ELSE 0 END
*CASE WHEN OAS_BALANCE.BALCODE = IIS_PFBALCODE(OAS_BALANCE.BALCODE, 'Calendar Year')||'EST2' THEN 1 ELSE 0 END
*CASE WHEN  IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year') = 2013 AND IIS_PERIOD(OAS_BALANCE.PERIOD, 'Calendar Year') BETWEEN 9 AND 12 THEN 1 ELSE 0 END
FROM
  OAS_BALANCE,
  OAS_GRPLIST  OAS_GRPLIST1RP,
  OAS_ELEMENT  OAS_EL1,
  OAS_HIMLIST  OAS_REPPACK,
  OAS_COMPANY,
  IIS_BUDGETRATES,
  IIS_BOSEC_CC  IIS_BOSECURITY_BAL,
  SELECT DISTINCT USRCODE, USRNAME, COMPANY FROM IIS_BOSEC_CC
  )  IIS_BOSECURITY_CMP
WHERE
  ( OAS_COMPANY.CODE=OAS_BALANCE.CMPCODE  )
  AND  ( OAS_BALANCE.REPBASIS=0  )
  AND  ( OAS_EL1.ELMLEVEL=1  )
  AND  ( OAS_BALANCE.CMPCODE=OAS_EL1.CMPCODE and OAS_BALANCE.EL1=OAS_EL1.CODE  )
  AND  ( OAS_EL1.CMPCODE=OAS_GRPLIST1RP.CMPCODE and OAS_EL1.CODE=OAS_GRPLIST1RP.CODE and OAS_EL1.ELMLEVEL=OAS_GRPLIST1RP.ELMLEVEL and
(OAS_GRPLIST1RP.GRPCODE  LIKE '1RB%' OR
OAS_GRPLIST1RP.GRPCODE LIKE '1RP%')  )
  AND  ( OAS_REPPACK.GRPCODE=OAS_GRPLIST1RP.GRPCODE  )
  AND  ( OAS_REPPACK.CODE LIKE '1RP%'  )
  AND  ( IIS_BUDGETRATES.YR(+) =OAS_BALANCE.YR AND IIS_BUDGETRATES.PERIOD(+)=OAS_BALANCE.PERIOD AND
IIS_BUDGETRATES.BALCODE(+) = OAS_BALANCE.BALCODE AND
IIS_BUDGETRATES.CURCODE(+) = OAS_BALANCE.CURCODE  )
  AND  ( IIS_BOSECURITY_CMP.COMPANY=OAS_COMPANY.CODE  )
  AND  ( IIS_BOSECURITY_CMP.USRCODE=UPPER('exttino')  )
  AND  ( IIS_BOSECURITY_BAL.COMPANY=OAS_BALANCE.CMPCODE and IIS_BOSECURITY_BAL.COSTCENTRE=CASE  WHEN IIS_BOSECURITY_BAL.COSTCENTRE = 'ALL' THEN IIS_BOSECURITY_BAL.COSTCENTRE WHEN OAS_BALANCE.EL4 = ' ' THEN 'ALL' ELSE OAS_BALANCE.EL4 END  )
  AND 
    ( CASE WHEN 'Calendar Year' = 'Calendar Year'
          THEN OAS_BALANCE.YR
          WHEN 'Calendar Year' = 'Business Year'
          THEN CASE WHEN OAS_BALANCE.PERIOD <9    THEN OAS_BALANCE.YR ELSE OAS_BALANCE.YR+1 END
END +1 = 2013  )
    OR
    ( CASE WHEN 'Calendar Year' = 'Calendar Year'
          THEN OAS_BALANCE.YR
          WHEN 'Calendar Year' = 'Business Year'
          THEN CASE WHEN OAS_BALANCE.PERIOD <9    THEN OAS_BALANCE.YR ELSE OAS_BALANCE.YR+1 END
END = 2013  )
   AND
    ( IIS_BOSECURITY_BAL.USRCODE = UPPER('exttino')  )
    AND
    ( IIS_BOSECURITY_CMP.USRCODE = UPPER('exttino')  )
GROUP BY
  case 8 when 4 then 'T1' when 8 then 'T2' when 12 then 'T3' else 'Unknown' end,
  OAS_REPPACK.L1NAME,
  OAS_REPPACK.L1HDRTXT,
  OAS_REPPACK.L2NAME,
  OAS_REPPACK.L2HDRTXT,
  OAS_REPPACK.L3NAME,
  OAS_REPPACK.L3HDRTXT,
  OAS_REPPACK.L4NAME,
  OAS_REPPACK.L4HDRTXT,
  OAS_BALANCE.cmpcode,
  OAS_REPPACK.L5NAME,
  OAS_REPPACK.L5HDRTXT,
  OAS_REPPACK.LEAFNAME,
  OAS_REPPACK.LEAFHDRTXT,
  OAS_REPPACK.L2ORDER,
  OAS_REPPACK.L3ORDER,
  OAS_REPPACK.L4ORDER,
  OAS_REPPACK.L5ORDER,
  OAS_COMPANY.NAME,
  IIS_YEAR(OAS_BALANCE.YR, OAS_BALANCE.PERIOD, 'Calendar Year')
=============================
Regards,
RanG

Similar Messages

  • Oracle Reports Security Settings page is blank--Urgent Please

    Hi All,
    When i click on "Oracle Reports Security Settings" under Administer tab and i'm getting a blank page. I didn't see any error messages.
    Pl. help.
    Thanks,
    Sapna

    Please refer to duplicate thread on the same topic at
    error getting value from collection to a date picker field

  • Oracle Reports Security Settings is blank(Urgent please.......)

    Hi All,
    When i click on "Oracle Reports Security Settings" under Administer tab and i'm getting a blank page. I didn't see any error messages.
    Pl. help.
    Thanks,
    Sapna

    Please refer to duplicate thread on the same topic at
    error getting value from collection to a date picker field

  • Oracle Reports Security Settings page is blank

    Hi All,
    When i click on "Oracle Reports Security Settings" under Administer tab and i'm getting a blank page. I didn't see any error messages.
    Pl. help.
    Thanks,
    Sapna

    Hi,
    Which version of portal are you using? Looks like it is a bug.
    Thanks,
    Sharmila

  • Oracle Reports Security Settings???

    I am attempting to display Oracle Reports that are on a report server on a portal.
    I look here and it tells me to set up the report server info on the portal...which makes sense...
    http://www.contratos.gov.co/portalHelp/ohw/state/content/locale.en/vtTopicFile.rpthelp_cs_hs_en%7Crptsvr~htm/navId.3/navSetId._/
    But I go to the administration tab in portal builder, and there is no Oracle Reports Security Settings option. Anyone know why???
    Need info asap...Thanks!

    Please refer to duplicate thread on the same topic at
    error getting value from collection to a date picker field

  • Oracle SGA components manual allocation

    All,
    Phyical memory : 420G My database version : 11.2.0.3 running on linux machine.
    Memory_target = 200G . I would like to allocate this value to following SGA components. I don't want to automatic memory management enabled. Can you please guide me how to split 200G for following components. Is there any percentage for each components ?
    db_cache_size
    db_recycle_cache_size
    db_keep_cache_size
    large_pool_size
    java_pool_size
    shared_pool_size
    pga_aggregate_target
    streams_pool_size
    log_buffer
    Thanks

    There is no 'default' settings for the components. Oracle tell you, when you create a database with DBCA, that the values provided by that tool are for a sample database and you should tune them to how you see fit.
    This is what I would do (assuming this is a test environment, of course):
    - If you're using HugePages, disable it.
    - Run with AMM but give some key components a 'minimum' value (such as SGA, PGA, shared_pool, etc) so it's not too crazy. Setting everything at 0 can have performance issues with some databses, strangely.
    - Run an entire workload cycle (day, week, etc) - enough batch processing to mimic a realistic workload on Production
    - Check out the dynamic views/AWR reports to see what the database advises with the various components.
    - If you want to use HugePages, then set the SGA and PGA to whatever you've determined from the AWR reports. You can choose whether to specify minimum values for the SGA components.
    - If you're not using HugePages, you really should use AMM. What I do is give the SGA and PGA minimum values and allow the database to decide which one gets the 'extra' memory that's left over. That way, the SGA doesn't drop to an impossibly small size and cause everything to crap out.
    Mark

  • Solaris hangs when Oracle SGA is too large

    I am an Oracle DBA with preconfigured Solaris servers. Our Unix admin is outsourced so we don't have a lot of good support here. When I set the instance SGA too large the server hangs and requires a hard reboot It seems that the error is due to insufficient memory or swap. Is this normal behaviour for Solaris 10? Shouldn't the process abend before the server does?

    I've managed to duplicate this behavour on two seperate boxes. The first server is quite small only 1G physical memory and the SGA target was set too high. Additionally Oracle was competing with other resources on this box. Still it was surprising to me that the server actually hung. I would have expected to get something like "shared memory realm does not exists" if there was not enough memory.
    The second box has 8G physical memory and 4G swap. I set up the oracle /etc/project parameters for this one, here are the kernel settings:
    shminfo_shmmni = 256
    seminfo_semmni = 128
    shminfo_shmmax = 4G
    seminfo_semmsl = 256
    In this case Solaris hung when I started the database with a 4G MAX_SGA_SIZE, I don't think SGA_TARGET was set. I think the server ran out of swap but I'm still confused because it seems like physical memory should have been available. Also I don't understand why the Oracle instance would have even been using swap because Oracle locks physical memory using ISM or DISM.
    In both case the OS hung and could only be revived with a hard reboot.

  • Oracle SGA sizing

    Hi,
    I have an oracle rac 10g with 4 nodes on linux and each node has 12G RAM memory. my current SGA sizing from pfile looks like this, I need suggestions to change values to have better performance...
    racdb2.__db_cache_size=2080374784
    racdb3.__db_cache_size=2214592512
    racdb4.__db_cache_size=5620367360
    racdb1.__db_cache_size=2818572288
    racdb2.__java_pool_size=16777216
    racdb3.__java_pool_size=16777216
    racdb1.__java_pool_size=67108864
    racdb4.__java_pool_size=67108864
    racdb1.__large_pool_size=16777216
    racdb2.__large_pool_size=16777216
    racdb3.__large_pool_size=16777216
    racdb4.__large_pool_size=16777216
    racdb2.__shared_pool_size=5737807872
    racdb3.__shared_pool_size=5603590144
    racdb4.__shared_pool_size=2147483648
    racdb1.__shared_pool_size=4932501504
    racdb1.__streams_pool_size=16777216
    racdb2.__streams_pool_size=0
    racdb3.__streams_pool_size=0
    racdb4.__streams_pool_size=0

    SQL> select * from v$sga_target_advice;
      SGA_SIZE SGA_SIZE_FACTOR ESTD_DB_TIME ESTD_DB_TIME_FACTOR ESTD_PHYSICAL_READS
           268           1         471             1            37727
           134          .5       10732          22.7856            54293
           201            .75         498           1.0573            43363
           536           2         435            .9236            29420
           402            1.5         435            .9236            29420
           469           1.75         435            .9236            29420
           335           1.25         442            .9384            31046
    7 rows selected.

  • Oracle SGA Real Time Consumption Information(9i,10g and 11g)

    Hello,
    I need to prepare a comparative analysis report of SGA for an Oracle Production Instance
    The analysis would show the pre-allocated memory to SGA components v/s real time consumption of memory by these SGA components. I need to do this for each of following components.
    SGA itself
    Fixed Size
    Variable Size
    Database Buffers
    Redo Buffers
    The pre-allocated memory to above SGA components can be obtained by querying v$sga. But from where do I get its real time(current) memory conusmption in Oracle Production environment.
    In addition to above, i need the same information (pre-allocated and real time consumption) for following.
    Keep buffer cache
    Recycle buffer cache
    Specific block size caches
    Shared pool
    Large pool
    Java pool
    streams pool
    Which tables do I need to consider in order to derive 1)pre-allocated memory and 2)real time consumption for above mentioned SGA components
    Please advice.
    Thank you for your time in reading this post.
    Thanks,
    Ruchir

    Hi,
    Have a look at v$sgastat. Also, use statspack in 9i and AWR reports on 10g. Also, the size of the caches won't grow unless they are used. The parameters you have specified within the parameter file, like sga_target (10g onwards) and possibly the other pools if you have specified them, will show you what the caches can grow to.
    For example, you could just log onto the DB and do show parameter sga_ or shared_pool and you will seee values for these. Also, it depends whether you are running in automatic memory management mode - where the sga_target parameter is set - or manual. 9i will be manual, but 10g could be auto. In manual case, 9i, check out the parameters individually.
    Also, read the docs about the parameters shown and you will see what it says abotu them. There will be lots in the docs about performance tuning and monitoring of the instance. You might even learn some other interesting facts while reading through the docs...
    Hope this helps,
    Rob
    http://www.ora00600.com

  • ORACLE SGA size

    We bought a server for oracle data warehousing which has got 200GB RAM. Can I set set my SGA_TARGET to 100GB. Is it true the more SGA size result in better performance.
    Thaks
    jeevan

    Hi Jeevan,
    I would not set sga_target, it can cause RAM thrashing . . .
    In an article titled Automatic Shared Memory Management we see:
    http://www.oracle.com/technology/pub/articles/10gdba/week17_10gdba.html
    Some pools in SGA are not subject to dynamic resizing, and must be specified explicitly. Notable among them are the buffer pools for nonstandard block sizes and the non-default ones for KEEP or RECYCLE. If your database has a block size of 8K, and you want to configure 2K, 4K, 16K, and 32K block-size pools, you must set them manually.
    Their sizes will remain constant; they will not shrink or expand based on load. You should consider this factor when using multiple-size buffer, KEEP, and RECYCLE pools.
    In addition, log buffer is not subject to the memory adjustment—the value set in the parameter log_buffer is constant, regardless of the workload. ( In 10g, a new type of pool can also be defined in the SGA: Streams pool, set with parameter streams_pool_size. This pool is also not subject to automatic memory tuning.)
    Is it true the more SGA size result in better performance. Yes, but it may not be much, or it could be alot! It depends.
    On a dedicated server, your goal is to allocate all the RAM, without causing swapping. I have my notes here:
    http://www.dba-oracle.com/art_dbazine_ram.htm
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • UNIX user with Oracle software group settings

    I am seeking help on this issue.
    When I installed Oracle 10g on Solaris 9 sparc box, I created user oracle and assigned oracle user to primary group Oinstall and second group dba. Then installation went successful. After that, I created another user ccmm and assigned ccmm to dba group. Then I created some UNIX scripts and SQL scripts stored on system. When I log into server as ccmm user and tried to connect to Oracle database, it failed. If I log in as oracle user and tried to connect to Oracle database, everything runs fine. My purpose is to log in as ccmm user and connect to Oracle database or start Oracle utilities from there. So where is the problem for ccmm user settings? How can I make ccmm user as Oracle database user on UNIX machine? Thanks in advance.

    Not sure if I quite understand what you're looking to do, but have you added the 'ccmm' user to the 'oinstall' group?
    vi /etc/group
    oinstall::101:ccmm
    Don't know if that helps ya or not.
    g/l

  • Oracle 9i kernel Settings for Oracle !

    All,
    I am trying to find Kernel settings for the Oracle 9i
    for our platform. It seems like previous dba
    never bother to change the kernel settings before
    she upgraded from 817 to 9.2.0
    Sun Solais 2.8 8 GB RAM
    Oracle 9.2.0
    Current setting looks like this :
    * Begin Oracle shared memory and semaphore settings
    set shmsys:shminfo_shmmax=4026531840
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=400
    set shmsys:shminfo_shmseg=256
    set semsys:seminfo_semmni=100
    set semsys:seminfo_semmsl=512
    set semsys:seminfo_semmns=8192
    set semsys:seminfo_semopm=100
    set semsys:seminfo_semvmx=32767
    * End Oracle shared memory and semaphore settings
    Which does not make any sense to me.
    It looks like 8.1.7.
    From
    Pranav haker

    http://download-east.oracle.com/docs/html/A95133_01/toc.htm#770032
    http://www.oracle.com/technology/documentation/oracle9i_arch_901.html
    HTH. -Kevin

  • Oracle SGA benefits of using indexes

    Goo day people,
    We have been having performance issues and then the SGA was not sized coprrectely.
    The size of the SGA was 720mb so we then pushed it to 4 gig which I blv is enough.
    We then did a run of the tuning advisory on the top sql queries that were top one,
    the advisor then pointed on that we need to use indexes on those queries .
    We then advised the developers that they need to use indexes as it will improve
    performance .. This morning the ADDM pointed out that we need to up the sga
    to 5 Gig and I dont see this a solution to the problem.
    I need to find a note on what benefits does using indexes have on the SGA and the overall perfomance
    so that I can show the business that increasing the SGA wont solve the problem.
    See screen shot below
    erformance Finding Details:
         Database Time (minutes)          33.8
         Period Start Time          10-Aug-2010 10:00:11 o'clock SAST
         Period Duration (minutes)          60.2
         Task Owner          SYS
         Task Name          ADDM:1511773678_1_28498
         Average Active Sessions          0.6
         Finding          The SGA was inadequately sized, causing additional I/O or hard parses.
         Impact (minutes)          14.4
         Impact (%)          [64] [86] 42.8
    Recommendations
    Show All Details | Hide All Details
    Details     Category     Benefit (%) [Sorted in descending order]
    [Select to hide information] Hide
         DB Configuration     [64] [86] 42.8
    Action     Increase the size of the SGA by setting the parameter "sga_target" to 5120 M.
    Thanks
    Sibusiso
    Edited by: 787473 on 10-Aug-2010 02:35

    We have been having performance issues and then the SGA was not sized coprrectely.
    The size of the SGA was 720mb so we then pushed it to 4 gig which I blv is enough.
    We then did a run of the tuning advisory on the top sql queries that were top one,
    the advisor then pointed on that we need to use indexes on those queries .
    We then advised the developers that they need to use indexes as it will improve
    performance .. Yes. As those queries must be missing indexes that would prove to be beneficial. So need to take it query by query and created the required indexes.
    This morning the ADDM pointed out that we need to up the sga
    to 5 Gig and I dont see this a solution to the problem.
    I need to find a note on what benefits does using indexes have on the SGA and the overall perfomance
    so that I can show the business that increasing the SGA wont solve the problem.
    See screen shot below
    erformance Finding Details:
         Database Time (minutes)          33.8
         Period Start Time          10-Aug-2010 10:00:11 o'clock SAST
         Period Duration (minutes)          60.2
         Task Owner          SYS
         Task Name          ADDM:1511773678_1_28498
         Average Active Sessions          0.6
         Finding          The SGA was inadequately sized, causing additional I/O or hard parses.
         Impact (minutes)          14.4
         Impact (%)          [64] [86] 42.8
    Recommendations
    Show All Details | Hide All Details
    Details     Category     Benefit (%) [Sorted in descending order]
    [Select to hide information] Hide
         DB Configuration     [64] [86] 42.8
    Action     Increase the size of the SGA by setting the parameter "sga_target" to 5120 M.One of the biggest impact of indexes (if they fit in the scenario) is in reducing the IO (by avoiding full table scans). Reduced IO means faster system. Absence of indexes would mean that you read lots of data into the memory [buffer cache] and data would flush out quickly too (to make space for the new data), resulting in more IO. So having indexes in place means you only read as much amount of data as required and frequently accessed data stays in the memory.
    Kinda incomplete answer...Lets wait for other experts' comments :)
    Edited by: amardeep.sidhu on Aug 10, 2010 3:23 PM

  • Oracle resets JRE settings, messes up IE

    Sorry if this has been answered. I looked around and didn't see this particular topic.
    On Windows 2000 machines (server and workstation), I have had cases where certain applets that used to function before installing Oracle on the machine in question no longer work. The applets can't find the jre that they expect, and the error tells you that it can't find the proper vales in the registry. The registry looks fine, and the binaries are definately there though.
    For instance, I had something that was looking for jar 1.3.1. It woked before installing Oracle, and won't work after installin Oracle UNTIL I REINSTAL THE 1.3.1 JRE. This seems stupid, and I don't know if doing this will just cause problems with Oracle down the road.
    What is the easy solution here?
    Thanks,
    Mike

    I encountered this same problems (similar symptoms) while installing on Linux. Perhaps the same solution will work for you.
    It seems the default locations in which all of the standard installs (Enterprise, Standard, Client) put both jdk 1.1.8 and 1.3.1 into the same directory location, thereby destroying both JDKs. If you elect the Custom installation, it gives you the option to put the JDKs into locations of your choice. On the Linux systems the default location is directory oracle.swd.jre. I found it adequate to elect to put jdk 1.3.1 into a directory jdk1.3.1 inside directory oracle.swd.jre.
    The directory names will be different in your environment but the problem is probably the same.

  • Oracle sga

    when i start the oracle
    oracle gives me a message after checking the security that:
    no oracle found.
    null

    Dear Abrar, explain what OS u r using. If its windows NT, and u r using Oracle 8, then check first, r the services for Oracle BD running. If yes, then, use SVRMGR30 utility and connect as internal user, and start your database manually, as written below
    svrmgr30> connect internal/<your password>
    connected.
    svrmgr30> startup pfile=<location of parameter file>
    Hope u'll get out of your problem, if it works, let me know.
    Take care.

Maybe you are looking for