Copy of Oracle Apps DBA Instant Solutions

47
Detailed and simple steps for Schema Migration using exp/imp,pipe,gz between two databases Detailed and simple steps for Schema Migration using exp/imp,pipe,gz between two databases Start of Migration On the Source Database ================== SQL> select name,open_mode from v$database; NAME OPEN_MODE --------- ---------- SOURCE READ WRITE 1. SQL> select owner,sum(bytes)/1024/1024 from dba_segments where owner in ('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by owner; 2. SQL> select tablespace_name,sum(bytes)/1024/1024 from dba_segments where owner in ('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by tablespace_name; 3. SQL> select default_tablespace,username from dba_users where username in ('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); 4. SQL> select owner,status,object_type,count(*) from dba_objects where owner in ('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by object_type,owner,status; July (1) May (1) Labels Apps DBA - Concurrent Managers (4) Apps DBA Issues (24) Flashback Technology features (6) Imporant Metalink Doc IDs (2) Important Database Tables (2) Important I Papers (3) Interview Questions (8) Oracle Apps DBA cloning (1) Oracle Apps DBA Patching (2) Oracle Apps R12 (3) Oracle DBA - Interview Questions (4) Oracle DBA - Wait Events (1) Oracle DBA Issues (42) Oracle DBA Scripts (14) RAC(Real Applications Cluster) (3) Unix Important (5) Upgradations (4) Blog Archive Share Report Abuse Next Blog» Create Blog Sign In This blog is designed for the guys who need real time assistance for Oracle DBA issues and Oracle Apps DBA issues. Not only that some latest updates will be included. Planning to put everything related to youth, work,career and entertainment also Note: Please Dont depend completely on this blog for fixes,workarounds and solutions. These are just clues/advices/suggessions. Please do give comments for the updates for this. Those will be higly appreciated. Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/ 1 of 47 8/31/2011 10:45 PM

Transcript of Copy of Oracle Apps DBA Instant Solutions

Page 1: Copy of Oracle Apps DBA Instant Solutions

Detailed and simple steps for Schema Migration using exp/imp,pipe,gzbetween two databases

Detailed and simple steps for Schema Migration using exp/imp,pipe,gz between twodatabases

Start of Migration

On the Source Database==================SQL> select name,open_mode from v$database;

NAME OPEN_MODE--------- ----------SOURCE READ WRITE

1. SQL> select owner,sum(bytes)/1024/1024 from dba_segments where owner in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by owner;

2. SQL> select tablespace_name,sum(bytes)/1024/1024 from dba_segments where owner in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by tablespace_name;

3. SQL> select default_tablespace,username from dba_users where username in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5');

4. SQL> select owner,status,object_type,count(*) from dba_objects where owner in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by object_type,owner,status;

July (1)May (1)

LabelsApps DBA - Concurrent Managers (4)

Apps DBA Issues (24)Flashback Technology features (6)

Imporant Metalink Doc IDs (2)Important Database Tables (2)

Important I Papers (3)Interview Questions (8)

Oracle Apps DBA cloning (1)Oracle Apps DBA Patching (2)

Oracle Apps R12 (3)Oracle DBA - Interview Questions (4)

Oracle DBA - Wait Events (1)Oracle DBA Issues (42)

Oracle DBA Scripts (14)RAC(Real Applications Cluster) (3)

Unix Important (5)Upgradations (4)

Blog Archive

Share Report Abuse Next Blog» Create Blog Sign In

This blog is designed for the guys who need real time assistance for Oracle DBA issues and Oracle Apps DBA issues. Not only thatsome latest updates will be included. Planning to put everything related to youth, work,career and entertainment also Note: PleaseDont depend completely on this blog for fixes,workarounds and solutions. These are just clues/advices/suggessions. Please do givecomments for the updates for this. Those will be higly appreciated.

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

1 of 47 8/31/2011 10:45 PM

Page 2: Copy of Oracle Apps DBA Instant Solutions

April (1)March (1)October (1)August (3)March (2)February (2)January (1)July (3)May (2)April (2)February (3)January (8)December (5)November (11)October (10)September (51)

Oracle DBA ForumsTusc.com

TeachMeOracle.comOraCode.com

OracleTuning.comOraclePower.com

OracleDBOracleBase.com

LazyDBA.comIPBHost.com

HotOracle.comDbaZine.com

5. SQL> select object_type,count(*) from dba_objects where owner in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by object_type;

6. SQL> select count(*),status from dba_objects where owner in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by status;

7. SQL> select object_type,count(*),status from dba_objects where owner in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5') group by status,object_type;

8. SQL> select tablespace_name,sum(bytes)/1024/1024/1000 from dba_data_files wheretablespace_name in('TS1','TS2','TS3','TS4','TS5','TS6','TS7') group by tablespace_name;

9. Export Schemas: vi exp_SOURCE_schemas.sh

#!/bin/ksh export NLS_LANG=AMERICAN_AMERICA.UTF8 mknod /tmp/exp_pipe1 p gzip -cNf SOURCE_schemas.dmp.gz & exp system/sysmic32 file=/tmp/exp_pipe1 buffer=2097152 log=exp_SOURCE_schemas.logstatistics=none owner=SCHEMA1,SCHEMA2,SCHEMA3,SCHEMA4,SCHEMA5 rm -f /tmp/exp_pipe1 unset NLS_LANG

10. nohup ./exp_SOURCE_schemas.sh > exp_SOURCE_schemas.log 2>&1

11. Copy the SOURCE_schemas.dmp.gz to Target Database server. scp -p SOURCE_schemas.dmp.gz ganesh@target_server:/oracle/export

On the Target Database==================SQL> select name,open_mode from v$database;

NAME OPEN_MODE--------- ----------TARGET READ WRITE

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

2 of 47 8/31/2011 10:45 PM

Page 3: Copy of Oracle Apps DBA Instant Solutions

DBAToolz.comDBASupport

DBAPool.comDBAClick.com

DatabaseAnswers.comCreateForum.com

CertCities.com

Oracle Corporation LinksOracle University Learning

Metalink

Essential Software ChatMessengers

Skype Messenger ChatMSN Messenger ChatAOL Messenger Chat

Rediffbol Messgenger ChatYahoo Beta Messenger Chat

Google Chat Messenger

Oracle DB Arch.

1. Create tablespaces as per the output from Step 7 you got on Source database

2. Create users on Target database Run the following script on the source database and execute the resultant script on theTarget database

set linesize 300 set pagesize 300 spool create_users.sql select 'create user '||username||' identified by values '''||password||''' default tablespace'||default_tablespace||' temporary tablespace temp profile '||profile||';' from dba_userswhere username in ('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); spool off

3. Grant Quotas on Target database Run the following script on the source database and execute the resultant script on theTarget database

spool create_tablespace_quota.sql select 'alter user '||username||' quota unlimited on '||tablespace_name||';' fromdba_ts_quotas where MAX_BYTES='-1' and username in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); select 'alter user '||username||' quota '||max_bytes||' on '||tablespace_name||';' fromdba_ts_quotas where MAX_BYTES!='-1' and username in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); spool off

4. Grant Roles on Target database Run the following script on the source database and execute the resultant script on theTarget database spool create_grant_roles.sql select 'grant '||GRANTED_ROLE||' to '||GRANTEE||';' from dba_role_privs whereADMIN_OPTION='NO' and grantee in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); select 'grant '||GRANTED_ROLE||' to '||GRANTEE||' with admin option;' fromdba_role_privs where ADMIN_OPTION='YES' and grantee in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); spool off

5. Grant System privs on Target database spool create_sys_privs.sql

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

3 of 47 8/31/2011 10:45 PM

Page 4: Copy of Oracle Apps DBA Instant Solutions

Oracle E-Business SuiteR12

Oracle 11g

Run the following script on the source database and execute the resultant script on theTarget database select 'grant '||PRIVILEGE||' to '||GRANTEE||';' from dba_sys_privs where ADMIN_OPTION='NO' and grantee in ('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); select 'grant '||PRIVILEGE||' to '||GRANTEE||' with admin option;' from dba_sys_privswhere ADMIN_OPTION='YES' and grantee in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); spool off

6. Import Schemas

vi imp_TARGET_schemas.sh

#!/bin/ksh export NLS_LANG=AMERICAN_AMERICA.AL32UTF8 mknod /tmp/imp_pipe1 p gunzip -c SOURCE_schemas.dmp.gz >/tmp/imp_pipe1 & imp system/manager99 file=/tmp/imp_pipe1 buffer=20971520log=imp_TARGET_schemas.log full=y rm -f /tmp/imp_pipe1 unset NLS_LANG

7. Verify the logs

8. Do step 1 to step 7 that you have done on the source database.

9. Grant Table privs on the Target Run the following script on the source database and execute the resultant script on theTarget database spool create_tab_privs.sql select 'grant '||privilege||' on '||owner||'.'||table_name||' to '||grantee||';' fromdba_tab_privs where GRANTABLE='NO' and grantee in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); select 'grant '||privilege||' on '||owner||'.'||table_name||' to '||grantee||' with grantoption;' from dba_tab_privs where GRANTABLE='YES' and grantee in('SCHEMA1','SCHEMA2','SCHEMA3','SCHEMA4','SCHEMA5'); spool off

9. EXEC DBMS_UTILITY.COMPILE_SCHEMA ('SCHEMA1'); -> Do for all schemas that you have

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

4 of 47 8/31/2011 10:45 PM

Page 5: Copy of Oracle Apps DBA Instant Solutions

Add to Plusmo

Oracle Apps DBA BlogsOracle Apps documentation

OnlineAppsDBANavdeepSainiBlog

BlackGeekBlogAtulKumarsBlog

SenthilRajendranBlogOracleMagicByFadiHasweh

StevenChanBlog

imported

10. exec dbms_stats.gather_schema_stats('SCHEMA1', cascade=>TRUE); -> Do for allschemas that you have imported

End of Migration0 comments Links to this post

Where are the log files located in R12?

Where are the log files located in R12?

For DBA’s who mostly worked on 11i environments, finding the log files (Concurrentmanager log, apache log etc.,) on a R12 environment might pose a threat initially, becausethese log files no longer reside in their old location ie., $APPLCSF/$APPLLOG or$APACHE_TOP/Apache/logs.In R12, the log files are located in $LOG_HOME (which translates to $INST_TOP/logs)Concurrent Reqeust related logs$LOG_HOME/appl/conc -> location for concurrent requests log and out files$LOG_HOME/appl/admin -> location for mid tier startup scripts log filesApache Logs (10.1.3 Oracle Home which is equivalent to iAS Oracle Home)$LOG_HOME/ora/10.1.3/Apache -> Location for Apache Error and Access log files$LOG_HOME/ora/10.1.3/j2ee -> location for j2ee related log files$LOG_HOME/ora/10.1.3/opmn -> location for opmn related log filesForms & Reports related logs (10.1.2 Oracle home which is equivalent to 806 Oracle Home)$LOG_HOME/ora/10.1.2/forms$LOG_HOME/ora/10.1.2/reportsRelated metalink notes to enable additional debugging419839.1 – How to enable Apache, OC4J and OPMN logging in Oracle Applications R12422419.1 – R12 – How To Enable and Collect Debug for HTTP, OC4J and OPMN

Source : http://oraclepitstop.wordpress.com0 comments Links to this post

How to enable Apache and Jserv Debugging in Oracle Apps 11i?

PURPOSE:-If a user experiences an error, request a screen shot of the error and any furthererror details that they can report.If the error is reproducible, enable the following middle

Posts

All Comments

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

5 of 47 8/31/2011 10:45 PM

Page 6: Copy of Oracle Apps DBA Instant Solutions

Oracle E-Business SuiteR12

Online Debit Card BankingState Bank Of India Online

ICICI Bank OnlineHDFC Bank Online

Deutsche Bank OnlineAndhra Bank Online

ABN Amro Bank Online

Personal InterestsHotGreetings

tier debug settings and collect diagnostic information appropriately and upload to supportfor troubleshooting.

Looking for Jserv.log at $IAS_ORACLE_HOME/Apache/Jserv/logs then enable…For Temporary purpose manually editing configuration files.1) Shut Down Apache Server2) Backup the existing files in the following files:$IAS_ORACLE_HOME/Apache/Apache/logs$IAS_ORACLE_HOME/Apache/Jserv/logs$IAS_ORACLE_HOME/Apache/Jserv/logs/jvm3) Enable debug logging for Apaches_apache_loglevel=debug (In Context File)Orloglevel debug (In $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf)4) Enable debug logging for mod_jservs_apjservloglevel=debug (In Context File)OrApJServLogLevel debug (In $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.conf)5) Enable debug logging for Jservs_oacorelog=true (In Context File)Orlog=true log.channel=true log.channel.info=true log.channel.debug=true(In $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.properties)6) Enable debug logging for Forms Listener Servlet JVM. (Optional)s_oaformslog=true (In Context File)Orlog=true log.channel=true log.channel.info=true log.channel.debug=true(In $IAS_ORACLE_HOME/Apache/Jserv/etc/forms.properties)7) Restart Apache(If Context File had been edited in above steps then run autoconfig to update theconfiguration files.) 8) Replicate the Problem.9) Review the following files from the $IAS_ORACLE_HOME/Apache/Jserv/logs directorya) mod_jserv.logb) jserv.logc) All files from the $IAS_ORACLE_HOME/Apache/Jserv/logs/jvm directory These willhave filenames of the form jvm.jvm.stdoutstderr For example,OACoreGroup.0.stderrd) $COMMON_TOP/rgf/instance_hostname/javacache.log

Source: http://leenus2b.wordpress.com

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

6 of 47 8/31/2011 10:45 PM

Page 7: Copy of Oracle Apps DBA Instant Solutions

BodyScapes

powered by

Visited Site..? FoundGood..?

Visited Site..? Found Good..?Completly Yes

Completely No

Partially Yes

Votes so far: 7Poll closed

4 (57%) 2 (28%) 1 (14%)

For R12: How To : How to enable Apache, OC4J and OPMN logging in Oracle ApplicationsR12 use Doc id [ID 419839.1]

0 comments Links to this post

Forms Servlet mode to Socket mode conversion on Release 12 Apps

How to convert Forms server to Socket mode from Servlet mode in Oracle Apps R12

Run the following command to enable Forms Socket Mode on Forms/web nodes (Placecorrect context file name and port value)

$FND_TOP/bin/txkrun.pl -script=ChangeFormsMode -contextfile=$CONTEXT_FILE-mode=socket -port=9030 -runautoconfig=No

Where port = forms port and contextfile=your environment contextfile

To Start/Stop/check Status of forms servers use following scripts

cd $ADMIN_SCRIPTS_HOME./adformsrvctl.sh status/stop/start

0 comments Links to this post

MSG-00102: Error Message :ORA-20100: File o0000071.tmp creation forFND_FILE failed.

Troubleshooting Details

If a PL/SQL Concurrent Program can't write to an external file, you will receive an errormessage similar to:

MSG-00102: Error Message :ORA-20100: File o0000071.tmp creation for FND_FILE failed.You will find more information on the cause of the error in request log.ORA-06512: at "APPS.FND_FILE", line 378ORA-06512: at "APPS.FND_FILE", line 473

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

7 of 47 8/31/2011 10:45 PM

Page 8: Copy of Oracle Apps DBA Instant Solutions

powered by

Slideshow

Mobile??

ORA-06512: at "APPS.AP_TRIAL_BALANCE_PKG", line 192REP-1419: 'beforereport': PL/SQL program aborted.

NOTE: Applications also produces temporary PL/SQL output files used in concurrentprocessing. These files are written to a location on the database server node specified bythe APPLPTMP environment setting. The APPLPTMP directory must be the same directory asspecified by the utl_file_dir parameter in your database initialization file..Rapid Install sets both APPLPTMP and the utl_file_dir parameter to the same defaultdirectory. As the temporary files placed in this directory may contain context sensitiveinformation, it should be a secure directory on the database server node with read andwrite access for the database server owner. In a multi-node system, the directory definedby APPLPTMP does not need to exist on the application tier servers. During an upgrade withAutoUpgrade, you must provide the utl_file_dir parameter value for the APPLPTMPenvironment setting.

To isolate where the problem is, verify the following:

1) Make sure that the name of the file is valid (the file name should not include characterslike "^")

2) Make sure that APPLPTMP is set to a valid directory and that BOTH the applmgr user andthe database user have read and write permissions on that directory (normally, it can be setto the same directory as APPLTMP)

3) Make sure that the file does not exit on the directory pointed by APPLPTMP

4) Make sure the directory pointed by APPLPTMP is the first entry on the utl_file_dir. Also,verify that all the entries on the utl_file_dir are valid and that the applmgr has read/writepermissions.

If using an spfile, verify the proper syntax to set utl_file_dir:

Eg: ALTER SYSTEM SET UTL_FILE_DIR='directory1','directory2' scope=spfile;

5) If still having problems, check if you can write a file directly using FND_FILE, which is thepackage used by the Application. From sqlplus, connected as the apps user, run:

SQL> exec FND_FILE.PUT_LINE(FND_FILE.LOG, 'THIS IS A TEST');

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

8 of 47 8/31/2011 10:45 PM

Page 9: Copy of Oracle Apps DBA Instant Solutions

Wanna own??.

Not Eye??

How is the Shoe??

Like it?

This should dump a file on APPLPTMP.

If this test works, it would indicate that FND_FILE is ok and the problem is possibly with theApplication.

You may want to leave only one entry on utl_file_dir for this test.

6) If still having problems, check if you can write a file using UTL_FILE, which is used byFND_FILE.

Run the PL/SQL below, changing to the first entry on utl_file_dir (you may want to leavejust one entry on utl_file_dir for this test).

set serveroutput onDECLARE file_location VARCHAR2(256) := ''; file_name VARCHAR2(256) := 'utlfile1.lst'; file_text VARCHAR2(256) := 'THIS IS A TEST'; file_id UTL_FILE.file_type;BEGIN file_id := UTL_FILE.fopen(file_Location, file_name, 'W'); UTL_FILE.put_line(file_id, file_text); UTL_FILE.fclose(file_id);EXCEPTION WHEN UTL_FILE.INVALID_PATH THEN dbms_output.put_line('Invalid path ' || SQLERRM); WHEN OTHERS THEN dbms_output.put_line('Others '|| SQLCODE || ' ' || SQLERRM);END;/

This program should dump a file on the requested directory. If the test fails, the problem isprobably on the Database side.

If it works, the problem is probably on FND_FILE. In this scenario, check the versions ofAFCPPIOS.pls and AFCPPIOB.pls.

Source : Troubleshooting ORA-20100 on Concurrent Processing [ID 261693.1](suppot.oracle.com)

0 comments Links to this post

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

9 of 47 8/31/2011 10:45 PM

Page 10: Copy of Oracle Apps DBA Instant Solutions

Happy Ness.

You want to?

Digg

Top News My News Settings

Obama: Bush put us in a hole566 Comments585

Federal Court Says You Can Recordthe Cops

51 Comments

481

Valve: DRM is Backwards and Piracyis Just Not an Issue for Us

86 Comments

420

How Bill O'Reilly Tried to Get HisWife's Boyfriend Investigated By theCops

68 Comments

367

Mermaid arrested out of water: DarylHannah handcuffed, arrested at White288

How to drop and recreate TEMP Tablespace in Oracle 9i/10g/11g

How to drop and recreate TEMP Tablespace in Oracle 9i/10g/11g

1. Create Temporary Tablespace Temp

CREATE TEMPORARY TABLESPACE TEMP2 TEMPFILE ‘/u01/app/oradata/temp01′ SIZE 2000M,‘/u01/app/oradata/temp02′ SIZE 2000M';

2. Move Default Database temp tablespace

ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp2;

3. Make sure No sessions are using your Old Temp tablespace

a. Find Session Number from V$SORT_USAGE: SELECT USERNAME, SESSION_NUM, SESSION_ADDR FROM V$SORT_USAGE;

b. Find Session ID from V$SESSION:

If the resultset contains any tows then your next step will be to find the SID from theV$SESSION view. You can find session id by using SESSION_NUM or SESSION_ADDR fromprevious resultset.

SELECT SID, SERIAL#, STATUS FROM V$SESSION WHERE SERIAL#=SESSION_NUM; OR SELECT SID, SERIAL#, STATUS FROM V$SESSION WHERE SADDR=SESSION_ADDR;

c. Kill Session:

Now kill the session with IMMEDIATE.

ALTER SYSTEM KILL 'SID,SERIAL#' IMMEDIATE;

4. Drop temp tablespace

DROP TABLESPACE temp INCLUDING CONTENTS AND DATAFILES;

5. Recreate Tablespace Temp

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

10 of 47 8/31/2011 10:45 PM

Page 11: Copy of Oracle Apps DBA Instant Solutions

CREATE TEMPORARY TABLESPACE TEMP TEMPFILE /u01/app/temp/temp01′ SIZE 2000M;

6 Move Tablespace Temp, back to new temp tablespace

ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;

7. Drop temporary for tablespace temp

DROP TABLESPACE temp2 INCLUDING CONTENTS AND DATAFILES;

No need to do shutdown when drop temp tablespace and the recreate it. If somethinghappen with temp tablespaces e.g. : crash, corrupt, etc. Oracle database will ignore theerror, but DML (insert,update,delete) and SELECT Query will suffer.

0 comments Links to this post

How to drop and recreate UNDO Tablespace in Oracle 9i/10g/11g

How to drop and recreate UNDO Tablespace in Oracle 9i/10g/11g?

Solution:

1. Determine the size of your undo tablespace

SQL> select sum(bytes)/1024/1024/1024 from dba_data_files wheretablespace_name='UNDOTBS1';

SUM(BYTES)/1024/1024/1024------------------------- 12.09375 2. Create a new undo tablespace of the same size (larger or smaller) depending on yourdatabase requirements.SQL> create undo tablespace UNDOTBS2 datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL2\UNDOTBS02.DBF' size 400M;

Tablespace created. 3. Edit your init.ora file and change the parameter "undo_tablespace=UNDOTBS2" so itpoints to the newly created tablespace. Change undo_tablespace=UNDOTBS2

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

11 of 47 8/31/2011 10:45 PM

Page 12: Copy of Oracle Apps DBA Instant Solutions

Change undo_management=MANUAL

Setting undo_management now ensures the old rollback segments can be taken offlineand avoids editing the pfile and restarting the instance again in Step 7. 4. Arrange a time when the database can be shutdown cleanly and perform a shutdownimmediate. 5. Startup the database6. Confirm the new tablespace is in use:

SQL> show parameter undo_tablespace

NAME TYPE VALUE ------------- ----------- ------------ undo_tablespace string UNDOTBS2 7. Check the status of the undo segments and determine if all the segments in the oldundo tablespace are offline. The segments in the new tablespace may also show offline. SQL>select owner, segment_name, tablespace_name, status from dba_rollback_segsorder by 3;

OWNER SEGMENT_NAME TABLESPACE_NAME STATUS ------ --------------------------- ------------------------------ ----------- PUBLIC _SYSSMU3$ UNDOTBS1 OFFLINE PUBLIC _SYSSMU2$ UNDOTBS1 OFFLINE PUBLIC _SYSSMU19$ UNDOTBS2 OFFLINE

....etc.

If the old segments are online, then they must be taken offline:

SQL>alter rollback segment "_SYSSMU3$" offline; SQL>alter rollback segment "_SYSSMU2$" offline;

This should be executed for all online rollback segments in the old tablespace.

8. Provided all the segments in the old undo tablespace are offline, you can now dropthe old undo tablespace: SQL>drop tablespace UNDOTBS1 including contents and datafiles;

Tablespace dropped.

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

12 of 47 8/31/2011 10:45 PM

Page 13: Copy of Oracle Apps DBA Instant Solutions

KudoSurf Me!

9. Edit your init.ora file do the following changes.

undo_management='AUTO' undo_tablespace='UNDOTBS2' 10. Shutdown the database (shutdown immediate) and restart it.

11. Monitor the alert log simultaneously during all steps.

Reference Metalink Note: [ID 431652.1]0 comments Links to this post

"Error Occurred While Attempting to Establish an Applications File ServerConnection"

Error:

" An error occurred while attempting to establish an Applications File Serverconnection. There may be a network configuration problem, or the TNS listener may notbe running on "Solutions to Check

1. Is this a Multinode Install or a Single Node Install.- If this is a Multinode Install, you will need access to the Middle Tier and the Backend Tier(Concurrent Processor) 8.0.6 ORACLE_HOME/network/admin/tnsnames.ora files

- If this is a Single Node Install, you need access to the Concurrent Processor 8.0.6ORACLE_HOME/network/admin/tnsnames.ora file

2. Run a report, is there actually a Report Output and Log file being produced at theOperating System level?- Check the $APPLCSF/out and the $APPLCSF/log directories for the Request_ID out and logfile- If there are no log and output file being produces there Check the permissions on thosedirectories (APPLMGR should have write)- If $APPLCSF is not set, check the $FND_TOP/log and out for output and logs

3. Confirm that there are 2 listener processes actively running for the Instance that youcannot view reports on -- 1 from 8.0.6 and from 8.1.6 directory structures

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

13 of 47 8/31/2011 10:45 PM

Page 14: Copy of Oracle Apps DBA Instant Solutions

- type the following:ps -ef | grep tnslsnr- If there is only 1 listener running from the 8.1.6 directory structureThat is the Database ListenerThe FNDFS listener needs to be started separately from the Database Listener- To start the FNDFS Listener:a. Log the Operating System Level as the APPLMGR account userb. Set the environment for the $APPL_TOP & 8.0.6 $ORACLE_HOME (APPSORA.env)c. Go to the $OAD_TOP/admin/scripts (Common_top area)d. Run the following script:

adalnctl.sh start APPS_SID

(you can confirm the FNDFS Listener name from viewing the 8.0.6 ORACLE_HOME/network/admin/listener.ora file)

4. Check the actual machine name for the Concurrent Processor Server- type the following:uname -n

5. Go to the Applications and check the CONCURRENT > MANAGER > ADMINISTER screen inthe System Administrator Responsibility The INTERNAL MANAGER NODE NAME; is it the sameas what was returned from question 4?- If it is the same then continue with next step- If it is not the same,Shutdown Concurrent Managers and update the FND table:a. Go to the $OAD_TOP/admin/scriptsb. adcmctl.sh apps/apps stopc. Connect to SQL*PLUS apps/apps

d. SQL > select target_node from FND_CONCURRENT_QUEUES;--------------------This may return the name of an old machine

e. SQL > update FND_CONCURRENT_QUEUES set target_node='' where target_node='';

f. SQL > commit;g. SQL > exith. adcmctl.sh apps/apps start

6. In the 8.0.6 TNSNAMES.ora file, look at the FNDFS_ connection string entry.

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

14 of 47 8/31/2011 10:45 PM

Page 15: Copy of Oracle Apps DBA Instant Solutions

Is the hostname value the same as is in questions 4?- The Rapid Install creates 2 or sometimes 3 FNDFS entries in the TNSNAMES.oraa. 1 with the FNDFS_b. 1 with the FNDFS_c. 1 with the FNDFS_- The one that is the correct entry is FNDFS_ (hostname being what is returned from a"uname -n")- If this file does not contain the correct Hostname valueMake a backup of it and edit it to change the FNDFS entry.

7. Check the Network Connection for the FNDFS entry that was defined by the Rapid Install.- At the Operating System Levela. tnsping FNDFS_- This should return the Hostname name and Port information identical to the FNDFS entryin the TNSNAMES.ora file

8. Check the Following PROFILE > SYSTEM Options in The System AdministratorResponsibility

CONCURRENT: Report Access Level (this must be set to USER or RESPONSIBILITY)RRA: Service Prefix (this should be BLANK)RRA: Enabled (this must be set to YES)VIEWER: Text (this should be BLANK to view with the default text viewer)- Viewer: Text can Be set to "browser" to view with Netscape or IE

9. This step should be performed in a case where there might have been patches appliedand possibly the FNDFS executable was not Relinked, or it may be missing from the filesystem or corrupted.- Shutdown the FNDFS Listenera. $OAD_TOP/admin/scripts/adalnctl.sh stop APPS_SID- Rename or Move the Current FNDFS executable before relinkinga. $FND_TOP/binmv FNDFS FNDFS.bakb. As APPLMGR account useradrelink.sh force=y "fnd FNDFS"- Start the FNDFS Listenera. $OAD_TOP/admin/scripts/adalnctl.sh start APPS_SID

Metalink Note : ID 117012.10 comments Links to this post

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

15 of 47 8/31/2011 10:45 PM

Page 16: Copy of Oracle Apps DBA Instant Solutions

Backup verification Statements/Steps

sqlplus "/as sysdba"

startup mount;

prompt The following should return zero rows

select count(*) from v$recover_file;select count(*) from v$recovery_log;select count(*) from v$recovery_status;select count(*) from v$recovery_file_status;select name,status from v$datafile where (name like '%MISS%' or status not in ('ONLINE','SYSTEM'))/

select count(*) from v$backup where status != 'NOT ACTIVE' ;

col checkpoint_change# format 999999999999999

prompt The following should return one distinct number

Select distinct checkpoint_change# from v$datafile ;

select distinct to_char(CHECKPOINT_TIME,'DD-MON-YYYY HH24:MI:SS') fromv$datafile_header;

prompt This should return "0" and "8192" as output

select distinct fhsta from x$kcvfh;1 comments Links to this post

Oracle Inventory Creationg/Attach/Dettach/Clone/Relink Code tree

1. Point the inventory to correct location

Make sure the file ./etc/oraInst.loc., ./var/opt/oracle/oraInst.loc. &$ORACLE_HOME/oraInst.loc. has the following entries. If not modify the file and save.

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

16 of 47 8/31/2011 10:45 PM

Page 17: Copy of Oracle Apps DBA Instant Solutions

inventory_loc=/oracle/product/oraInventoryinst_group=dba

2. Clone the code tree

+ cd $ORACLE_HOME/oui/bin+ ./runInstaller -silent -clone -invPtrLoc $ORACLE_HOME/oraInst.loc -ignorePreReq ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=Ora10204_TESTORACLE_HOST_NAME=test-01

!!! Please wait until the command is successful. Do not interrupt. !!!Please check for .cloning is successful. message and will display message to run.root.sh.. Sometime it may wait for you see this message. Press .enter. to getthe .command prompt..

Run the following ,+ cp /oracle/product/10.2.0.4//root.sh /oracle/product/10.2.0.4

+sudo /oracle/product/10.2.0.4//root.sh

Accept the default options for the prompts and location of the files.

3. Detach the code tree from oracle central inventory

+ cd $ORACLE_HOME/oui/bin+./runInstaller -silent -detachHome -local -noClusterEnabled -invPtrLoc$ORACLE_HOME/oraInst.loc -ignorePreReq ORACLE_HOME=$ORACLE_HOMEORACLE_HOME_NAME=Ora10204_TEST

4. Attach the code tree to oracle central inventory . This will add correct host to theinventory

+ cd $ORACLE_HOME/oui/bin+./runInstaller -silent -attachHome -local -noClusterEnabled -invPtrLoc$ORACLE_HOME/oraInst.loc -ignorePreReq ORACLE_HOME=$ORACLE_HOMEORACLE_HOME_NAME=Ora10204_TEST CLUSTER_NODES=test-01

5. Relink the code tree

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

17 of 47 8/31/2011 10:45 PM

Page 18: Copy of Oracle Apps DBA Instant Solutions

find . -type l -exec ls -l {} \; | grep -i [oldsid] | awk '{print "rm -f "$9";ln -s "$11" "$9}' execute the above command to check any softlinks are pointing to the old env. If yes thenedit the output of the above command and run them.Then,oraenv ( enter SID at the prompt ). Check the above variables are set.Make sure correct values are set for ORACLE_HOME, PATH & LD_LIBRARY_PATHMake sure .SHLIB_PATH. variable is NOT set.+ cd $ORACLE_HOME/bin+ relink all

1 comments Links to this post

FAQs - How do we know how many users are connected to OracleApplications.

FAQs - How do we know how many users are connected to Oracle Applications.

1. Enable Profile Option "Sign-On Audit" at "Form" level.2. Run "Purge Signon Audit" request.3. Security:Users -> Monitor" option4 or with the below sql query mentioned below.

select distinct fu.user_name User_Name,fr.RESPONSIBILITY_KEY Responsibilityfrom fnd_user fu, fnd_responsibility fr, icx_sessions icwhere fu.user_id = ic.user_id ANDfr.responsibility_id = ic.responsibility_id ANDic.disabled_flag='N' ANDic.responsibility_id is not null ANDic.last_connect like sysdate;

5. Can use this SQL statement to count concurrent_users in Oracle apps:

select count(distinct d.user_name) from apps.fnd_logins a,v$session b, v$process c, apps.fnd_user dwhere b.paddr = c.addrand a.pid=c.pidand a.spid = b.processand d.user_id = a.user_idand (d.user_name = 'USER_NAME' OR 1=1)

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

18 of 47 8/31/2011 10:45 PM

Page 19: Copy of Oracle Apps DBA Instant Solutions

0 comments Links to this post

DMT v/s LMT

Difference between Dictionary managed tablespace (DMT) and Locally managedtablespace (LMT)

Introduction:The CREATE TABLESPACE command has a new clause introduced in Oracle8i, the "extentmanagement clause", that specifies how the extents of the tablespace are managed. Thisclause uses one of the following parameters:

- DICTIONARY:Specifies that the tablespace is managed using dictionary tables. This is the default inOracle8i.

- LOCAL:Specifies that tablespace is locally managed. This is the default in . Exception forthe SYSTEM tablespace

Locally Managed Tablespaces:A tablespace that manages its own extents maintains a bitmap in each datafile to keeptrack of the free or used status of blocks in that datafile. Each bit in the bitmapcorresponds to a group of blocks. When an extent is allocated or freed for reuse, Oraclechanges the bitmap values to show the new status of the blocks. These changes do notgenerate rollback information because they do not update tables (like sys.uet$, sys.fet$) inthe data dictionary (except for special cases such as tablespace quota information).

When you create a locally managed tablespace, header bitmaps are created for eachdatafile. If more datafiles are added, new header bitmaps are created for each added file.

Local management of extents automatically tracks adjacent , eliminating the needto coalesce free extents. The sizes of extents that are managed locally can be determinedautomatically by the . Alternatively, all extents can have the same size in a locallymanaged tablespace.

Dictionary Managed Tablespaces:In DMT, to keep track of the free or used status of blocks, oracle uses data dictionry tables.

Oracle9i

free space

system

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

19 of 47 8/31/2011 10:45 PM

Page 20: Copy of Oracle Apps DBA Instant Solutions

When an extent is allocated or freed for reuse, free space is recorded in the SYS.FET$table, and used space in the SYS.UET$ table. Whenever space is required in one of thesetablespaces, the ST (space transaction) enqueue latch must be obtained to do inserts anddeletes agianst these tables. As only one process can acquire the ST enque at a given time,this often lead to contention. These changes generate rollback information because theyupdate tables (like sys.uet$, sys.fet$) in the data dictionary.

Advantages of Locally Managed Tablespaces(LMT) over Dictionary ManagedTablespaces(DMT):

1. Reduced recursive space management2. Reduced contention on data dictionary tables3. No rollback generated4. No coalescing required

Converting DMT to LMT:

SQL> execdbms_space_admin.Tablespace_Migrate_TO_Local('ts1');PL/SQL procedure successfully completed.

Converting LMT to DMT:

SQL> execdbms_space_admin.Tablespace_Migrate_FROM_Local('ts2');PL/SQL procedure successfully completed.

Important Points:1. LMTs can be created asa) AUTOALLOCATE: specifies that the tablespace is system managed. Users cannot specifyan extent size.b) UNIFORM: specifies that the tablespace is managed with uniform extents of SIZE bytes.The default SIZE is 1 megabyte.2. One cannot create a locally managed SYSTEM tablespace in 8i.3. This is possible with in 9.2.0.X, where SYSTEM tablespace is created by DBCA as locallymanaged by default. With a locally managed SYSTEM tablespace, the rest of the tablespacesin such

have to be locally managed as well.4. Locally managed temporary tablespaces can not be of type "permanent".

database

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

20 of 47 8/31/2011 10:45 PM

Page 21: Copy of Oracle Apps DBA Instant Solutions

Source : dbapool.com

0 comments Links to this post

ORACLE RAC ON/RAC OFF

Oracle's RAC: ON and OFF

In some cases, you may want to disable the RAC options for testing purposes -- perhaps torun a benchmark or convert the RAC binaries to single instance binaries. In such a case, youcan use the following procedure to convert the RAC installation to non-RAC. Disabling andenabling RAC options are available only for UNIX platforms. Windows installations do notsupport relinking binaries with RAC ON and OFF.

Use the following steps to disable RAC (known as RAC OFF):

1. Log in as the Oracle software owner (which is typically the UNIX account oracle) in allnodes.2. Shut down all the instances from all the nodes using a NORMAL or IMMEDIATE option.3. Change the working directory to $ORACLE_HOME/lib: cd $ORACLE_HOME/lib4. Run the following make command to relink the Oracle binaries without the RAC option:make -f ins_rdbms.mk rac_off

This normally runs for few minutes and should not pose any errors.5. . Now relink the Oracle binaries: make -f ins_rdbms.mk ioracle

Now the Oracle binaries are relinked with the RAC OFF option. You may have to edit theinit.ora or SPFILE parameters accordingly. If errors occur in step 4, you may need to contactOracle Support and log a service request with the trace and log files.

Use the following steps to enable RAC (known as RAC ON):

1. Log in as the Oracle software owner (typically the UNIX account oracle) in all nodes.2. Shut down all the instances from all the nodes using a NORMAL or IMMEDIATE option.3. Change the working directory to $ORACLE_HOME/lib:4. cd $ORACLE_HOME/lib Run the following make command to relink the Oracle binarieswithout the RAC option:make -f ins_rdbms.mk rac_on

This normally runs for a few minutes and should not pose any errors.

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

21 of 47 8/31/2011 10:45 PM

Page 22: Copy of Oracle Apps DBA Instant Solutions

5. Now relink the Oracle binaries:make -f ins_rdbms.mk ioracle

Now the Oracle binaries are relinked with the RAC ON option. You may need to edit theinit.ora or SPFILE parameters accordingly. If any errors occur in step 4, you may need tocontact Oracle Support and log a service request with the trace and log files.

1 comments Links to this post

Tracing in Oracle 10g

Trace in Oracle 10g

SQL> EXEC DBMS_MONITOR.session_trace_enable;SQL> EXEC DBMS_MONITOR.session_trace_enable(waits=>TRUE, binds=>FALSE);SQL> EXEC DBMS_MONITOR.session_trace_disable;

SQL> EXEC DBMS_MONITOR.session_trace_enable(session_id=>1234, serial_num=>1234);SQL> EXEC DBMS_MONITOR.session_trace_enable(session_id =>1234, serial_num=>1234,waits=>TRUE, binds=>FALSE);SQL> EXEC DBMS_MONITOR.session_trace_disable(session_id=>1234, serial_num=>1234);

SQL> EXEC DBMS_MONITOR.client_id_trace_enable(client_id=>'tim_hall');SQL> EXEC DBMS_MONITOR.client_id_trace_enable(client_id=>'tim_hall', waits=>TRUE,binds=>FALSE);SQL> EXEC DBMS_MONITOR.client_id_trace_disable(client_id=>'tim_hall');

SQL> EXEC DBMS_MONITOR.serv_mod_act_trace_enable(service_name=>'db10g',module_name=>'test_api', action_name=>'running');SQL> EXEC DBMS_MONITOR.serv_mod_act_trace_enable(service_name=>'db10g',module_name=>'test_api', action_name=>'running', -> waits=>TRUE, binds=>FALSE);SQL> EXEC DBMS_MONITOR.serv_mod_act_trace_disable(service_name=>'db10g',module_name=>'test_api', action_name=>'running');

0 comments Links to this post

Updated Metalink Notes

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

22 of 47 8/31/2011 10:45 PM

Page 23: Copy of Oracle Apps DBA Instant Solutions

Updated Metalink Note:

NOTE.74660.1 : Resolving Invalid Objects in Oracle ApplicationsNOTE.338879.1 : Landscape1309 - Linux Landscape Quick ReferenceNOTE.341782.1 : Linux Quick ReferenceNOTE.312572.1 : About Oracle Applications Technology Updates for Release 11.NOTE.316806.1 : Oracle Applications Installation Update Notes, Release 11iNOTE.370274.1 : New Features in Oracle Application 11iNOTE.275734.1 : India LocalizationNOTE.47837.1 : Applications Utilities FAQNOTE.189487.1 : System Administration FAQ'sNOTE.289786.1 : Installing Oracle Applications: A Guide to Using RapidNOTE.245079.1 : Steps to clone a 11i RAC environment to a non-RACNOTE.243693.1 : Rapid Clone Coredumps when Running Adcfgclone.plNOTE.231701.1 : How to Find Patching History (10.7, 11.0, 11i)NOTE.139684.1 : Oracle Applications Current Patchset Comparison Utility -NOTE.331746.1 : Oracle Accelerator FAQ for Global Product Support (InternalNOTE.144751.1 : Applications Patching - Time Saving TechniquesNOTE.232833.1 : Oracle Applications Release Notes, Release 11i (11.5.9)NOTE.110372.1 : 11i: How to Clean up the UNIX Environment After InstallNOTE.156219.1 : Net8i/9i Basic configuration of LISTENER.ORA and TNSNAMES.NOTE.69725.1 : Configuring TNSNAMES.ORA, SQLNET.ORA,and LISTENER.ORA inNOTE.356878.1 : How to relink the whole Applications 11i InstallationNOTE.233428.1 : Sharing the Application Tier File System in OracleNOTE.130686.1 : How to Generate Form, Library and Menu for OracleNOTE.246105.1 : Upgrading to J2SE 1.4.2 with Oracle Applications 11iNOTE.139949.1 : NEED TO CLEAR APACHE, BROWSER OR JINITIATOR CACHE FORNOTE.133972.1 : How to Reset the APPS and APPLSYS Passwords in Release 11.5NOTE.216980.1 : FNDLOAD Fails with PLS-306 in call to LOAD_ROWNOTE.333785.1 : Oracle Applications Internationalization GuideNOTE.222663.1 : Internationalization Update Notes for the Oracle E-Business Suite 11iNOTE.372952.1 : Customer TranslationsNOTE.168330.1 : Reload Applications Related Java ObjectsNOTE.287176.1 : DMZ Configuration with Oracle E-Business Suite 11iNOTE.233436.1 : Installing Oracle Application Server 10g with Oracle E-NOTE.231701.1 : How to Find Patching History (10.7, 11.0, 11i)NOTE.139684.1 : Oracle Applications Current Patchset Comparison Utility -NOTE.238276.1 : Migrating to Linux with Oracle Applications Release 11iNOTE.242480.1 : Using a Staged Applications 11i System to Reduce PatchingNOTE.1076329.6 : SQL*Plus Errors - SP1.MSB Not FoundNOTE.248857.1 : Oracle Applications Tablespace Model Release 11i -

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

23 of 47 8/31/2011 10:45 PM

Page 24: Copy of Oracle Apps DBA Instant Solutions

NOTE.269293.1 : Oracle Applications Tablespace Model FAQsNOTE.258330.1 : About Oracle Applications Manager Minipack 11i.OAM.HNOTE.268837.1 : Gathering Debug Weboam LogNOTE.342332.1 : Troubleshooting Login Problems in Oracle Applications 11iNOTE.112577.1 : How to customize reports at runtime using XML - simpleNOTE.144689.1 : How to Generate a Report (.rdf) File from the UNIX CommandNOTE.211424.1 : How to Enable a Large SGA(over 1.7GB) on RedHat AdvancedNOTE.345145.1 : Is There A Way To Automate The Prompts For Adcfgclone.Pl?NOTE.1812.1 : TECH : Getting a Stack Trace from a CORE fileNOTE.144599.1 : How to Generate a .pll Library File for Applications 11iNOTE.282038.1 : Oracle Applications Release 11i with Oracle Database 10gNOTE.208375.1 : How To Convert A Single Instance Database To RAC In ANOTE.279956.1 : Oracle E-Business Suite Release 11i with 9i RAC :NOTE.312731.1 : Configuring Oracle Applications Release 11i with 10g RACNOTE.362135.1 : Configuring Oracle Applications Release 11i with 10g R2 RACNOTE.1067473.6 : Custom Forms do not Show up in FNDSCMON FormNOTE.232834.1 : Oracle Applications Release 11.5.9 Maintenance PackNOTE.216550.1 : Oracle Applications Release 11i with Oracle9i Release 2 (9.NOTE.362203.1 : Oracle Applications Release 11i with Oracle 10g Release 2 (10.2.0)NOTE.233038.1 : AD Command Line OptionsNOTE.186125.1 : Applications 11i and Standby DatabasesNOTE.260887.1 : Steps to Clean Nonexistent Nodes or IP Addresses fromNOTE.342459.1 : Diagnostics OverviewNOTE.394615.1 : Adaddnode.Pl failed with : ORA-00001 : unique constraintNOTE.338003.1 : How to change the hostname and/or port of the Database TierNOTE.341322.1 : How to change the hostname of an Applications Tier using AutoConfigNOTE.333785.1 : Oracle Applications Internationalization GuideNOTE.211708.1 : Detailed Explanations of How NLS/MLS is Being Handled in 11iNOTE.73352.1 : NLS/MLS Frequently Asked QuestionsNOTE.72324.1 : Guidelines on Resolving NLS/MLS issuesNOTE.316365.1 : Oracle Applications Release 11.5.10.2 Maintenance PackNOTE.230627.1 : 9i Export/Import Process for Oracle Applications Release 11iNOTE.331221.1 : 10g Export/Import Process for Oracle Applications Release 11iNOTE.362205.1 : 10g Release 2 Export/Import Process for Oracle Applications Release 11iNOTE.259552.1 : 11.5.9 Category 3 Preupgrade Instructions for 9.2.0.4NOTE.341281.1 : How to disable the language selection option available inAppsLocalLogin.jspNOTE.389472.1 : OATM Migration fails with ORA-22853 for LOB objectsNOTE.174605.1 : bde_chk_cbo.sql - Reports Database InitializationNOTE.333785.1 : Oracle Applications Internationalization GuideNOTE.124721.1 : Migrating an Applications Installation to a New Character

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

24 of 47 8/31/2011 10:45 PM

Page 25: Copy of Oracle Apps DBA Instant Solutions

NOTE.66320.1 : Changing the Database Character Set or the DatabaseNOTE.119164.1 : Changing Database Character Set - Valid Superset DefinitionsNOTE.123670.1 : Use Scanner Utility before Altering the Database CharacterNOTE.213015.1 : SYS.METASTYLESHEET marked as having convertible data (ORA-NOTE.258895.1 : SYS.RULE$ marked as having convertible data (ORA-12716 whenNOTE.258902.1 : SYS.JOB$ marked as having convertible dataNOTE.43208.1 : Certified CompilersNOTE.270806.1 : 11.5.9 : Invalid Objects - IES Java ClassesNOTE.165114.1 : Resolving Invalid Java Classes in Oracle ApplicationsNOTE.343253.1 : Tns-12555, Tns-12560, Tns-00525, Linux Error : 1 StartingNOTE.150168.1 : Obtaining Forms Runtime Diagnostics (FRD) In OracleNOTE.210193.1 : Use of Multiple Organizations In Oracle ApplicationsNOTE.165035.1 : Current Issues - Multiple Organizations ArchitectureNOTE.208267.1 : Improved Convert to Multi-Org Process In OracleNOTE.226456.1 : Multiple Organizations in Oracle Applications R11i, MarchNOTE.259546.1 : Setting Up Multiple Organizations in Oracle HRMSNOTE.131081.1 : How can I find which version of Portal I am running ?NOTE.262125.1 : Sun.io.MalformedInputException For OraSCV.asc,emreadme.txt,NOTE.216205.1 : Database Initialization Parameters for Oracle ApplicationsNOTE.213015.1 : SYS.METASTYLESHEET marked as having convertible data (ORA-NOTE.283225.1 : How to Recreate the Listener for Event and Listener forNOTE.153960.1 : FAQ : X Server testing and troubleshootingNOTE.146468.1 : Installing and Upgrading Oracle9i Application Server withNOTE.233428.1 : Sharing the Application Tier File System in OracleNOTE.351283.1 : Interoperability Notes : Oracle Applications Release 11iNOTE.287453.1 : Oracle Applications 11.5.10 - Installation Update Notes forNOTE.317226.1 : Concurrent Managers Do Not Start With GSM Profile OptionNOTE.311015.1 : Adgendbc.sh Errors Running AutoConfigNOTE.337937.1 : Step By Step - 10gR2 RAC with ASM install on Linux(x86) -NOTE.266043.1 : Support of Linux and Oracle Products on LinuxNOTE.224302.1 : Raw Devices on LinuxNOTE.134395.1 : Cannot Connect to Personal Home Page : Your Session is noNOTE.351646.1 : Configuring Oracle E-Business Suite Release 11i with 10gNOTE.230688.1 : Basic ApacheJServ Troubleshooting with IsItWorking.classNOTE.70276.1 : HOW TO INTEGRATE APPLICATIONS RELEASE 11 WITH CUSTOMNOTE.273449.1 : Diagnosing Login Problems with Apps 11.5.9 (FND.G)NOTE.139863.1 : Configuring and Troubleshooting the Self Service FrameworkNOTE.342332.1 : Troubleshooting Login Problems in Oracle Applications 11iNOTE.233428.1 : Sharing the Application Tier File System in OracleNOTE.252422.1 : Requesting Translation Synchronization PatchesNOTE.287176.1 : DMZ Configuration with Oracle E-Business Suite 11i

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

25 of 47 8/31/2011 10:45 PM

Page 26: Copy of Oracle Apps DBA Instant Solutions

NOTE.68713.1 : Troubleshooting Self-Service Web Applications LoginNOTE.304489.1 : Using Oracle Applications with a Split ConfigurationNOTE.225074.1 : 11i AOL : Cannot login to PHP after DB upgrade to 9.2.0.2NOTE.358140.1 : Troubleshooting Unix coredumps and obtaining stack tracesNOTE.1007808.6 : HOW TO HANDLE CORE DUMPS ON UNIXNOTE.1812.1 :NOTE.169706.1 : Oracle Database on AIX,HP-UX,Linux,MacOSX,Solaris,Tru64NOTE.197031.1 : 32-bit/64-bit Certification/Conversion Issues on OracleNOTE.300172.1 : Obsolescence of KOREAN_LEXER Lexer TypeNOTE.225456.1 : Troubleshooting Guide for Cloning IssuesNOTE.161474.1 : Oracle Applications Remote Diagnostics Agent (APPS_RDA)NOTE.111383.1 : The Basics About Report Review Agent (FNDFS) on 11iNOTE.210062.1 : Generic Service Management (GSM) in Oracle Applications 11iNOTE.316447.1 : About Oracle XML Publisher Release 5.5NOTE.295036.1 : About XML Publisher Release 5.0NOTE.130091.1 : Upgrading Oracle Applications 11i to use JDK 1.3NOTE.292424.1 : Cleaning your Windows System After a Failed OracleNOTE.124606.1 : Upgrading JInitiator with Oracle Applications 11iNOTE.316806.1 : Oracle Applications Installation Update Notes, Release 11iNOTE.177183.1 : Succesfully Installing NLS/MLS in 11iNOTE.134007.1 : CMCLEAN.SQL - Non Destructive Script to Clean Concurrent Manager TablesNOTE.1010501.7 : FAQ : Licensing and de-licensing a product, country-specificNOTE.217368.1 : Advanced Configurations and Topologies for EnterpriseNOTE.287176.1 : DMZ Configuration with Oracle E-Business Suite 11iNOTE.302738.1 : Using Virtual Hostnames with Oracle Applications Release 11iNOTE.403311.1 : United States Time Zone Changes 2007 : E-Business SuiteNOTE.333785.1 : Oracle Applications Internationalization GuideNOTE.232313.1 : Information on Previous Versions of Developer 6i PatchsetsNOTE.240862.1 : Install Oracle Unicode Fonts for Dynamic Image GenerationNOTE.60966.1 : Getting Rid Of Those Pesky Invalid Objects In OracleNOTE.400830.1 : How to Render Non ASCII Characters in PersonalizedNOTE.285218.1 : Recommended Browsers for Oracle Applications 11iNOTE.403311.1 : United States & Canada 2007 Daylight Saving Time (DST)NOTE.289788.1 : Upgrading Oracle ApplicationsNOTE.316804.1 : Oracle Applications NLS Release Notes, Release 11i (11.5.10.NOTE.189867.1 : Troubleshooting FRM-92050, FRM-92100, FRM-92101, FRM-92102NOTE.253763.1 : After Cloning on Target instance FRM-92050 Failed toNOTE.274783.1 :

Amol's Bookmark*********************************************************************

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

26 of 47 8/31/2011 10:45 PM

Page 27: Copy of Oracle Apps DBA Instant Solutions

NOTE.167000.1 : eBusiness Suite Support - Oracle Diagnostics Support PackNOTE.235307.1 : OSS Application Diagnostics Tools : FAQ and TroubleshootingNOTE.231142.1 : About Oracle Diagnostics version 2.1NOTE.262006.1 : About Oracle Diagnostics 2.2NOTE.300976.1 : Support Diagnostics Newsletter for Applications CoreNOTE.357223.1 : "This test can be executed only after logging intoNOTE.363759.1 : How To Add Diagnostic Tools To Responsibility Menu

Installation*********

NOTE.215868.1 : 11i Release NotesNOTE.77219.1 : Applications Release 11.0.3 One-Hour Install for UnixNOTE.287453.1 : Oracle Applications 11.5.10 - Installation Update Notes forNOTE.292424.1 : Cleaning your Windows System After a Failed OracleNOTE.110372.1 : 11i : How to Clean up the UNIX Environment After InstallNOTE.169402.1 : How To Cleanup After A Failed Applications Installation OnNOTE.48602.1 : How do I determine which products are fully installed, andNOTE.124353.1 : WIN : Manually Removing all Oracle Components on MicrosoftNOTE.275493.1 : Removing 10g Database and Software from AIX, HP-UX, Linux,NOTE.279519.1 : How to completely remove 8i / 9i Database and Software fromNOTE.232831.1. : Oracle Applications NLS Release Notes 11.5.9 - B10846-01NOTE.287453.1 : Oracle Applications 11.5.10 - Installation Update Notes forNOTE.187240.1 : Applications AOL Scenarios : Is It Supported ?NOTE.287453.1 : Oracle Applications 11.5.10 - Installation Update Notes forNOTE.316806.1 : Oracle Applications Installation Update Notes, Rel 11.5.10.2NOTE.360079.1 : Global and Local Inventory explainedNOTE.295185.1 : How to Recreate the Global oraInventoryNOTE.197028.1 : Software Requirements and Tools for Oracle ApplicationsNOTE.201392.1 : Visual C++ Requirement for Release 11i on WindowsNOTE.268776.1 : GNU Make Requirement for Release 11i For WindowsNOTE.181244.1 : Configuring VNC Or XVFB As The X Server For Applications 11iNOTE.153960.1 : FAQ : X Server testing and troubleshooting

Patching*******

NOTE.174436.1 : Oracle Applications Patching FAQNOTE.175485.1 : How to Apply an 11i Patch When adpatch is Already RunningNOTE.231701.1 : How to Find Patching History (10.7, 11.0, 11i)NOTE.252422.1 : Requesting Translation Synchronization Patches in Release

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

27 of 47 8/31/2011 10:45 PM

Page 28: Copy of Oracle Apps DBA Instant Solutions

NOTE.316366.1 : 11.5.10 Oracle E-Business Suite Consolidated Update 2 (CU2)NOTE.259484.1 : Release 11.5.10 Maintenance Pack Installation InstructionsNOTE.316365.1 : Oracle Applications Release 11.5.10.2 Maintenance PackNOTE.139684.1 : Oracle Applications Current Patchset Comparison Utility -NOTE.181665.1 : Release 11i Adpatch BasicsNOTE.358247.1 : ORA-00001 : unique constraint violated error while applyingNOTE.358417.1 : Unable to Start Concurrent Managers After Applying 11i.NOTE.353414.1 : Application Technology Group (ATG) Patching PolicyNOTE.359198.1 : XDF files fail to load on HP-UX, Memory Fault(Coredump)NOTE.232834.1 : Oracle Applications Release 11.5.9 Maintenance PackNOTE.337274.1 : About Oracle Applications Technology 11i.ATG_PF.H Rollup 3NOTE.244040.1 : Oracle E-Business Suite Recommended Performance PatchesNOTE.367756.1 : Uploading Java Objects To Patch History Tables Fails WhileNOTE.76708.1 : Using ADSPLICE To Add Products To The APPL_TOP In

Cloning******

NOTE.230672.1 : Cloning Oracle Applications Release 11i with Rapid CloneNOTE.216664.1 : FAQ : Cloning Oracle Applications Release 11iNOTE.242123.1 : Create new middle tier node in existing Apps 11iNOTE.238276.1 : Migrating to Linux with Oracle Applications Release 11iNOTE.364565.1 : Troubleshoot RapidClone or OAM Clone issues

Upgrade*******

NOTE.200963.1 : R11.5.3/R11.5.4/R11.5.5 Upgrade And Install IssuesNOTE.289765.1 : Oracle Applications Release 11i (11.5.10) Upgrade AssistantNOTE.289788.1 : Upgrading Oracle Applications

Autoconfig**********

NOTE.165195.1 : Using AutoConfig to Manage System Configurations withNOTE.218089.1 : Autoconfig FAQNOTE.270519.1 : Customizing an AutoConfig EnvironmentNOTE.260887.1 : Steps to Clean Nonexistent Nodes or IP Addresses fromNOTE.341322.1 : How to change the hostname of an Applications Tier usingNOTE.338003.1 : How to change the hostname and/or port of the Database TierNOTE.108865.1 : How To Create a Database Connection(DBC) File and

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

28 of 47 8/31/2011 10:45 PM

Page 29: Copy of Oracle Apps DBA Instant Solutions

AD Utilities**********

NOTE.233038.1 : AD Command Line Options

Relinking********

NOTE.69798.1 : Basics of Relinking an Executable or Binary in an OracleNOTE.1009722.6 : How to relink Oracle Concurrent Program Executables on Unix

OAM****

NOTE.210062.1 : Generic Service Management (GSM) in Oracle Applications 11iNOTE.117264.1 : FAQ (Oracle Applications Manager)NOTE.177089.1 : OAM11i Standalone Mode Setup and ConfigurationNOTE.214962.1 : How To Determine The Version Of OAM (Oracle ApplicationNOTE.258330.1 : About Oracle Applications Manager Minipack 11i.OAM.HNOTE.166115.1 : Oracle Applications Manager 11i integrated with OracleNOTE.185431.1 : Troubleshooting Oracle Applications Manager OAM 2.0 for 11iNOTE.73959.1 : Installation and Configuration of Oracle Application ManagerNOTE.225024.1 : Oracle Applications Manager 11i Documentation RoadmapNOTE.338317.1 : Basic Information on Cloning An 11.5.10 System Using OAM

NLS/MLS*******

NOTE.15389.1 : NLS DEBUGGING SUCCESS GUIDE ** INTERNAL ONLY **NOTE.227332.1 : NLS considerations in Import/Export - Frequently AskedNOTE.15095.1 : Export/Import and NLS ConsiderationsNOTE.175300.1 : A Guide to Debugging Globalization (NLS) Support IssuesNOTE.124721.1 : Migrating an Applications Installation to a New Character

Forms*****

NOTE.130686.1 : How to Generate Form, Library and Menu for OracleNOTE.177610.1 : Oracle Forms in Applications FAQNOTE.141012.1 : How to Manually Generate an 11.5 Form on Unix

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

29 of 47 8/31/2011 10:45 PM

Page 30: Copy of Oracle Apps DBA Instant Solutions

Apps Database*************

NOTE.174605.1 : bde_chk_cbo.sql - Reports Database InitializationNOTE.186125.1 : Applications 11i and Standby DatabasesNOTE.248857.1 : Oracle Applications Tablespace Model Release 11i -NOTE.216205.1 : Database Initialization Parameters for Oracle ApplicationsNOTE.285267.1 : Oracle E-Business Suite 11i and Database FAQNOTE.230627.1 : 9i Export/Import Process for Oracle Applications Release 11iNOTE.183078.1 : Recreating Applications 11i JAVA objects in the databaseNOTE.216212.1 : Business Continuity for Oracle Applications Release 11i,NOTE.282038.1 : Oracle Applications Release 11i with Oracle Database 10gNOTE.340859.1 : Upgrading Oracle Applications 11i Database to 10g withNOTE.174605.1 : bde_chk_cbo.sql - Reports Database InitializationNOTE.216211.1. : Nologging in the E-Business SuiteNOTE.282038.1 : Oracle Applications Release 11i with Oracle Database 10g

RAC / Apps RAC**************

NOTE.220970.1 : RAC : Frequently Asked QuestionsNOTE.312731.1 : Configuring Oracle Applications Release 11i with 10g RACNOTE.270901.1 : How to Dynamically Add a New Node to an Existing 9.2.0 RACNOTE.294652.1 : E-Business Suite 11i on RAC : Configuring Database Load balancing &FailoverNOTE.312731.1 : Configuring Oracle Applications Release 11i with 10g RACNOTE.279956.1 : Oracle E-Business Suite Release 11i with 9i RAC :NOTE.277825.1 : How to setup Tnsnames.ora (806) for 11i and RAC

Database********

NOTE.1012933.6 : General Information : Alert Logs and Trace FilesNOTE.209870.1 : How to Reload the JVM in 9.2.0.XNOTE.175472.1 : How to Reload the JVM in 8.1.7.XNOTE.159143.1 : Separating Multiple 8i or 9i Oracle Versions to AvoidNOTE.307349.1 : OUI tips for Oracle RDBMS 10.1.X on OpenVMSNOTE.130814.1 : How to move LOB Data to Another Tablespace

System Administration

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

30 of 47 8/31/2011 10:45 PM

Page 31: Copy of Oracle Apps DBA Instant Solutions

*******************

NOTE.189457.1 : Oracle Applications Systems Administration Setup and UsageNOTE.290525.1 : Oracle User Management FAQNOTE.316277.1 : Unable To Change Guest User Password In Oracle ApplicationsNOTE.311552.1 : How to optimize the purge process in a high transactionNOTE.154850.1 : How to Run the Purge Concurrent Request and/or Manager Data

Jserver******

NOTE.295484.1 : Clear Server Cache and Bounce Apache (Web Server)NOTE.220188.1 : Oracle Applications Release 11i apps.zip Re-architectNOTE.230688.1 : Basic ApacheJServ Troubleshooting with IsItWorking.class

Invalid Objects*************

NOTE.60558.1 : Troubleshooting the Source of Invalid ObjectsNOTE.266910.1 : How To Resolve IES Invalid Java Classes After Loading JARNOTE.113947.1 : Step by Step Troubleshooting Guide to Solve APPS InvalidUNIX / LINUX / WINDOWS=======================NOTE.1007808.6 : HOW TO HANDLE CORE DUMPS ON UNIXNOTE.1812.1 : TECH : Getting a Stack Trace from a CORE fileNOTE.28588.1 : TECH : Using Truss / Trace on UnixAdvanced Configuration:======================NOTE.217368.1 : Advanced Configurations and Topologies for EnterpriseNOTE.226880.1 : Configuration of Load Balancing and Transparent ApplicationNOTE.97926.1 : Failover Issues and Limitations [Connect-time failover andNOTE.123718.1 : 11i : A Guide to Understanding and Implementing SSL forTechstack:=========

NOTE.162488.1 : Complete Guide to JInitiator 1.1.8 Setup & TroubleshootingNOTE.312572.1 : About Oracle Applications Technology Updates for Release 11.NOTE.246105.1 : Upgrading to J2SE 1.4.2 with Oracle Applications 11iNOTE.94091.1 : Example : Identifying Connection String Problems in JDBC

Workflow:

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

31 of 47 8/31/2011 10:45 PM

Page 32: Copy of Oracle Apps DBA Instant Solutions

========

NOTE.298550.1 : Troubleshooting Workflow Data Growth Issues

General:=======

NOTE.184977.1 : Certify FAQ, Product Navigation & User's GuideNOTE.224882.1 : Common Commands asked by Oracle Support for TroubleshootingNOTE.110415.1 : Payables MRC Frequently Asked QuestionsNOTE.285218.1 : Recommended Browsers for Oracle Applications 11iNOTE.257650.1 : Resolving Problems with Connection Idle TimeoutNOTE.270523.1 : How To Find the Oracle Applications Framework and RollupNOTE.301504.1 : "Cannot Complete Applications Logon" Error After SelectingNOTE.315094.1 : JTF Login Page - an operational assessment for CRMNOTE.242490.1 : How To Configure The "/etc/hosts" File On LinuxNOTE.282038.1 : Oracle Applications Release 11i with Oracle Database 10g Release 1NOTE.342861.1 : Java Version Conflict When Migrating PlatformsNOTE.209999.1 : Oracle Applications Manager in Oracle Applications 11.5.8NOTE.198160.1 : Summary note to LOB's/BLOB's/CLOB's/NCLOB's and BFILESNOTE.159244.1 : How To Use FNDCPASS to Change The Oracle Users, APPS, APPLSYS andApplication Module Passwords (INV, AR, AP, etc.) For Applications 11.5 in UnixNOTE.186981.1 : Oracle Application Server with Oracle E-Business SuiteNOTE.333436.1 : Oracle E-Business Suite 11i on Windows Server 2003 ServiceNOTE.356878.1 : How to relink the whole Applications 11i InstallationNOTE.197031.1 : 32-bit/64-bit Certification/Conversion Issues on OracleNOTE.158577.1 : NLS_LANG Explained (How does Client-Server CharacterNOTE.227331.1 : Setting NLS Parameters - Frequently Asked QuestionsNOTE.124721.1 : Migrating an Applications Installation to a New CharacterNOTE.43208.1 : Certified CompilersNOTE.66320.1 : Changing the Database Character Set or the DatabaseNOTE.279956.1 : Oracle E-Business Suite Release 11i with 9i RAC :NOTE.260393.1 : Java Mailer and Other 11.5.9/OWF G Current Issues inNOTE.232313.1 : Information on Previous Versions of Developer 6i PatchsetsNOTE.125767.1 : Upgrading Developer 6i with Oracle Applications 11iNOTE.371438.1 : adpreclone.pl dbTier fails with RC-50409 : TopologyNOTE.135949.1 : Troubleshooting the Personal Home Page Login Problems in 11.NOTE.164317.1 : Upgrading JDBC drivers with Oracle Applications 11iNOTE.302035.1 : How to Test a JDBC Thin Driver Connection From the SSONOTE.365735.1 : How to use Digital Certificates for 11i ApplicationsNOTE.357922.1 : Autoconfig Reverts to old Context File Values.

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

32 of 47 8/31/2011 10:45 PM

Page 33: Copy of Oracle Apps DBA Instant Solutions

NOTE.206511.1 : How to Find a JAR File Which Contains a Particular JAVANOTE.68839.1 : 8i Using loadjava and dropjava to Load and Unload JavaNOTE.165123.1 : JAVA CLASS - ORA-29534 : referenced objectNOTE.165114.1 : Resolving Invalid Java Classes in Oracle ApplicationsNOTE.271218.1 : Yellow bar's and Java security error , The daddy of allNOTE.294932.1 : Recommendations to Install Oracle Applications 11iNOTE.169706.1 : Oracle Database on AIX,HP-UX,Linux,MacOSX,Solaris,Tru64NOTE.342442.1 : Cloning Multi-Node to Single-Node Oracle ApplicationsNOTE.233428.1 :NOTE.302738.1 : Using Virtual Hostnames with Oracle Applications Release 11iNOTE.356433.1 : Using Oracle Applications Release 11i with VirtualNOTE.362135.1 : Configuring Oracle Applications Release 11i with 10g R2 RACNOTE.159270.1 : How To Use FNDCPASS to Change The Oracle Users, APPS,NOTE.303237.1 : Migrating Red Hat Linux 2.1 or 3.0 to Red Hat Linux 4.0NOTE.91985.1 :NOTE.200963.1 : R11.5.3/R11.5.4/R11.5.5 Upgrade And Install IssuesNOTE.272789.1 : Post Clone Problem : Login/Portal Server Installation MayNOTE.339664.1 : Analyst Crib Sheet for NLS/MLS issues in OracleNOTE.211708.1 : Detailed Explanations of How NLS/MLS is Being Handled in 11iNOTE.245079.1 : Steps to clone a 11i RAC environment to a non-RACNOTE.362135.1 : Configuring Oracle Applications Release 11i with 10g R2 RACNOTE.362135.1 : Configuring Oracle Applications Release 11i with 10g R2 RACNOTE.312731.1 : Configuring Oracle Applications Release 11i with 10g RACNOTE.131321.1 : How to Relink Oracle Database Software on UNIXNOTE.231876.1 : Windows OS Upgrade for 11i E-Business SuiteNOTE.184977.1 : Certify FAQ, Product Navigation & User's GuideNOTE.209810.1 : How to Relink Oracle Applications 11i Programs AfterNOTE.361428.1 : Using Linux Desktop Clients with Oracle Applications 11iNOTE.296559.1 :NOTE.275734.1 : India LocalizationNOTE.364439.1 : Tips and Queries for Troubleshooting Advanced TopologiesNOTE.372928.1 : Oracle Critical Patch Update July 2006 Documentation MapNOTE.372931.1 : E-Business Suite Critical Patch Update NoteNOTE.268837.1 : Gathering Debug Weboam LogNOTE.292996.1 : How to Re-Install Intermedia on an 11i EnvironmentNOTE.160121.1 : Introduction to Sun Cluster v3NOTE.188135.1 : Documentation Index for Real Application ClustersNOTE.251351.1 : How to Change the Characterset in a Standby Database in 9iNOTE.362203.1 : Oracle Applications Release 11i with Oracle 10g Release 2NOTE.362205.1 : 10g Release 2 Export/Import Process for Oracle ApplicationsNOTE.1009718.6 : HOW TO SOLVE UNDEFINED SYMBOL ERRORS ON UNIX AND VMS

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

33 of 47 8/31/2011 10:45 PM

Page 34: Copy of Oracle Apps DBA Instant Solutions

NOTE.316889.1 : Complete checklist for manual upgrades to 10gR2NOTE.223721.1 : How to Install XVFB on Linux for dynamic image generartionNOTE.130091.1 : Upgrading Oracle Applications 11i to use JDK 1.3NOTE : 163400.1 : Release Content Documents and Features Summary MatricesNOTE.253918.1 : Autopatch Fails with "Unable to call adppdepRunFndLoadNOTE.166650.1 : Working Effectively With Oracle Support ServicesNOTE.333785.1 : Oracle Applications Internationalization GuideNOTE.119164.1 : Changing Database Character Set - Valid Superset DefinitionsNOTE.17210.1 : Supported NLS Character SetsNOTE.179133.1 : The correct NLS_LANG in a Windows EnvironmentNOTE.226565.1 : 9iRAC Useful Views and Statistics (INTERNAL ONLY)NOTE.387046.1 : RCONFIG : Frequently Asked QuestionsNOTE.200340.1 : RAC : Cache FusionNOTE.265253.1 : 10g Recyclebin Features And How To Disable it( _recyclebin )NOTE.312594.1 : Get Warning Messages Trying To Generate Jar Files FromNOTE.242480.1 : Using a Staged Applications 11i System to Reduce PatchingNOTE.134007.1 : CMCLEAN.SQL - Non Destructive Script to Clean ConcurrentNOTE.365228.1 : About Oracle Applications Technology 11i.ATG_PF.H Rollup 4NOTE.371016.1 : How To License A New Product.NOTE.151654.1 : How To Start the License Manager After Installing OracleNOTE.279430.1 : How To Change Project Installation From Shared To FullNOTE.123891.1 : How to deactivate a language in e-Business SuiteNOTE.216550.1 : Oracle Applications Release 11i with Oracle9i Release 2 (9.NOTE.341437.1 : Business Continuity for Oracle Applications Release 11iNOTE.246105.1 : Upgrading to J2SE 1.4.2 with Oracle Applications 11iNOTE.304748.1 : Internal : E-Business Suite 11i with Database FAQNOTE.308320.1 : How to install the 10.1.0 Enterprise Manager Grid ControlNOTE.291901.1 : Maintenance Mode - A New Feature in 11.5.10NOTE.134527.1 : TNS-00516 Starting TNS ListenerNOTE.300482.1 : Overview of Using Java with Oracle E-Business Suite ReleaseNOTE.208256.1 : WIN : How to Remove a Single ORACLE_HOME and Its Traces onNOTE.363827.1 : Rebaselined Oracle Applications Technology Components forNOTE.373611.1 : How to move Concurrent Processing Server from one node toNOTE.240818.1. : Concurrent Processing: Transaction Manager Setup and ConfigurationRequirement in an 11i RAC EnvironmentNOTE.69660.1 : Understanding Data Auditing in Oracle Application TablesNOTE.60828.1 : Overview of Oracle Applications AuditTrailsNOTE.134949.1 : Release 11.0.3 and Oracle 8i Release 8.1.6 InteroperabilityNOTE.342332.1 : Troubleshooting Login Problems in Oracle Applications 11iNOTE.189256.1 : UNIX : Script to Verify Installation Requirements for OracleNOTE.296559.1 : FAQ : Common Tracing Techniques within the Oracle

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

34 of 47 8/31/2011 10:45 PM

Page 35: Copy of Oracle Apps DBA Instant Solutions

NOTE.177183.1 : Succesfully Installing NLS/MLS in 11iNOTE.73352.1 : NLS/MLS Frequently Asked QuestionsNOTE.399789.1 : NLS Frequently Asked QuestionsNOTE.339664.1 : Analyst Crib Sheet for NLS/MLS issues in OracleNOTE.227331.1 : Setting NLS Parameters - Frequently Asked QuestionsNOTE.110849.1 : Installing and Relinking Oracle Developer on UNIX PlatformsNOTE.76535.1 : Troubleshooting Issues Which Arise During the Application of Release 11PatchesNOTE.316804.1 : Oracle Applications NLS Release Notes, Release 11i (11.5.10.NOTE.287176.1 : DMZ Configuration with Oracle E-Business Suite 11iNOTE.310840.1 : AFPCAL Received Failure Code While Parsing or RunningNOTE.371434.1 : Using Openfiler iSCSI with an Oracle databaseNOTE.233040.1 : When Oracle Applications Automatic Patch PrerequisiteNOTE.236469.1 : Using Distributed AD in Applications Release 11.5.NOTE.233043.1 : 11.5.9 Oracle E-Business Suite Consolidated Update 2NOTE.108185.1 : Oracle Applications Object Library SQL scriptsNOTE.201662.1 : How To Manually Relink on Windows NT or Windows 2000NOTE.306906.1 : How to create missing DB objects from xdf filesNOTE.396708.1 : Guidelines to Determine whether a Bug or SR is a LinuxOSNOTE.166762.1 : Oracle Applications Manager 11i AvailabilityNOTE.60966.1 : Getting Rid Of Those Pesky Invalid Objects In OracleNOTE.216589.1 : Step By Step Guide to Creating a Custom Application inNOTE.105127.1 : FAQ (Customization)NOTE.243880.1 : Shared APPL_TOP FAQNOTE.409045.1 : How to clone from Rac to Non-rac in Oracle Applications 11i.NOTE.373611.1 : How to move Concurrent Processing Server from one node toNOTE.342442.1 : Cloning Multi-Node to Single-Node Oracle ApplicationsNOTE.261428.1 : Setting up 11i E-Business suite using a hardware loadNOTE.224875.1 : Installation, Patching & Upgrade Frequently Asked QuestionsNOTE.278816.1 : How to Setup Parallel Concurrent Processing using SharedNOTE.286506.1 : Sharing Middle-tier Oracle Home in E-Business Suite 11iNOTE.105133.1 : Concurrent Manager Questions and Answers Relating toNOTE.69336.1 : Basic information about Concurrent ManagersNOTE.169706.1 : Oracle Database on AIX,HP-UX,Linux,MacOSX,Solaris,Tru64NOTE.345145.1 : Is There A Way To Automate The Prompts For Adcfgclone.Pl?*********************************************************************NOTE.416338.1 : How To Upgrade JDK / J2SE 1.4 Sub-VersionsNOTE.225165.1 : Patching Best Practices and Reducing DowntimeNOTE.368628.1 : Is The 'Personal Home Page' Mode Supported In Oracle 11i Applications?NOTE.387859.1 : Using AutoConfig to Manage System Configurations in OracleNOTE.402306.1 : Oracle Applications Installation and Upgrade Notes Release

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

35 of 47 8/31/2011 10:45 PM

Page 36: Copy of Oracle Apps DBA Instant Solutions

NOTE.160214.1 : How to change the oracle users, APPS, APPLSYS andNOTE.159244.1 : How To Use FNDCPASS to Change The Oracle Users, APPS,NOTE.335515.1 : Relink fails for Oracle 9.2.0.7.0 on LINUX x86 server onNOTE.372800.1 : How to Implement an SSL CA Root Certificate in JInitiatorNOTE.402312.1 : Oracle Applications Installation and Upgrade Notes ReleaseNOTE.394692.1 : Oracle Applications Documentation Resources, Release 12NOTE.603104.1 : Troubleshooting RapidClone issues with Oracle Applications R12NOTE.384248.1 : Sharing The Application Tier File System in Oracle E-Business Suite Release12NOTE.388577.1 : Configuring Oracle Applications Release 12 with 10g R2 RACNOTE.559518.1 : Cloning Oracle Applications Release 12 with Rapid Clone on RAC EnabledSystemsNOTE.393861.1 : Globalization Guide for Oracle Applications Release 12NOTE.372800.1 : How to Implement an SSL CA Root Certificate in JInitiatorNOTE.184876.1 : Oracle Application Object Library Middle (Web) Tier SetupNOTE.403385.1 : Duplicate Responsibilities Created On Sysadmin Login AndNOTE.380483.1 : Oracle E-Business Suite Release 12 Additional ConfigurationNOTE.148903.1 : Interoperability Notes Oracle Applications Release 11i withNOTE.364704.1 : A Guide to Configure, Maintain & Troubleshoot JDBC BuffersNOTE.148902.1 : Interoperability Notes Oracle Applications Release 11.0NOTE.337762.1 : How to Remove an Oracle Applications 11i nodeNOTE.399362.1 : Oracle Applications Release 12 Upgrade Sizing and BestNOTE.104457.1 : Invalid Objects In Oracle Applications FAQsNOTE.132604.1 : Upgrading OJSP with Oracle Applications 11iNOTE.215268.1 : Implementing and Using the JSP PrecompilerNOTE.316900.1 : ALERT : Oracle 10g Release 2 (10.2) Support Status and AlertsNOTE.189908.1 : ALERT : Oracle9i Release 2 (9.2) Support Status and AlertsNOTE.380490.1 : Oracle E-Business Suite R12 Configuration in a DMZNOTE.269291.1 : Oracle Applications Tablespace Migration Utility UserNOTE.206511.1 : How to Find a JAR File Which Contains a Particular JAVANOTE.406982.1 : Cloning Oracle Applications Release 12 with Rapid CloneNOTE.262125.1 : Sun.io.MalformedInputException For OraSCV.asc,emreadme.txt,NOTE.419839.1 : How to enable Apache, OC4J and OPMN logging in OracleNOTE.422419.1 : How To Enable and Collect Debug for HTTP, OC4J and OPMN inNOTE.15390.1 : How to Determine and Change DB_NAME or ORACLE_SIDNOTE.375682.1 : About Oracle Applications Technology ATG_PF.H Rollup 5NOTE.135715.1. : Diagnostic Steps for Intermittent FRM-99999 & FRM-92100NOTE.185489.1 : Setting Up Parallel Concurrent Processing On Unix ServerNOTE.431496.1 : Java In The Database For Oracle Applications : IntroductionNOTE.183408.1 : Raw Devices and Cluster Filesystems With Real ApplicationNOTE.277366.1 : Technology Validation Utility for Oracle Applications

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

36 of 47 8/31/2011 10:45 PM

Page 37: Copy of Oracle Apps DBA Instant Solutions

NOTE.394448.1 : Getting Started with the Application Management Pack forNOTE.412044.1 : Application Management Pack for Oracle E-Business SuiteNOTE.375113.1 : Oracle Diagnostics 2.4NOTE.405425.1 : Oracle Diagnostics 2.5NOTE.201340.1 : Using Forms Listener Servlet with Oracle Applications 11iNOTE.160337.1 : How To Manually Change The APPS, APPLSYS and APPLSYSPUBNOTE.372322.1 : HP Tru64 UNIX Migration Strategy for Oracle E-BusinessNOTE.303709.1 : Reclaiming unused space in APPLSYSD tablespaceNOTE.130183.1 : How to Get Log Files from Various Programs for OracleNOTE.269129.1 : How to Implement Printing for Oracle Applications : GettingNOTE.297522.1 : How to investigate printing issues and work towards its resolution ?NOTE.215527.1 : Maintenance Wizard OverviewNOTE.452120.1 : How to locate the log files and troubleshoot RapidWiz forNOTE.312640.1 : Oracle Text : Re-installation of Applications 11i (11.5.10)***************** iSetup *****************NOTE.402785.1 : iSetup dependency with Deinstall and Reinstall of XMLDBNOTE.368670.1 : About Oracle iSetup Minipack 11i.AZ.HNOTE.243554.1 : How to Deinstall and Reinstall XML Database (XDB)NOTE.244523.1 : Security Alert #57 : Buffer Overflows in EXTPROC of OracleNOTE.433435.1 : Japanese characters are displayed like square boxes inNOTE.455366.1 : Investigating NoClassDefFoundError in eBusiness 11i whenNOTE.197409.1 : Error Opening Oracle*Terminal File fmrweb.resNOTE.312553.1 : How To Use the Original Forms for Reprint Instead of theNOTE.438086.1 : Platform Migration with Oracle Applications Release 12NOTE.458452.1 : Complying with Daylight Saving Time (DST) and Time ZoneNOTE.189367.1 : Best Practices for Securing the E-Business SuiteNOTE.300969.1 : Troubleshooting SSL with Oracle Applications 11iNOTE.444524.1 : About Oracle Applications Technology ATG_PF.H Rollup 6NOTE.265253.1 : 10g Recyclebin Features And How To Disable it( _recyclebin )NOTE.428262.1 : How to identify the form name attached to an f60webmxNOTE.68839.1 : 8i Using loadjava and dropjava to Load and Unload JavaNOTE.405521.1 : Oracle Enterprise Manager Grid Control Release Notes forNOTE.187905.1 : bde_imt_index_status.sql - List all interMedia Text indexesNOTE.388577.1 : Configuring Oracle Applications Release 12 with 10g R2 RACNOTE.345106.1 : Login Links On New Rapid Install Homepage Do Not FunctionNOTE.443521.1 : Enterprise Manager Grid Control Plug-in for Oracle Applications, Version1.0/1.2NOTE.398412.1 : Workflow Queues Creation ScriptsNOTE.77483.1 : External Support FTP site : Information Sheet

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

37 of 47 8/31/2011 10:45 PM

Page 38: Copy of Oracle Apps DBA Instant Solutions

NOTE.122452.1 : Global Customer Services Policy Regarding CustomizationsNOTE.257911.1 : How To Use Rotatelogs In 9iAS Release 1 (1.0.2.x)NOTE.276845.1 : Apache Web Server Hangs Every Other Time Running Adapcctl.NOTE.218893.1 : How to Create The Service Manager 'FNDSM' on OracleNOTE.437878.1 : Upgrading Forms and Reports 10g in Oracle ApplicationsNOTE.290807.1 : Upgrading Sun JRE with Oracle Applications 11iNOTE.280167.1 : AS10g with Apps 11i - Summary of Login processNOTE.357218.1 : Troubleshooting JDeveloper setup for Oracle ApplicationsNOTE.403339.1 : Oracle 10gR2 Database Preparation Guidelines for an E-Business SuiteRelease 12 UpgradeNOTE.463249.1 : After Clone Forms Is Trying To Connect To Target InstanceNOTE.386374.1 : How to enable/disable/change password of the listeners for OracleApplications 11iNOTE.454750.1 : Oracle Apps Release 12 with Oracle Database 10.2.0 interoperability notesNOTE.428503.1 : Integrating Oracle E-Business Suite Release 11i with Oracle Database Vault10.2.0.3NOTE.443761.1 : How to check if a certain Patch was applied to Oracle Applicationsinstance using 'adpatch'?NOTE.291783.1 : Getting Started with the Oracle Grid Control Plug-in for OracleApplications in Release 11i (AMP v1)NOTE.468980.1 : How to Remove the Language Icons in the AppsLocalLogin.jspNOTE.398619.1 : Clone Oracle Applications 11i using Oracle Application Manager (OAMClone)NOTE.295606.1 : Oracle Application Server 10g with Oracle E-Business Suite Release 11iTroubleshootingNOTE.169706.1 : Oracle® Database on AIX®,HP-UX®,Linux®,Mac OS® X,Solaris®,Tru64 Unix® Operating Systems Installation andConfiguration Requirements Quick Reference (8.0.5 to 11.1)NOTE.109665.1 : Organization Setup Frequently Asked Questions - FAQNOTE.434395.1 : ATG Service Request CreationNOTE.438086.1 : Platform Migration with Oracle Applications Release 12NOTE.469213.1 : How To Encrypt The Apps Password In Wdbsvr.AppNOTE.293369.1 : OPatch documentation listNOTE.275379.1 : Script To Check What Workflow Related Patches Are InstalledNOTE.388577.1 : Configuring Oracle Applications Release 12 with 10g R2 RACNOTE.264157.1 : The correct NLS_LANG setting in Unix EnvironmentsNOTE.91985.1 : Step by Step on Cloning the ORACLE_HOME (Including DB) andNOTE.74838.1 : Migrating Apps Release 11.0 from UNIX Host To A SecondNOTE.396009.1 : Database Initialization Parameters for Oracle Applications Release 12NOTE.391406.1 : How to get a clean Autoconfig EnvironmentNOTE.560719.1 : How to troubleshoot iSetup issues

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

38 of 47 8/31/2011 10:45 PM

Page 39: Copy of Oracle Apps DBA Instant Solutions

NOTE.406376.1 : Oracle E-Business Tax Release 12 Known IssuesNOTE.577713.1 : On Windows, After 10g Upgrade, Running Autoconfig on AppsNOTE.343917.1 : Frequently Asked Questions : Oracle E-Business Suite SupportNOTE.553831.1 : java.lang.ArrayIndexOutOfBoundsException Error whenNOTE.119319.1 : How to Replace Oracle Logo with Company Logo on Applications 11iSign-On ScreenNOTE.554336.1 : How Do You Manually Generate A Form In Release 12 (frmcmp)NOTE.444286.1 : How to manually generate a R12 report on UnixNOTE.356433.1 : Using Oracle Applications Release 11i with Virtual Hostnames and BusinessContinuityNOTE.555081.1 : Concurrent Manager Does Not Start if the Profile Option "Concurrent : GSMEnabled" is Set "Y" at Site LevelNOTE.149124.1 : Creating a StatsPack performance reportNOTE.471566.1 : Migrating Oracle E-Business Suite R12 from Linux 32-bit to Linux 64-bitNOTE.397757.1 : How to Speed Up Index Creation on FND_LOBS by indexing Only FND_HELPDataNOTE.375127.1 : How to restart the adworker having status fixed,restart,waitNOTE.353150.1 : OPatch Failing Validation Phase When Archiving Really Did Not FailNOTE.215527.1 : Maintenance Wizard OverviewNOTE.564465.1 : Sysadmin And User Responsibility Not AvailableNOTE.219968.1 : SQL*Net, Net8, Oracle Net Services - Tracing and Logging at a GlanceNOTE.417122.1 : Resolving the Library Cache LocksNOTE.419475.1 : Removing Credentials from a Cloned EBS Production Database

0 comments Links to this post

Important Wait Events In Oracle Database SQL Execution Level

Here are some of the most common wait events, and what they mean:

enqueue

The process is waiting on an enqueue (a lock you can see in v$lock). This commonly occurswhen one user is trying to update a row in a table that is currently being updated byanother user.

library cache pin

The process wants to pin an object in memory in the library cache for examination, ensuringno other processes can update the object at the same time. This happens when you arecompiling or parsing a PL/SQL object or a view.

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

39 of 47 8/31/2011 10:45 PM

Page 40: Copy of Oracle Apps DBA Instant Solutions

library cache load lock

The process is waiting for the opportunity to load an object or a piece of an object into thelibrary cache. (Only one process can load an object or a piece of an object at a time.)

latch free

The process is waiting for a latch held by another process. (This wait event does not applyto processes that are spinning while waiting for a latch; when a process is spinning, it is notwaiting.)

buffer busy waits

The process wants to access a data block that is currently not in memory, but anotherprocess has already issued an I/O request to read the block into memory. (The process iswaiting for the other process to finish bringing the block into memory.)

control file sequential read

The process is waiting for blocks to be read from a control file.

control file parallel write

The process has issued multiple I/O requests in parallel to write blocks to all control files,and is waiting for all of the writes to complete.

log buffer space

The process is waiting for space to become available in the log buffer (Space becomesavailable only after LGWR has written the current contents of the log buffer to disk.) Thistypically happens when applications generate redo faster than LGWR can write it to disk.

log file sequential read

The process is waiting for blocks to be read from the online redo log into memory. Thisprimarily occurs at instance startup and when the ARCH process archives filled online redologs.

log file parallel write

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

40 of 47 8/31/2011 10:45 PM

Page 41: Copy of Oracle Apps DBA Instant Solutions

The process is waiting for blocks to be written to all online redo log members in one group.LGWR is typically the only process to see this wait event. It will wait until all blocks havebeen written to all members.

log file sync

The process is waiting for LGWR to finish flushing the log buffer to disk. This occurs when auser commits a transaction. (A transaction is not considered committed until all of the redoto recover the transaction has been successfully written to disk.)

db file scattered read

The process has issued an I/O request to read a series of contiguous blocks from a data fileinto the buffer cache, and is waiting for the operation to complete. This typically happensduring a full table scan or full index scan.

db file sequential read

The process has issued an I/O request to read one block from a data file into the buffercache, and is waiting for the operation to complete. This typically happens during an indexlookup or a fetch from a table by ROWID when the required data block is not already inmemory. Do not be misled by the confusing name of this wait event!

db file parallel read

The process has issued multiple I/O requests in parallel to read blocks from data files intomemory, and is waiting for all requests to complete. The documentation says this waitevent occurs only during recovery, but in fact it also occurs during regular activity when aprocess batches many single block I/O requests together and issues them in parallel. (Inspite of the name, you will not see this wait event during parallel query or parallel DML. Inthose cases wait events with PX in their names occur instead.)

db file parallel write

The process, typically DBWR, has issued multiple I/O requests in parallel to write dirtyblocks from the buffer cache to disk, and is waiting for all requests to complete.

direct path read, direct path write

The process has issued asynchronous I/O requests that bypass the buffer cache, and iswaiting for them to complete. These wait events typically involve sort segments.

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

41 of 47 8/31/2011 10:45 PM

Page 42: Copy of Oracle Apps DBA Instant Solutions

There are several wait events that we call "idle events" because each of these waitevents typically occurs when the Oracle process has nothing to do and is waiting forsomebody to give it a task. Idle events are usually not very interesting from a tuningstandpoint, so we usually overlook them when evaluating data extracted from the waitevent interface. The common idle events are as follows:

Idle Wait Events

client message: PX Idle Waitdispatcher timer rdbms ipc messagelock manager wait for remote message smon timerNull event SQL*Net message from clientparallel query dequeue SQL*Net message to clientpipe get SQL*Net more data from clientPL/SQL lock timer virtual circuit statuspmon timer wakeup time manager

0 comments Links to this post

Scripts Used in Critical Production Biz Time Monitoring

=== Temp Usage ===

select sum(blocks)/1024*8 "Size in MB" FROM v$sort_usage;

SELECT ss.sid, sum(st.blocks)/1024*8 FROM v$sort_usage st, v$session ss

where ss.saddr=st.session_addr group by ss.sid having sum(st.blocks)/1024*8

> 100 order by 2;

SELECT /*+ RULE */ s.username, s.osuser, s.sid, NVL(s.machine,'N/A'),

NVL(s.module,'N/A'), NVL(s.action,'N/A'),

NVL(s.program,'N/A'),

s.status ||' for '||

LPAD(((last_call_et/60)-mod((last_call_et/60),60))

/60,2,'0') ||':'||

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

42 of 47 8/31/2011 10:45 PM

Page 43: Copy of Oracle Apps DBA Instant Solutions

LPAD(ROUND(mod((last_call_et/60),60)),2,'0') ||'

Hr' ,

u.tablespace, u.contents, u.extents,

round((u.blocks*8)/1024),

s.sql_address, s.sql_hash_value

FROM v$session s, v$sort_usage u

WHERE s.saddr = u.session_addr

AND u.contents = 'TEMPORARY'

AND s.audsid != USERENV('sessionid')

AND (u.blocks*8)/1024 >= 1000

ORDER BY 1,2,3,4,5 Desc;

=== High Redo ===

SELECT s.inst_id,s.sid, s.serial#, s.username, s.program, i.block_changes

FROM gv$session s, gv$sess_io i

WHERE s.sid = i.sid

AND i.block_changes > 10000000

ORDER BY 6 desc, 1, 2, 3, 4;

=== Rollback Used ===

SELECT rn.name, ROUND(rs.rssize/1024/1024),

s.username, s.osuser, s.sid, NVL(s.machine,'N/A'),

NVL(s.module,'N/A'), NVL(s.action,'N/A'),

NVL(s.program,'N/A'),

s.sql_address, s.sql_hash_value, p.spid,

s.status ||' for '||

LPAD(((last_call_et/60)-mod((last_call_et/60),60))

/60,2,'0') ||':'||

LPAD(ROUND(mod((last_call_et/60),60)),2,'0') ||'

Hr' ,

round(ceil((t.used_ublk*8)/1024),1)

FROM v$rollname rn, v$rollstat rs,

v$session s, v$transaction t, v$process p

WHERE rn.usn = rs.usn

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

43 of 47 8/31/2011 10:45 PM

Page 44: Copy of Oracle Apps DBA Instant Solutions

AND round((t.used_ublk*8)/1024) >= 1000

AND rs.usn = t.xidusn

AND s.sid = p.pid (+)

AND s.taddr = t.addr

ORDER BY 2 desc, s.sid ,s.status

=== Roll back segement Information ====

select tablespace_name, status segment_status, count(extent_id) "Extent

Count", sum(blocks) "Total Blocks",

sum(blocks)*8/(1024*1024) "Total Space in GB" from dba_undo_extents where

tablespace_name like '%UNDO%'

group by tablespace_name, status;

=== Shared Pool Usage ===

SELECT INST_ID,ROUND(bytes/1024/1024, 2)||' MB' FROM gv$sgastat WHERE

name='free memory' AND pool='shared pool';

=== Archive Generation for last 5 hours ===

SELECT TO_CHAR(first_time, 'DD-MM-YY') AS Day,TO_CHAR(first_time, 'HH24')

AS Hour,COUNT(*) FROM v$log_history WHERE TO_CHAR(first_time, 'DD-MM-YY')

= TO_CHAR(sysdate, 'DD-MM-YY') AND TO_CHAR(first_time, 'HH24') >=

TO_CHAR(sysdate, 'HH24') - 5 GROUP BY TO_CHAR(first_time, 'DD-MM-YY'),

TO_CHAR(first_time, 'HH24') ORDER BY 2;

=== High Memory ===

select s.inst_id, s.sid, name, round(value/1024/1024) Mem_in_mb, p.*

from gv$sesstat s, v$statname n, gv$session p

where n.statistic# = s.statistic#

and s.inst_id = p.inst_id

and s.sid = p.sid

and name like '%pga memory%'

and value > 1*1024*1024*512;

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

44 of 47 8/31/2011 10:45 PM

Page 45: Copy of Oracle Apps DBA Instant Solutions

=== Performance ===

select sql_hash_value, count(*) from v$session where event like 'enq%'

group by sql_hash_value;

select sql_hash_value,username,osuser, count(*) from v$session where event

like 'enq%' and SQL_HASH_VALUE='&event' group by

sql_hash_value,username,osuser;

select sql_text from v$sqlarea where hash_value = '&hash_value';

select s1.sid,FETCHES,ROWS_PROCESSED from v$sql s,v$session s1 where

s.HASH_VALUE=s1.SQL_HASH_VALUE and s1.sid=4885;

col EVENT for a50;

col OSUSER for a20;

col USERNAME for a20;

set linesize 175;

select s.sid,s.serial#,s.status,s.username,s.module,s.osuser,x.event from

v$session s,v$session_wait x where s.paddr in

( select addr from v$process where spid in

(2340,23869,13827,18261,14880,2381))

and x.sid=s.sid;

col EVENT for a50;

col OSUSER for a20;

col USERNAME for a20;

set linesize 175;

select s.sid,s.serial#,s.status,s.username,s.module,s.osuser,x.event from

v$session s,v$session_wait x

where x.sid=s.sid and x.event like '&event_name';

=== Top 10 Memory Process at OS level ===

UNIX95=1 ps -eo vsz,pid,args | sort +0n -1 | grep -i `echo $ORACLE_SID` |

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

45 of 47 8/31/2011 10:45 PM

Page 46: Copy of Oracle Apps DBA Instant Solutions

Older Posts

tail -10

=== Other Script to update the daily report ===

select status,count(1) from gv$session group by status;

STATUS COUNT(1)

-------- ----------

ACTIVE 22

INACTIVE 155

select count(1) from dba_tables where logging='NO';

COUNT(1)

----------

919

select distinct status,count(1) from dba_indexes group by status;

STATUS COUNT(1)

-------- ----------

N/A 1639

UNUSABLE 1

VALID 6162

select count(1) from dba_objects where status='INVALID';

'

COUNT(1)

----------

681

0 comments Links to this post

Home

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

46 of 47 8/31/2011 10:45 PM

Page 47: Copy of Oracle Apps DBA Instant Solutions

Subscribe to: Posts (Atom)

with Google Friend Connect

Members (5)

Already a member? Sign in

SocialFEBA2010_resColegiados cumpleanos_setiembreBearing CapacityMachineSafety-Schmersal-IPECJane Does vs Travis Masse

Search Engine Optimization and SEO Tools

DBA jobs MarketWatch (press release) - Insuraprise, dba Medigap360,powered by

Oracle DBA - Oracle Apps DBA Instant Solutions http://dbafix.blogspot.com/

47 of 47 8/31/2011 10:45 PM