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.
Similar Messages
-
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=0SQL> 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,
RuchirHi,
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 -
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
jeevanHi 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 -
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 -
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
ThanksThere 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 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:35We 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 -
hello all,
When querying this view in regards to the v$sga_shared_pool advisory , i get results but not sure how to interpret the ESTD_LC_TIME_SAVED column ?
It's a time in seconds benchmark to what exactly ?
EST_SIZE FACTOR ESTD_LC_SIZE ESTD_LC_TIME_SAVED HITS
160 0.5 162 215103 43148850
192 0.6 193 215285 43173155
224 0.7 224 215391 43188435
256 0.8 255 215470 43200068
ThanksESTD_LC_TIME_SAVED - (From Oracle documentation) Estimated elapsed parse time saved (in seconds), owing to library cache memory objects being found in a shared pool of the specified size. This is the time that would have been spent in reloading the required objects in the shared pool had they been aged out due to insufficient amount of available free memory.
ESTD_LC_TIME_SAVED_FACTOR - indicates how the ESTD_LC_TIME_SAVED relates to the current shared pool.
reference: http://www.alydan.com/weeklytip060.htm
--hope this helps! -
Max shmmax for 16GB Oracle SGA
Is there any damage in increasing shmmax to a max value to fit a database SGA of 16GB in memory?
Current values are below
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmseg=10
set shmsys:shminfo_shmmni=100
set semsys:seminfo_semmns=6940
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=250
Memory size: 38912 Megabytes
uname -atotal: 6699336k bytes allocated + 710632k reserved = 7409968k used, 29393864k available
SunOS sunorad01 5.8 Generic_108528-23 sun4u sparc SUNW,Sun-Fire-15000
64-bit sparcv9 kernel modulesAbsolutely no damage. It's a number only used when the shared memory segment is created. It's checked to see if this number is smaller than the size of the shared memory segment to be created.
-
Oracle 10G New Feature........Part 1
Dear all,
from last couple of days i was very busy with my oracle 10g box,so i think this is right time to
share some intresting feature on 10g and some internal stuff with all of you.
Have a look :-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oracle 10g Memory and Storage Feature.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.Automatic Memory Management.
2.Online Segment Shrink
3.Redolog Advisor, checkpointing
4.Multiple Temporary tablespace.
5.Automatic Workload Repository
6.Active Session History
7.Misc
a)Rename Tablespace
b)Bigfile tablespace
c)flushing buffer cache
8.ORACLE INTERNAL
a)undocumented parameter (_log_blocks_during_backup)
b)X$ view (x$messages view)
c)Internal Structure of Controlfile
1.Automatic memory management
================================
This feature reduce the overhead of oracle DBA.previously mostly time we need to set diff oracle SGA parameter for
better performance with the help of own experience,advice views and by monitoring the behaviour
of oracle database.
this was just time consuming activity.........
Now this feature makes easy life for oracle DBA.
Just set SGA_TARGET parameter and it automatically allocate memory to different SGA parameter.
it focus on DB_CACHE_SIZE
SHARED_POOL_SIZE
LARGE_POOL
JAVA_POOL
and automatically set it as
__db_cache_size
__shared_pool_size
__large_pool_size
__java_pool_size
check it in alert_log
MMAN(memory manager) process is new in 10g and this is responsible for sga tuning task.
it automatically increase and decrease the SGA parameters value as per the requirement.
Benefit:- Maximum utlization of available SGA memory.
2.Online Segment Shrink.
==========================
hmmmmm again a new feature by oracle to reduce the downtime.Now oracle mainly focus on availablity
thats why its always try to reduce the downtime by intrducing new feature.
in previous version ,reducing High water mark of table was possible by
Exp/imp
or
alter table move....cmd. but on these method tables was not available for normal use for long hrs if it has more data.
but in 10g with just few command we can reduce the HWmark of table.
this feature is available for ASSM tablespaces.
1.alter table emp enable row movement.
2.alter table emp shrink space.
the second cmd have two phases
first phase is to compact the segment and in this phase DML operations are allowed.
second phase(shrink phase)oracle shrink the HWM of table, DML operation will be blocked at that time for short duration.
So if want to shrink the HWM of table then we should use it with two diff command
first compact the segment and then shrink it on non-peak hrs.
alter table emp shrink space compact. (This cmd doesn't block the DML operation.)
and alter table emp shrink space. (This cmd should be on non-peak hrs.)
Benefit:- better full table scan.
3.Redolog Advisor and checkpointing
================================================================
now oracle will suggest the size of redo log file by V$INSTANCE_RECOVERY
SELECT OPTIMAL_LOGFILE_SIZE
FROM V$INSTANCE_RECOVERY
this value is influence with the value of FAST_START_MTTR_TARGET .
Checkpointing
Automatic checkpointing will be enable after setting FAST_START_MTTR_TARGET to non-zero value.
4.Multiple Temporary tablespace.
==================================
Now we can manage multiple temp tablespace under one group.
we can create a tablespace group implicitly when we include the TABLESPACE GROUP clause in the CREATE TEMPORARY TABLESPACE or ALTER TABLESPACE statement and the specified tablespace group does not currently exist.
For example, if group1 is not exists,then the following statements create this groups with new tablespace
CREATE TEMPORARY TABLESPACE temp1 TEMPFILE '/u02/oracle/data/temp01.dbf'
SIZE 50M
TABLESPACE GROUP group1;
--Add Existing temp tablespace into group by
alter tablespace temp2 tablespace group group1.
--we can also assign the temp tablespace group on database level as default temp tablespace.
ALTER DATABASE <db name> DEFAULT TEMPORARY TABLESPACE group1;
benefit:- Better I/O
One sql can use more then one temp tablespace
5.AWR(Automatic Workload Repository):-
================================== AWR is built in Repository and Central point of Oracle 10g.Oracle self managing activities
is fully dependent on AWR.by default after 1 hr, oracle capure all database uses information and store in AWR with the help of
MMON process.we called it Memory monitor process.and all these information are kept upto 7 days(default) and after that it automatically purge.
we can generate a AWR report by
SQL> @?/rdbms/admin/awrrpt
Just like statspack report but its a advance and diff version of statspack,it provide more information of Database as well as OS.
it show report in Html and Text format.
we can also take manually snapshot for AWR by
BEGIN
DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
END;
**The STATISTICS_LEVEL initialization parameter must be set to the TYPICAL or ALL to enable the Automatic Workload Repository.
[oracle@RMSORA1 oracle]$ sqlplus / as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 17 10:37:22 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> @?/rdbms/admin/awrrpt
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
4174002554 RMSORA 1 rmsora
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type: text
Type Specified: text
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
* 4174002554 1 RMSORA rmsora RMSORA1
Using 4174002554 for database Id
Using 1 for instance number
Specify the number of days of snapshots to choose from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most recent
(n) days of snapshots being listed. Pressing <return> without
specifying a number lists all completed snapshots.
Listing the last 3 days of Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
rmsora RMSORA 16186 16 Mar 2006 17:33 1
16187 16 Mar 2006 18:00 1
16206 17 Mar 2006 03:30 1
16207 17 Mar 2006 04:00 1
16208 17 Mar 2006 04:30 1
16209 17 Mar 2006 05:00 1
16210 17 Mar 2006 05:31 1
16211 17 Mar 2006 06:00 1
16212 17 Mar 2006 06:30 1
16213 17 Mar 2006 07:00 1
16214 17 Mar 2006 07:30 1
16215 17 Mar 2006 08:01 1
16216 17 Mar 2006 08:30 1
16217 17 Mar 2006 09:00 1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 16216
Begin Snapshot Id specified: 16216
Enter value for end_snap: 16217
End Snapshot Id specified: 16217
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_16216_16217.txt. To use this name,
press <return> to continue, otherwise enter an alternative.
Benefit:- Now DBA have more free time to play games.....................:-)
Advance version of statspack
more DB and OS information with self managing capabilty
New Automatic alert and database advisor with the help of AWR.
6.Active Session History:-
==========================
V$active_session_history is view that contain the recent session history.
the memory for ASH is comes from SGA and it can't more then 5% of Shared pool.
So we can get latest and active session report from v$active_session_history view and also get histortical data of
of session from DBA_HIST_ACTIVE_SESS_HISTORY.
v$active_session_history include some imp column like:-
~SQL identifier of SQL statement
~Object number, file number, and block number
~Wait event identifier and parameters
~Session identifier and session serial number
~Module and action name
~Client identifier of the session
7.Misc:-
========
Rename Tablespace:-
=================
in 10g,we can even rename a tablespace by
alter tablespace <tb_name> rename to <tb_name_new>;
This command will update the controlfile,data dictionary and datafile header,but dbf filename will be same.
**we can't rename system and sysaux tablespace.
Bigfile tablespace:-
====================
Bigfile tablespace contain only one datafile.
A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile.
Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management.
we can take the advantage of bigfile tablespace when we are using ASM or other logical volume with RAID.
without ASM or RAID ,it gives poor response.
syntax:-
CREATE BIGFILE TABLESPACE bigtbs
Flushing Buffer Cache:-
======================
This option is same as flushing the shared pool,but only available with 10g.
but i don't know, whats the use of this command in prod database......
anyway we can check and try it on test server for tuning n testing some query etc....
SQL> alter system flush buffer_cache;
System altered.
++++++++++++++++++
8.Oracle Internal
++++++++++++++++++
Here is some stuff that is not related with 10g but have some intresting things.
a)undocumented parameter "_log_blocks_during_backup"
++++++++++++++++++++++++
as we know that oracle has generate more redo logs during hotbackup mode because
oracle has to maintain the a complete copy of block into redolog due to split block.
we can also change this behaviour by setting this parameter to False.
If Oracle block size equals the operating system block size.thus reducing the amount of redo generated
during a hot backup.
WITHOUT ORACLE SUPPORT DON'T SET IT ON PROD DATABASE.THIS DOCUMENT IS JUST FOR INFORMATIONAL PURPOSE.
b)some X$ views (X$messages)
++++++++++++++++
if you are intresting in oracle internal architecture then x$ view is right place for getting some intresting things.
X$messages :-it show all the actions that a background process do.
select * from x$messages;
like:-
lock memory at startup MMAN
Memory Management MMAN
Handle sga_target resize MMAN
Reset advisory pool when advisory turned ON MMAN
Complete deferred initialization of components MMAN
lock memory timeout action MMAN
tune undo retention MMNL
MMNL Periodic MQL Selector MMNL
ASH Sampler (KEWA) MMNL
MMON SWRF Raw Metrics Capture MMNL
reload failed KSPD callbacks MMON
SGA memory tuning MMON
background recovery area alert action MMON
Flashback Marker MMON
tablespace alert monitor MMON
Open/close flashback thread RVWR
RVWR IO's RVWR
kfcl instance recovery SMON
c)Internal Structure of Controlfile
++++++++++++++++++++++++++++++++++++
The contents of the current controlfile can be dumped in text form.
Dump Level Dump Contains
1 only the file header
2 just the file header, the database info record, and checkpoint progress records
3 all record types, but just the earliest and latest records for circular reuse record types
4 as above, but includes the 4 most recent records for circular reuse record types
5+ as above, but the number of circular reuse records included doubles with each level
the session must be connected AS SYSDBA
alter session set events 'immediate trace name controlf level 5';
This dump show lots of intresting information.
it also show rman recordes if we used this controlfile in rman backup.
Thanks
Kuljeet Pal SinghYou can find each doc in html and pdf format on the Documentation Library<br>
You can too download all the documentation in html format to have all on your own computer here (445.8MB)<br>
<br>
Nicolas. -
Use more than 2 GB ram for oracle
I have 16 GB ram but I only can use 2 GB of that for oracle database , how can i increase that ???
Don't merely go for increasing the size for Oracle (SGA) Memory. You need to keep collect the usage/statistics of your Oracle SGA, for any contention/or slow performance.
Until and unless users/clients reports that their reports/programs/queries are running slow, then think of increasing memory for Oracle. Moreover, instead of anticipating that the user reports the problem, you from your side need to check the hits of the memory allocated for Oracle.
By the way, you didn't specify your Database Version and OS Details.
If assumed, you are on Oracle 10g, then please take a look at the below Oracle Documentations links.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#ADMIN00207
Regards,
Sabdar Syed. -
Hi All
I want to deploy Oracle Linux 5 to set up for DBA and the server and OS is 32-bit. My questions are
what is the maximum limit of SHMMAX value i can set?
and for this what is the maximum size of oracle SGA?
looking for your early response.
JeesunMy questions are what is the maximum limit of SHMMAX value i can set?
and for this what is the maximum size of oracle SGA?It depends on if you are using PAE or not.
More at:
http://en.wikipedia.org/wiki/Physical_Address_Extension
http://www.puschitz.com/TuningLinuxForOracle.shtml
http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_8.shtml -
Urgent! Error: ORA-01034 Oracle not available for Oracle10gi
I have used SQL*Plus for a while, but recently when I try to login there is this error message:
Error:
ORA-01034 ORACLE not available
ORA-27101 shared memory realm does not exist
I had search for the solution quite a while. I changed the "sqlnet.ora" from C:\OraHome_1\NETWORK\ADMIN
I changed SQLNET.AUTHENTICATION_SERVICES=NT; to SQLNET.AUTHENTICATION_SERVICES=NONE and then reboot the machine.
The weird thing is that sometimes it works after I reboot the machine, but recently this just doesn't work any more. The SQL*Plus generates the same error message as I wrote above.
It seems like this kind of problem has troubled lots of oracle database users. IS this a bug that exists in the Oracle10gi?
Or does Oracle10gi require to run on certain operating system platform like Windows XP Professional but does not support for Windows XP Home Edition?
Can the Oracle company provide some error solution guide for the public for their own system?
many thanksNo this specific error message is not a result of an Oracle bug to my knowledge.
In my experience it is a simple matter of not using Oracle correctly. Only it is not that simple from a pure end-user perspective as Oracle is not a mickey mouse little filing system that pretends to be a database (like MS Access).
Which makes sense. After all, driving a bicycle does not mean one is able to get on a superbike. And if you respond "what!! why is it a superbike!?" then you need a bicycle in the first place.
The cause of the error you list - the client is making a local IPC dedicated server connection to the Oracle instance. This fails as the dedicated server cannot find the Oracle SGA (shared memory area) to attached to. This is usually the result of
a) the Oracle instance is down (and thus the SGA does not exist)
b) the ORACLE_SID used by the client is incorrect (and thus it attempts to attach to a non-existant SGA)
Reason (a) could be caused by some underlaying issue that results in the Oracle instance shutting down automatically or unintentionally.
As for what Oracle 10G requires operating system wise. There are detailed platform certification matrixes on the Oracle web site. In addition, the INSTALLATION notes of Oracle also specifies what platforms are supported.
You also fail to mention the exact Oracle product you're running. Oracle XE is different than Oracle Standard Edition which is different than Oracle Enterprise Edition.
There is btw a dedicated support forum here for Oracle XE - and this one ain't it. -
Oracle background process dying
Hi
I was wondering if anyone else had seem this problem and had any
solutions on it?
We have Oracle 8.0.5 install on Redhat, the install process went
through smoothly and everything runs okay to the best of our
knowledge and we have three instances running on the machine more
for testing than any production work, yet! Also one of the
instances has webdb installed on it.
Okay the problem we are seeing is as follows, we startup the
databases and leave them up but when we come back to the system
and check the system with the 'ps ax' command a number of the
background processes have disappeared, initially smon & dbwr but
this is not always the case and I have come back to the system to
see only two of the original six processes running sometimes we
are still able to connect to the database and do selects and
updates, etc but normally we have to shutdown and restart the
instances. There are no error logs generated and I've checked all
the relevant directories i.e. bdump, udump, etc and right now we
are at a loss to discover the problem.
My concern at the moment is not wanting to put a production
system on this without being able to firstly identifiy the
problem or to solve it.
Any feedback would be appreciated.
nullThanks I'll give that a try
Byron
Joe Johnson (guest) wrote:
: Byron Coke (guest) wrote:
: : databases and leave them up but when we come back to the
system
: : and check the system with the 'ps ax' command a number of the
: : background processes have disappeared, initially smon & dbwr
: <snip>
: : are still able to connect to the database and do selects and
: : updates, etc but normally we have to shutdown and restart the
: : instances. There are no error logs generated and I've checked
: I've only seen this happen when you do not have enough memory
to
: hold the Oracle SGA, Oracle background processes, and OS all at
: the same time. What you may be seeing is the OS swapping out
the
: DBWR, LGWR, PMON, SMON, and/or CKPT processes due to low memory
: availablility.
: Oracle does occasionally stay up when these procsses swap to
: disk, but only temporarily. It will crash eventually.
: To test the theory, make your SGA smaller by editing the
: following init.ora parameters:
: shared_pool_size (specified in bytes)
: db_block_buffers (specified in number of buffers)
: log_buffer (specified in bytes)
: an then try re-starting the instance. Remember too that each
: user process connected to Oracle consumes memory of about 1-2MB
: depending on your configuration.
: Hope this helps.
: Joe
null
Maybe you are looking for
-
Unable to open .eps file "unknown format and cannot be opened" ?
A client sent me an .eps file (logo). I tried opening it in Illustrator AND photoshop (just to see if it was saved in one vs the other program) - however to no avail. Illustrator gives me a message "unknown format and cannot be opened" Photoshop give
-
Web graphic is not displayed the first time
Hi all I have a strange issue with some users. The first time that they run the qry in the web, the chart is not diplayed, only is displayed a big "X" and the error msg is the msg below; but when they refresh, the chart is displayed ok. How can I so
-
Lightroom print mode and Color mode grayed out
Both print mode and color mode selections are grayed out not allowing me to select them. Help
-
Use of Firewall in System Preferences
On an iMac 2.66 GHz, Intel Core duo running OS 10.6.5, is there any downside to having the "security firewall" turned on in "system preferences"? I recently read an article suggesting that one go to "system preference", enter "security", and turn "fi
-
Why? after home hang and resume, APP play more smooth on ipad/iphone
On ipad/iph. Start app, load and play swf, Sounds bad, choppy! Start app, then use Home button, hang and resume app, load and play the swf Sounds well,smooth! Why? I guess that hanging load all air native machine to Ram, So resume play smooth who kno