Oracle remap schema and remap tablespace
Remap_schema & remap_tablespace:Below we will load the contents of "hr" schema into "hr_test" schema and from tablespace "USERS" to "hr_test"SQL> create directory data_dir as...
View ArticleOracle transportable tablespaces
Below I will show you how to use transportable tablespace feature in Oracle: Creating the tablespace for the demo:SQL> create tablespace tt_temp_sales datafile '+DATA2' size 10m autoextend on next...
View ArticleORA-06512: at "SYS.X$DBMS_DISKGROUP", line 486 with ORA-15124: ASM file name...
If you use any of the below syntax you will get the below mentioned error, instead try the suggested fix.Using dot here "."ASMCMD> cp /home/oracle/sshaik/tt_temp_sales.319.887131035 .orUsing just...
View ArticleSetting up the oracle environment
I have three Oracle databases and each have its own environment that needs to be run.Ex:-1.ORCL 2.PROD13.GRIDWrote a small crude shell script to run the env files.[oracle@collabn1 ~]$ vi...
View ArticleOracle EBS 11i log file locations
Application Tier LogsStart/Stop script log files location:$COMMON_TOP/admin/log/CONTEXT_NAME/ OPMN log file location$ORACLE_HOME/opmn/logs/ipm.logApache, Jserv, JVM log files...
View ArticleOracle R12 Logs location
In Oracle Applications R12, the log files are located in $LOG_HOME ($INST_TOP/logs)Concurrent Reqeust related logs$LOG_HOME/appl/conc - > location for concurrent requests log and out...
View ArticleHow to update EBS XML Publisher Temporary Directory
SQL> select value from apps.XDO_CONFIG_VALUES WHERE property_code =...
View ArticleDirect NFS: please check that oradism is setuid --> Enable/ Disable oradism...
Direct NFS: please check that oradism is setuid Issue:Getting the following message in alert log and instance not starting:Direct NFS: please check that oradism is setuidTo correct, the following...
View ArticleEBS 11i Add resposibility api
Find the necessary details for a particular responsibility: SELECT fa.application_short_name, fr.responsibility_key, frg.security_group_key,...
View ArticleFind the log file and output file from concurrent request
--to find the log file and output file from concurrent requestSELECT REQUEST_ID,logfile_name, outfile_name, outfile_node_name, last_update_dateFROM apps.FND_CONCURRENT_REQUESTSWHERE REQUEST_ID...
View ArticleEBS 11i: Fnd the ICM current logfile
--To find the ICM current logfileSELECT 'LOG=' || cp.logfile_name LogFileFROM fnd_concurrent_processes cp, fnd_concurrent_queues cqWHERE cp.concurrent_queue_id = cq.concurrent_queue_idAND...
View ArticleEBS create adpatch defaults file
Lets create defaults file to make adpatch a little non-interactive:==============================================Put addefaults.txt at a safe place and make sure it is not overwritten or...
View ArticleOracle: 11gR2 Fine Grain Auditing(FGA). dbms_fga
Fine Grain Auditing(FGA):Now you can audit SELECT, INSERT, UPDATE, and DELETE statements under one policy using Fine Grain Auditing package(dbms_fga.add_policy).To manage a fine-grained audit policy,...
View ArticleOracle how to encrypt tablespaces
How to Encrypt OracleTablespaceSet the Tablespace Master Encryption Key before you can encrypt or decrypt the tablespaces, you must generate or set a master encryption key. The tablespace master...
View ArticleOracle Flashback versions query/ Flashback query
Flashback Query:To configure your database for the Oracle Flashback Transaction Query feature, make sure:■ The Oracle Database is running with version 10.0 or higher compatibility.■ Enable supplemental...
View ArticleOracle user context details:
How to get the user context details:Run the below query to get the details:select sys_context('userenv','&arg_name') from dual;SQL> select sys_context('userenv','&arg_name') from dual;Enter...
View ArticleOracle Total Recall or Flashback data archive:
Total Recall or Flashback data archive: A Flashback Data Archive provides the ability to track and store transactional changes to a table over its lifetime. A Flashback Data Archive is useful for...
View ArticleOracle explain Plan & auto trace usage
Explain Plan:Create PLUSTRACE role:SQL> show userUSER is "SYS"SQL> @$ORACLE_HOME/sqlplus/admin/plustrce.sqlSQL>SQL> drop role plustrace;drop role plustrace *ERROR at line...
View ArticleOracle how to use tkprof
Using TKPROF to view the sql trace file data:SQL> break on table_name skip 1 on index_nameCurrent Indexex on EMPLOYEES table:SQL> select table_name,index_name,column_name from user_ind_columns...
View ArticleOracle using dbms_monitor
Using DBMS_MONITOR:SQL> show userUSER is "SYS"SQL> select sid,serial# from v$session where username='HR'; SID SERIAL#---------- ---------- 49 25SQL> exec...
View Article