Professional Documents
Culture Documents
The following parameters can now be altered using the ALTER SYSTEM
syntax rather than needing the server to be bounced:
SHARED_POOL_SIZE
LARGE_POOL_SIZE
OPEN_CURSORS
SESSION_CACHED_CURSORS
CPU_COUNT
LOG_CHECKPOINTS_TO_ALERT
COUNT(1) TEMPORARY_TABLESPACE
---------- ------------------------------
2 SYSTEM
944 TEMP
SQL> exec
dbms_stats.gather_schema_stats('IMANAGE',20,NULL,NULL,NULL,'ALL',
TRUE)
;
Run the FNDCPASS command as follows to change the Module (like GL)
password (in this example, the password is changed to welcome (there is
a script in /util/dba/mmfd45/admin/changepass.sh) :
mmfp47 - uk10
it will execute the scripts - display the oracle workflow mailer ...
( enter after it stops)
after that Bounced Apache
4) Interface scripts:
/mmfp77/custom/db_server/zzgeint/custom/deployment/inbound_interfaces/bin
/mmfp77/custom/db_server/zzgeint/custom/deployment/inbound_interfaces/bin
Getting Interface Code Script starting: Wed Nov 14 09:19:13 EST 2007"
it will execute the scripts - display the oracle workflow mailer ...
( enter after it stops)
7) Patch applied :
select count(1) from apps.ad_bugs where BUG_NUMBER='3123915';
select sid from v$session where PADDR = (select ADDR from v$process
where spid =&osprd);
6) Now we need to run the autoconfig. Backup the following files before
running autoconfig
$APPL_TOP/*.env
$OA_HMTL/bin/<Context_Name>.cfg
$FND_TOP/resource/<Context_Name>.cfg
$IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf
$IAS_ORACLE_HOME/Apache/Jserv/etc/ssp_init.txt
Finally run autoconfig on both the servers apps node, check all the cfg and txt
files...for the changes...
7) RUN CMCLEAN
DOCUMENT
WARNING : Do not run this script without explicit instructions
from Oracle Support
*** Make sure that the managers are shut down ***
*** before running this script ***
*** If the concurrent managers are NOT shut down, ***
*** exit this script now !! ***
accept answer prompt 'If you wish to continue type the word ''dual'': '
set feed off
select null from &answer;
set feed on
REM Update process status codes to TERMINATED
prompt
prompt -- Updating invalid process status codes in FND_CONCURRENT_PROCESSES
set feedback off
set head on
break on manager
SELECT concurrent_queue_name manager,
concurrent_process_id pid,
process_status_code pscode
FROM fnd_concurrent_queues fcq, fnd_concurrent_processes fcp
WHERE process_status_code not in ('K', 'S')
AND fcq.concurrent_queue_id = fcp.concurrent_queue_id
AND fcq.application_id = fcp.queue_application_id;
set feedback on
set head off
UPDATE fnd_concurrent_queues
SET control_code = NULL
WHERE control_code not in ('E', 'R', 'X')
AND control_code IS NOT NULL;
prompt
prompt ------------------------------------------------------------------------
set feedback on
set head off
UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'E'
WHERE status_code ='T' OR phase_code = 'R';
prompt
prompt ------------------------------------------------------------------------
select substr(release_name, 1, 2)
into vers
from fnd_product_groups;
prompt
prompt ------------------------------------------------------------------------
prompt
set feedback on
1) on server mmfdbq0003
/mmfq43/oracle/mmfq43db
/mmfq43/oracle/mmfq43appl
/mmfq43/oracle/mmfq43comn
/mmfq43/oracle/mmfq43ora
2) on server mmfglq0002
/mmfq43/oracle/mmfq43appl
/mmfq43/oracle/mmfq43ora
/mmfq43/oracle/mmfq43comn
mmfq43db.07072006.tar
mmfq43comn.07072006.tar
mmfq43ora.07072006.tar
mmfq43appl.07072006.tar
to server stctcmfdbq01:/mmfu43/oracle
mmfq43comn.07072006.tar
mmfq43appl.07072006.tar
mmfq43ora.07072006.tar
to server stctcmfglq01:/mmfu43
to stctcmfdbq01:/mmfu43/oracle/mmfu43data
/mmfd67/oracle/mmfd67comn/admin/log/mmfd67_cmfstctgld02/10081435.log
Oracle Database :
Sql> @$ORACLE_HOME/rdbms/utlrp.sql
'(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=3.131.88.85)(PORT=1521))
(CONNECT_DATA=(SID=mmfp12)))'; : Target database
connect to adminotfs
identified by adminpass : Target database username and pasword
D
-
X
User altered.
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
AGCREGREP OPEN
COUNT(*)
----------
1151
OBJECT_TYPE COUNT(*)
------------------ ----------
DATABASE LINK 15
grant edit on
GEC_HFS_DIRECTORY_ORA.TBL_EXT_DIR_DAILY_UPDATES_TEST to
GEC_HFS_DIRECTORY_ORA
SQL> commit;
cmfalgapora01(oracle): date
Sun Aug 20 01:32:55 EDT 2006
cmfalgapora01(oracle): uptime
1:33am up 1:08, 2 users, load average: 0.06, 0.06, 0.07
cmfalgapora01(oracle): host
Usage: host [-aCdlrTwv] [-c class] [-n] [-N ndots] [-t type] [-W time]
[-R number] hostname [server]
-a is equivalent to -v -t *
-c specifies query class for non-IN data
-C compares SOA records on authoritative nameservers
-d is equivalent to -v
-l lists all hosts in a domain, using AXFR
-i Use the old IN6.INT form of IPv6 reverse lookup
-N changes the number of dots allowed before root lookup is done
-r disables recursive processing
-R specifies number of retries for UDP packets
-t specifies the query type
-T enables TCP/IP mode
-v enables verbose output
-w specifies to wait forever for a reply
-W specifies how long to wait for a reply
cmfalgapora01(oracle): hostname
cmfalgapora01
cmfalgapora01(oracle): ps-ef | grep -i inet
ksh: ps-ef: not found
cmfalgapora01(oracle): ps -ef |grep -i inet
root 595 1 0 00:26:07 ? 0:01 /usr/lib/inet/inetd start
root 720 1 0 00:26:35 ? 0:01 /usr/lib/inet/xntpd
oracle 7935 7880 0 01:34:36 pts/3 0:00 grep -i inet
cmfalgapora01(oracle):
============================================================
============
Valid Oracle SIDs are :
Num Oracle Sid Num Oracle Sid Num Oracle Sid
1 default 2 mdwp04 3 mmfp01
4 mmfp05 5 r8163 6 r8163s
7 r8172 8 r817 9 r9201
10 r9204_64 11 vdwp03
Type the Number of the Oracle SID or e to Exit : 11
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
NAME
---------
VDWP03
COUNT(*)
----------
3588698
COUNT(*)
----------
0
Session altered.
SQL> INSERT /*+ PARALLEL(jct2612_acctsched,12) */ INTO
jct2612_acctsched SELECT /*+ PARALLEL(jct0012_acctsched ,12) */ *
FROM jct0012_acctsched ;
INSERT /*+ PARALLEL(jct2612_acctsched,12) */ INTO jct2612_acctsched
SELECT /*+ PARALLEL(jct0012_acctsched ,12) */ * FROM
jct0012_acctsched
*
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> ^C
SQL>
SQL>
SQL> select count(*) from obid.jct2612_acctsched ;
COUNT(*)
----------
0
Session altered.
COUNT(*)
----------
50100749
SQL> commit;
Commit complete.
COUNT(*)
----------
0
*
ERROR at line 1:
ORA-01631: max # extents (200) reached in table
OBID.JCT2613_SUBLEDG
commit
rollback
jct0034_asset_info to jct2634_asset_info
DEFAULT_TABLESPACE
------------------------------
OBID_DATA1
SUM(BYTES)/1024/1024
--------------------
3916.04688
SQL> select name from v$database;
NAME
---------
IVFS_T14
TABLESPACE_NAME
------------------------------
SIEBELDATA_16K
SUM(BYTES)/1024/1024/1024
-------------------------
.529174805
FILE_NAME
------------------------------------------------------------
--------------------
/d011/oradata/IVFS_T14/siebeldata_16k_01.dbf
/d011/oradata/IVFS_T14/siebeldata_16k_02.dbf
desc dba_ts_quotas
Table altered.
17 ) startup force to recycle the database when not able to login due to
max number of process exceeds .
SID SERIAL#
---------- ----------
50 18347
100 24873
$ uname -X
userid=system/sysdba1
owner=CAPS_HDB_OWNER
grants=y
indexes=y
consistent=n
constraints=y
compress=n
rows=y
log=/backup04/oradata/cfp41/exp81758.log
file=/backup04/oradata/cfp41/exp81758_1.dmp
filesize=1951m
exp parfile=ITG81758_exp.par
or
imp system/sysdba1
PARFILE=/util/dba/parfiles/par_import_128477_pipe.par log=pipeline2.log
SUM(BYTES)/1024/1024
--------------------
12823.4375
Query 1:
Query 2:
Table Locks:
Move table
// Query to find the products installed and their patch set level
19) Jobs :
Rows imported:
select
substr(sql_text,instr(sql_text,'INTO "'),30) table_name,
rows_processed,
round((sysdate-
to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes,
trunc(rows_processed/
((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60))
rows_per_minute
from
sys.v_$sqlarea
where
sql_text like 'INSERT %INTO "%'
and
command_type = 2
and
open_versions > 0
User altered.
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
AGCREGREP OPEN
4. Grant APPSQUERY select on all tables that the APPS account can select
from.
Note that the execute rights on the packages is so that APPSQUERY can see
the content of the packages in the ALL_SOURCE view:
e.g.
SELECT TEXT
FROM ALL_SOURCE
WHERE OWNER='CUSTOM'
set pagesize 0
--
spool appsquerygen.&2..&1
--
--
select
from
dba_objects
where
object_type = 'SEQUENCE' or
object_type = 'TABLE' or
object_type = 'VIEW'
) and
owner = upper('&1')
spool off
set echo on
set pause on
set feedback on
set head on
set verify on
DBMS_STATS also includes routines for gathering statistics and storing them
outside the dictionary. This does not influence the optimizer. Most of the
procedures in this package as mentioned above have three common
parameters - STATID, STATTAB and STATOWN that are related to user
processing of statistics.
DBMS_STATS.CREATE_STAT_TABLE
DBMS_STATS.EXPORT_TABLE_STATS
DBMS_STATS.EXPORT_TABLE_STATS retrieves table statistics for a
particular table and puts it in the user statistics table.
Call syntax
e.g.: exporting AM01 stat for testing purpose, including table and indexes.
DBMS_STATS.EXPORT_COLUMN_STATS
Call syntax
DBMS_STATS.EXPORT_INDEX_STATS
Call syntax
DBMS_STATS.EXPORT_SCHEMA_STATS
Call syntax
Call syntax
DBMS_STATS.IMPORT_TABLE_STATS
Call syntax
e.g.: importing statistics for table am01, including column and indexes.
DBMS_STATS.IMPORT_COLUMN_STATS
Call syntax
DBMS_STATS.IMPORT_INDEX_STATS
Retrieve statistics for an index from a user statistics table and store it in
dictionary.
Call syntax
Call syntax
DBMS_STATS.IMPORT_DATABASE_STATS
Call syntax
DBMS_STATS.DROP_STAT_TABLE
Call syntax
dbms_stats.drop_stat_table(ownname, stattab);
We will continue with Histograms and DML Monitoring in the next installment of
this series
Q)
alter USER GEC_HFS_NOVUS_V2_NEW
exec dbms_job.broken(224,TRUE);
exec dbms_job.broken(283,TRUE);
exec dbms_job.broken(244,TRUE);
exec dbms_job.broken(303,TRUE);
exec dbms_job.broken(245,TRUE);
exec dbms_job.broken(246,TRUE);
exec dbms_job.broken(247,TRUE);
exec dbms_job.broken(363,TRUE);
exec dbms_job.broken(364,TRUE);
SQL> sho user
USER is "GEC_HFS_NOVUS_V2_NEW"
exec dbms_job.broken(15772,TRUE);
15772
SQL> commit;
Commit complete.
USER is "ACBS_DM_NEW"
SQL> commit;
Commit complete.
SQL> commit;
Commit complete.
SQL> commit;
Commit complete.
USER is "GEC_HFS_BBC"
SQL> commit;
Commit complete.
SQL> commit;
Commit complete.
SQL> exec dbms_job.broken(245,TRUE);
SQL> commit;
Commit complete.
SQL> commit;
Commit complete.
SQL> commit;
Commit complete.
How to create a folder and giving privileges to run "run_sqlplus.sh" script for an
user.
Example:
mkdir /util/dba/batchscripts/<Folder_name>
Note: This folder name will be same as the schema name, in which user wants
to run the scripts. e.g. DWC_RSK_OWNER
Example:
ORA_USER[Next_number_from_the_sequence]='<username>/<schma_name
>/<password>'
Example:
ORA_USER[48]='u500872422/dwc_rsk_owner/xxxxxxx'
Note : Please take the backup of the file before adding the entries.
Method - I
Stpe.1
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 1022
MAXINSTANCES 1
MAXLOGHISTORY 1361
LOGFILE
GROUP 1 (
'/d011/oradata/IGEN_D14/redo01a.log',
'/d011/oradata/IGEN_D14/redo01b.log'
) SIZE 50M,
-- STANDBY LOGFILE
DATAFILE
'/d011/oradata/IGEN_D14/siebelindex_17.dbf',
'/d011/oradata/IGEN_D14/siebeldata_14.dbf',
'/d011/oradata/IGEN_D14/siebelindex_18.dbf'
Step.2
Note:
ex: /backup01/oradata/ICEF_P1/b060605_2230/IVFS_P14_recovery.info
Database altered.
Tablespace altered.
Tablespace altered.
Database altered.
Method - II
Create controlfile.
after that…
ORA-00289: suggestion :
/u01/app/oracle/product/9.2.0/dbs/arch1_8440.dbf
/u01/THIRU/redo01.log
ORA-00289: suggestion :
/u01/app/oracle/product/9.2.0/dbs/arch1_8440.dbf
/u01/THIRU/redo02.log
Log applied.
SQL>
Database altered.
12 )
STATUS NAME
------- ----------------------------------------
/d002/oradata/ICEF_S14/control01.ctl
/r002/oradata/ICEF_S14/control02.ctl
20 rows selected.
FILE_NAME
--------------------------------------------------------------------------------
/d002/oradata/ICEF_S14/system01.dbf
/d002/oradata/ICEF_S14/undo_rbs01.dbf
/d002/oradata/ICEF_S14/undo_rbs02.dbf
/d002/oradata/ICEF_S14/tools01.dbf
/d002/oradata/ICEF_S14/users01.dbf
/d002/oradata/ICEF_S14/precise_tbs_01.dbf
/d002/oradata/ICEF_S14/siebeldata_01.dbf
/d002/oradata/ICEF_S14/siebeldata_02.dbf
/d002/oradata/ICEF_S14/siebeldata_03.dbf
/d002/oradata/ICEF_S14/siebeldata_04.dbf
/d002/oradata/ICEF_S14/siebeldata_05.dbf
FILE_NAME
--------------------------------------------------------------------------------
/d002/oradata/ICEF_S14/siebeldata_06.dbf
/d002/oradata/ICEF_S14/siebeldata_07.dbf
/d002/oradata/ICEF_S14/siebeldata_08.dbf
/d002/oradata/ICEF_S14/siebeldata_09.dbf
/d002/oradata/ICEF_S14/siebeldata_10.dbf
/d002/oradata/ICEF_S14/siebeldata_11.dbf
/d002/oradata/ICEF_S14/siebeldata_12.dbf
/d002/oradata/ICEF_S14/siebeldata_16k_01.dbf
/d002/oradata/ICEF_S14/siebeldata_16k_02.dbf
/d002/oradata/ICEF_S14/siebeldata_16k_03.dbf
/d002/oradata/ICEF_S14/siebelindex_01.dbf
FILE_NAME
--------------------------------------------------------------------------------
/d002/oradata/ICEF_S14/siebelindex_02.dbf
/d002/oradata/ICEF_S14/siebelindex_03.dbf
/d002/oradata/ICEF_S14/siebelindex_04.dbf
/d002/oradata/ICEF_S14/siebelindex_05.dbf
/d002/oradata/ICEF_S14/siebelindex_06.dbf
/d002/oradata/ICEF_S14/siebelindex_07.dbf
/d002/oradata/ICEF_S14/siebelindex_08.dbf
/d002/oradata/ICEF_S14/siebelindex_09.dbf
/d002/oradata/ICEF_S14/siebelindex_10.dbf
/d002/oradata/ICEF_S14/siebelindex_11.dbf
/d002/oradata/ICEF_S14/siebelindex_12.dbf
FILE_NAME
--------------------------------------------------------------------------------
/d002/oradata/ICEF_S14/siebelindex_13.dbf
/d002/oradata/ICEF_S14/siebelindex_14.dbf
/d002/oradata/ICEF_S14/siebelindex_15.dbf
/d002/oradata/ICEF_S14/siebelindex_16.dbf
/d002/oradata/ICEF_S14/siebelindex_17.dbf
/d002/oradata/ICEF_S14/undo_rbs03.dbf
/d002/oradata/ICEF_S14/siebeldata_13.dbf
/d002/oradata/ICEF_S14/siebeldata_14.dbf
/d002/oradata/ICEF_S14/siebelindex_18.dbf
/d002/oradata/ICEF_S14/siebeldata_15.dbf
/d002/oradata/ICEF_S14/siebeldata_16.dbf
FILE_NAME
--------------------------------------------------------------------------------
/d002/oradata/ICEF_S14/siebelindex_19.dbf
/d002/oradata/ICEF_S14/siebelindex_20.dbf
/d002/oradata/ICEF_S14/siebeldata_17.dbf
/d002/oradata/ICEF_S14/siebelindex_21.dbf
/d002/oradata/ICEF_S14/siebeldata_18.dbf
/d002/oradata/ICEF_S14/siebelindex_22.dbf
50 rows selected.
SQL>
FILE_NAME BYTES/1024/1024
---------------------------------------- ---------------
/d002/oradata/ICEF_S14/temp02.dbf 1000
/d002/oradata/ICEF_S14/temp01.dbf 1951
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++
cmfalgaqsbdb02(oracle): ls -ltr
total 21387930
-rw-r--r-- 1 oracle dba 10887168 Oct 1 17:18 ctl_bk.bin
-rw-r--r-- 1 oracle dba 16999963 Oct 1 17:18 ICEF_P14_35523.arc.Z
-rw-r--r-- 1 oracle dba 19128118 Oct 1 17:18 ICEF_P14_35524.arc.Z
-rw-r--r-- 1 oracle dba 18890688 Oct 1 17:19 ICEF_P14_35525.arc.Z
-rw-r--r-- 1 oracle dba 19180158 Oct 1 17:19 ICEF_P14_35526.arc.Z
-rw-r--r-- 1 oracle dba 17247521 Oct 1 17:19 ICEF_P14_35527.arc.Z
-rw-r--r-- 1 oracle dba 15960059 Oct 1 17:19 ICEF_P14_35528.arc.Z
-rw-r--r-- 1 oracle dba 12197277 Oct 1 17:19 ICEF_P14_35529.arc.Z
-rw-r--r-- 1 oracle dba 15347385 Oct 1 17:19 ICEF_P14_35530.arc.Z
-rw-r--r-- 1 oracle dba 4982 Oct 1 17:19 ICEF_P14files.rco
-rw-r--r-- 1 oracle dba 334 Oct 1 17:19 ICEF_P14_recovery.info
-rw-r--r-- 1 oracle dba 11755 Oct 1 17:19 icef_p14_ora_5722.trc
-rw-r--r-- 1 oracle dba 20248 Oct 1 17:19
ICEF_P14_hotbackup_5661.lst
-rw-r--r-- 1 oracle dba 4696115 Oct 1 17:19 ICEF_P14_35531.arc.Z
-rw-r--r-- 1 oracle dba 733099 Oct 1 17:19 precise_tbs_01.dbf.Z
-rw-r--r-- 1 oracle dba 2862 Oct 1 17:19 initICEF_P14.ora
-rw-r--r-- 1 oracle dba 8326 Oct 1 17:19 ICEF_P14files.txt
-rw-r--r-- 1 oracle dba 944311673 Oct 1 17:30 siebeldata_01.dbf.Z
-rw-r--r-- 1 oracle dba 808606243 Oct 1 17:39 siebeldata_08.dbf.Z
-rw-r--r-- 1 oracle dba 803203695 Oct 1 17:48 siebeldata_09.dbf.Z
-rw-r--r-- 1 oracle dba 1010909071 Oct 1 18:00 siebeldata_15.dbf.Z
-rw-r--r-- 1 oracle dba 296455954 Oct 1 18:03
siebeldata_16k_01.dbf.Z
-rw-r--r-- 1 oracle dba 1335101054 Oct 1 18:18 siebelindex_01.dbf.Z
-rw-r--r-- 1 oracle dba 1378156719 Oct 1 18:34 siebelindex_05.dbf.Z
-rw-r--r-- 1 oracle dba 1426926341 Oct 1 18:49 siebelindex_06.dbf.Z
-rw-r--r-- 1 oracle dba 1087520717 Oct 1 19:02 siebelindex_13.dbf.Z
-rw-r--r-- 1 oracle dba 1059517165 Oct 1 19:14 siebelindex_14.dbf.Z
-rw-r--r-- 1 oracle dba 648494316 Oct 1 19:21 undo_rbs02.dbf.Z
cmfalgaqsbdb02(oracle): ls -ltr|wc -l
29
cmfalgaqsbdb02(oracle): ls -ltr *Z|wc -l
21
cmfalgaqsbdb02(oracle): pwd
/d002/oradata/ICEF_S14
cmfalgaqsbdb02(oracle):
--
221 Goodbye.
cmfalgaqsbdb02(oracle): pwd
/d002/oradata/ICEF_S14
cmfalgaqsbdb02(oracle): ftp 3.131.89.235
Connected to 3.131.89.235.
220 cmfciohpsbdb02 FTP server (SunOS 5.8) ready.
Name (3.131.89.235:orasuppt):
331 Password required for orasuppt.
Password:
230 User orasuppt logged in.
ftp> bin
200 Type set to I.
ftp> prompt
Interactive mode off.
ftp> hash
Hash mark printing on (8192 bytes/hash mark).
ftp> cd /backup22/oradata/ICEF_P14/b071001_0522
250 CWD command successful.
ftp> mget *
Soruce : CHIRU
Target : PAVAN
NAME
--------------------------------------------------------------------------------
/u01/CHIRU/system01.dbf
/u01/CHIRU/undo01.dbf
/u01/CHIRU/user_data01.dbf
/u01/CHIRU/user_data02.dbf
/u01/CHIRU/system02.dbf
/u01/CHIRU/roll_seg01.dbf
NAME
--------------------------------------------------------------------------------
/u01/CHIRU/control01.ctl
cp initCHIRU.ora initPAVAN.ora
Database altered.
NAME
---------
PAVAN
no rows selected
Tablespace altered.
NAME
--------------------------------------------------------------------------------
/u01/PAVAN/temp01.tmp
Change the Global_Name.
Step 7:
GLOBAL_NAME
--------------------------------------------------------------------------------
CHIRU
Database altered.
GLOBAL_NAME
--------------------------------------------------------------------------------
PAVAN
cfp10 db restore :
i.e
cfp10_all.sh stop
i.e
cfp10_all.sh start
auto
tr?den 1
tr?den 1
SESSION_ID ORACLE_USERNAME
---------- ------------------------------
285 APPS
285 APPS
SUM(BYTES)/1024/1024
--------------------
28290.5625
Anil Kumar Nagir... SUM(BYTES)/1024/1024
--------------------
28146.5625
Anil Kumar Nagir... select sum(BYTES)/1024/1024 from dba_temp_files where
TABLESPACE_NAME='TEMP';
SUM(BYTES)/1024/1024
--------------------
1494
Anil Kumar Nagir... SQL> select sum(BYTES)/1024/1024/1024 from
dba_temp_files where TABLESPACE_NAME='TEMP';
SUM(BYTES)/1024/1024/1024
-------------------------
1.45898438
DB version Upgrade :
_ generate and save a list of objects which are in an invalid state prior to the upgrade
select owner,object_name,object_type from dba_objects where status='INVALID' order by
owner;
_ take a full cold backup of the database (a sufficient backup to be used to restore in
case of a problem may already exist from a regularly scheduled backup)
_ copy the init.ora from the existing ORACLE_HOME to the 9.2.0.6 ORACLE_HOME
_ verify the new init.ora in the 9.2.0.6 ORACLE_HOME has a minimum size of 150MB specified
for both SHARED_POOL_SIZE and JAVA_POOL_SIZE
_ set environment to 9.2.0.6 HOME now that oratab has been modified (. appsel or . oraenv)
_ cd $ORACLE_HOME/rdbms/admin
_ sqlplus /nolog
SQL> connect / as sysdba
SQL> startup migrate
SQL> spool patch_<SID>.log
SQL> @catpatch.sql (time will vary but to date has taken 15 - 20 minutes)
SQL> spool off
SQL> !more patch_<SID>.log (review patch log for errors and inspect the
list of components displayed at the bottom
if Real Application Clusters is invalid and not
using RAC then this is OK - currently no databases
are RAC enabled)
note: catpatch.sql can be rerun if errors are found
SQL> shutdown
SQL> exit
_ if resized the shared_pool_size or java_pool_size earlier, they can now be set back
_ sqlplus /nolog
SQL> connect / as sysdba
SQL> select * from v$version; (should now reflect 9.2.0.6)
_ generate a list of objects that are now in an invalid state - compare this list to the list
created earilier and verify nothing was "broken" during the upgrade - fix as necessary
_ update the ORACLE_HOME for the database just upgraded in the listener.ora and
reload the listener (be certain when reloading the listener your ORACLE_HOME is set to
the ORACLE_HOME of the listener which may not be the 9.2.0.6 ORACLE_HOME just
upgraded to)
_ may need to take a database backup after all is complete - for development and QA this may
not be required however for a production DB in archivelog mode should have a backup
to recover from and apply archive logs if necessary
_ upgrade DB inventory to reflect 9.2.0.6 (be certain to update the Janurary 2005 Critical patch
to Yes)
Note :
When tables are manually created before data is imported, the CREATE
TABLE statement in the export dump file will fail because the table already
exists. To avoid this failure and continue loading data into the table, set the
import parameter IGNORE=y. Otherwise, no data will be loaded into the table
because of the table creation error.
A full export does not export triggers owned by schema SYS. You must
manually re-create SYS triggers either before or after the full import. Oracle
Corporation recommends that you re-create them after the import in case they
define actions that would impede progress of the import.
BUFFER determines the number of rows in the array inserted by Import. The
following formula gives an approximation of the buffer size that inserts a given
array of rows:
For tables containing LONG, LOB, BFILE, REF, ROWID, UROWID, or DATE
columns, rows are inserted individually. The size of the buffer must be large
enough to contain the entire row, except for LOB and LONG columns. If the
buffer cannot hold the longest row in a table, Import attempts to allocate a
larger buffer
http://www.rdbprime.com/Oracle/Oracle_Docs/Oracle9iDB_Server/server.920/a
96652/ch02.htm
dict
database_properties
Profile setting in oracle
ITG138704
Dba_lobs
EDFWIN = STGDB
EDFSUN = CUBDB
CCPMPROD =EEF_P24
3.219.188.118
select 'grant SELECT on ' || owner || '.' || object_name || ' to U501603105;' from
dba_objects where object_type IN
('TABLE','VIEW','MATERIALIZED VIEW') and
owner IN
('EDFDBE','PDM_DBE','PDM_STG','SDM_DBE','SDM_STG','EDF
INF','EDFREP','EDFCON','EDFPDM','EDFPDMR','EDFPDMT','ED
FDBER','DWH_ARCHIVE','EDFMDJ','EDFSTG2');
select 'create synonym U501603105.' || object_name || ' for ' || owner || '.' ||
object_name ||';' from dba_objects
where object_type in ('TABLE','VIEW','MATERIALIZED VIEW') and
owner IN
('EDFDBE','PDM_DBE','PDM_STG','SDM_DBE','SDM_STG','EDF
INF','EDFREP','EDFCON','EDFPDM','EDFPDMR','EDFPDMT','ED
FDBER','DWH_ARCHIVE','EDFMDJ','EDFSTG2');
I am trying to compile the package, I am getting an error
http://www.rdbprime.com/Oracle/Oracle_Docs/Oracle9iDB_Server/server.920/a
96524/c01_02intro.htm#3591
http://www.akadia.com/services/ora_statspack_survival_guide.html
http://www.akadia.com/services/ora_statspack_survival_guide.html
references
http://www.adp-gmbh.ch/ora/misc/static_dictionary_views.html#objects
===================================================
TABLE_NAME
------------------------------
CRDT_CSTM_DTLS_CAL_MTHEND
CRDT_CSTM_DTLS_CAL_MTHEND
This error means that an attempt has been made to insert a record
with a duplicate (unique) key. This error will also be generated if an
existing record is updated to generate a duplicate (unique) key.
Typically this is a duplicate primary key, but it need not be the
primary key
========================================
G00695998 5446
exp_casplan2a_141155.par
Host = ciohcmfdbp01
Parfile = /util/dba/parfiles/exp_casplan2a_141155.par
CASPLAN1A
kernel.shmmax = 3221225472
kernel.shmmni = 4096
kernel.shmall = 2097152
fs.file-max = 65536
kernel.shm-use-bigpages = 2
EDFDBE.CALL_PIPELINE_SUM_PIPE
create public synonym 141548_ U501603105 for
EDFDBE.CALL_PIPELINE_SUM_PIPE
ITG#141383
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
. /util/dba/bin/oracle.env
ORAENV_ASK=NO
. oraenv
unset ORAENV_ASK
rm /export/home/oracle/dataimport.log
#! /bin/ksh
sqlplus -s system/sysdba1<<E-O-
F>>/export/home/oracle/dataimport.log
prompt
prompt ==================================
prompt ==================================
@/export/home/oracle/dataimport_q02.sql
exit
E-O-F
. /util/dba/bin/oracle.env
ORAENV_ASK=NO
. oraenv
unset ORAENV_ASK
#! /bin/ksh
sqlplus -s system/sysdba1<<E-O-
F>>/export/home/oracle/dataimport.log
prompt
prompt ==================================
prompt ==================================
@/export/home/oracle/dataimport_q12.sql
prompt
=====================================================
====================
=======
prompt
=====================================================
====================
=======
exit
E-O-F
cd /export/home/oracle
set feedback on
commit;
commit;
select count(1) from ADE.PMS_BENELUX;
commit;
ukkinua08ceefge(oracle):
=========================================
MAPPING> CMN_1022 Database driver error...
CMN_1022 [ALTER TABLE a_New_Volume_Sales_Cur ENABLE PRIMARY
KEY
primary key violated : means table has some duplicate rows or null value so
check that or run the query alter table table name enable no validate
Thanks for pointing that out. It seems after the clone the WF sql got overwritten
by the production version.
I made changes in the URL to make it point to d67 (eg.
http://cmfstctgld02.mmf.capital.ge.com:8044/requestlog/).
However I now get a file not found error. Attached are the e-mail notifications.
Could you please look into it and let me know why the files cannot be found.
The actual location of the files is
Interface Log File:
/mmfd67/oracle/mmfd67comn/admin/log/mmfd67_cmfstctdbd01/l2250332.req
Journal Import Out File:
/mmfd67/oracle/mmfd67comn/admin/out/mmfd67_cmfstctdbd01/o2250334.out
http://cmfciohpglap02.mmf.capital.ge.com:8050/requestlog/l2250154.req
Job for inserting Branch LEs from GOLDNET to LED is not working properly.
Please analyze anf fix the broken job.
Job Name: LED.BRANCHLE
Dababase : ICEF_P20
Schema: LED
SQL> select job, what, BROKEN from user_jobs;
JOB WHAT B
---------- -------------------- -
41 LED.BRANCHLE; N
The application job is looping. We are removing the job from the production
database until the loop is fixed. Closing the case for now. Please constact us in
case any issue.
Discoverer link :
http://ukkinua14ceefge.mmf.capital.ge.com:8031/discwb4/html/english/ms_ie/st
art_ie.htm
============================================================
=========
exec
dbms_stats.gather_schema_stats('BLUEWIRE',5,NULL,NULL,NULL,'
ALL',TRUE);
exec
dbms_stats.gather_schema_stats('DDI',5,NULL,NULL,NULL,'ALL',TR
UE);
=================================================
(FREE_BLOCKS)*8096/1024/1024/1024
---------------------------------
14.0516415
exec
dbms_stats.gather_schema_stats('BLUEWIRE',5,NULL,NULL,NULL,'
ALL',TRUE);
exec
dbms_stats.gather_schema_stats('DDI',5,NULL,NULL,NULL,'ALL',TR
UE);
Good to know you guys took this case and attended on time but one
correction. Pl. follow it in future. Information in the case not enough. Hence
in the first place, communicate either over phone or same time with customer
and take the missing details.
What we did was just yanked the case, created a default user under USERS
tablesace and closed the case..
Customer came to us saying that its closed and didn’t work for them. Its our
duty to go a step further and ask them the missing details. Hence please take
care
Regards
swamy
FYI
No support for DML. External tables are read-only, but the base data can be
edited in any text editor.
Poor response for high-volume queries. External tables have a processing
overhead and are not suitable for large tables.
SQL>
ukkinua01ceefge $ vi cub_143299.par
userid=system/sysdba1
file=CubdbTab143299_new.dmp
tables=(consisdev.A_CONTRACT_PORTFOLIO_EXTATTR)
log=CubdbTab143299_new.log
ukkinua01ceefge $
userid=system/sysdba1
buffer=2000000
grants=n
fromuser=consisdev
touser=EDFCON
tables=(A_CONTRACT_PORTFOLIO_EXTATTR)
indexes=n
commit=y
constraints=y
rows=y
file=/backup01/oradata/CUBDB/CubdbTab143299_new.dmp
log=/backup01/oradata/CUBDB/Tab143299_new.log
ignore=y
cmfkwukprdb01(oracle):
EDFWIN = STGDB
EDFSUN = CUBDB
CCPMPROD =EEF_P24
3.219.188.118
ITG138801
i) DWC_PARTNER_MONTHLY_SNP
copy data in the following three partitions 1.e.
DWC_PARTNER_MONTHLY_SNP_200801
,DWC_PARTNER_MONTHLY_SNP_200802 and
DWC_PARTNER_MONTHLY_SNP_200803
of the table in MMFD01 (UAT) to the corresponding partitions in
MMFP01.
Parfile :
mmfd0004(oracle): vi exp_tab_mmfd01.par
userid=system/sysdba1
tables=(dwv_owner.DWC_PARTNER_MONTHLY_SNP:DWC_PARTNER_MO
NTHLY_SNP_200801,
dwv_owner.DWC_PARTNER_MONTHLY_SNP:DWC_PARTNER_MONTHLY_
SNP_200802,
dwv_owner.DWC_PARTNER_MONTHLY_SNP:DWC_PARTNER_MONTHLY_
SNP_200803,
grants=y
indexes=y
CONSISTENT=y
compress=n
rows=y
direct=y
file=$DMPFILE
constraints=y
schemaname.tablename:partition name
select 'grant SELECT on ' || owner || '.' || object_name || ' to U501603105;' from
dba_objects where object_type IN ('TABLE','VIEW','MATERIALIZED VIEW')
and owner IN
('EDFDBE','PDM_DBE','PDM_STG','SDM_DBE','SDM_STG','EDFINF','EDFRE
P','EDFCON','EDFPDM','EDFPDMR','EDFPDMT','EDFDBER','DWH_ARCHIVE'
,'EDFMDJ','EDFSTG2');
select 'create synonym U501603105.' || object_name || ' for ' || owner || '.' ||
object_name ||';' from dba_objects where object_type in
('TABLE','VIEW','MATERIALIZED VIEW') and owner IN
('EDFDBE','PDM_DBE','PDM_STG','SDM_DBE','SDM_STG','EDFINF','EDFRE
P','EDFCON','EDFPDM','EDFPDMR','EDFPDMT','EDFDBER','DWH_ARCHIVE'
,'EDFMDJ','EDFSTG2');
select 'grant SELECT on ' || owner || '.' || object_name || ' to
BO_GLMADHOCUSER;' from dba_objects where object_type IN
('TABLE','VIEW','MATERIALIZED VIEW') and owner IN (‘ODS_REPL’);
select 'create synonym BO_OLMUSER.' || object_name || ' for ' || owner || '.' ||
object_name ||';' from dba_objects where object_type in
('TABLE','VIEW','MATERIALIZED VIEW') and owner IN (‘OLMUSER ');
EDF_STG
select 'create synonym U501603105.' || object_name || ' for ' || owner || '.' ||
object_name ||';' from dba_objects
owner IN (EDFSTG');
The first step in the installation is the creation of the PERFSTAT user, which
owns all PL/SQL code and database objects created, including the Statspack
tables, constraints, and the Statspack package. During installation, you are
prompted for the PERFSTAT user's password, default tablespace, and temporary
tablespace. The default tablespace is used to create all Statspack objects, such as tables
and indexes. The temporary tablespace is used for sort-type activities.
See Also:
Note:
When installing the Statspack package, you can either change to the
ORACLE_HOME/rdbms/admin directory, or fully specify the
ORACLE_HOME/rdbms/admin directory when calling the installation script,
SPCREATE.SQL.
Start SQL*Plus.
Connect as a user with SYSDBA privilege. For example:
SQL> CONNECT / AS SYSDBA
Run the SPCREATE.SQL script.
o On UNIX platforms, enter the following:
o SQL> @?/rdbms/admin/spcreate
o
o On Windows platforms, enter the following:
o SQL> @%ORACLE_HOME%\rdbms\admin\spcreate
o
Enter appropriate information when prompted for the PERFSTAT user's
password, default tablespace, and temporary tablespace.
Connected.
USER is "PERFSTAT"
SQL> @?/rdbms/admin/spauto.sql
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~
the job:
JOBNO
----------
~~~~~~~~~~~~~~~~~
NAME_COL_PLUS_SHOW_PARAM TYPE
---------------------------------------------------------------- -----------
VALUE_COL_PLUS_SHOW_PARAM
------------------------------------------------------------------------------
job_queue_processes integer
~~~~~~~~~~~~~~~~~~
9 27-MAR-08 12:00:00
SQL> @?/rdbms/admin/spreport.sql
Current Instance
~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fge
Completed Snapshots
Snap Snap
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
============================================================
===============
stats pack report :
SQL> @?/rdbms/admin/spcreate
SQL> @?/rdbms/admin/spauto.sql
SQL> @?/rdbms/admin/spreport.sql
ITG# 144181
Then, recreate this table with the entire DDL including grants.
COUNT(1)
----------
352
I need to check the output and log of a request run by another user from a
certain X responsibility, when I am accessing oracle apps through the same X
responsibility.
For this there is this profile options "Concurrent:Report Access Level" which
needs to be set to either USER or responsibility.
Please help me know if there is anything else I need to set for this.
WHERE granted_role='EXP_FULL_DATABASE');
============================================================
===============
EXP-00079: Data in table "ACCOUNT_FORECAST_KEY" is protected.
Conventional path may only be exporting partial table.
Sol :
post clone kee time ora 600 ata tha too kya karte hai :
agar 10g hai to maxloghistory ko half kar dete hai controlfile creation mein
mein…..
Inenetd refreshed
============================================================
=========
SQL> exec
dbms_stats.gather_table_stats(ownname=>'DWV_OWNER',tabname=>'DWC_
PARTNER_MONTHLY_SNP',partname=>'DWC_PARTNER_MONTHLY_SNP_
200801',estimate_percent=>5,degree=>4);
Create synonym :
HFS_LOG_DIR : /ap01/hfsstage/log
Directory created.
DBMS_JOB.REMOVE (15772);
DBMS_JOB.REMOVE (43);
WHAT
--------------------------------------------------------------------------------
job_control_run;
RUN_HOT_QUOTES_EXTRACT;
CREATE_FLEXILEASE_GRID;
statspack.snap;
PROCESS_MULTIQUOTES;
options_set_ignore;
auto_report.initialise_reports;
PHX_CLI.CLI_FLEX_GRID.TRFR_CTRL;
18 ligne(s) sélectionnée(s).
JOB
----------
WHAT
--------------------------------------------------------------------------------
18170
job_control_run;
17286
RUN_HOT_QUOTES_EXTRACT;
18 ligne(s) sélectionnée(s).
ERROR:
ERROR:
Connecté.
Connecté.
exec dbms_job.broken(15772,TRUE);
Aatif Ansari/GE ... found a script on the net
Aatif Ansari/GE ... select 'You may need to increase the
SHARED_POOL_RESERVED_SIZE' Description,
'Request Failures = '||REQUEST_FAILURES Logic
from v$shared_pool_reserved
where REQUEST_FAILURES > 0
and 0 != (
select to_number(VALUE)
from v$parameter
where NAME = 'shared_pool_reserved_size')
union
select 'You may be able to decrease the SHARED_POOL_RESERVED_SIZE'
Description,
'Request Failures = '||REQUEST_FAILURES Logic
from v$shared_pool_reserved
where REQUEST_FAILURES < 5
and 0 != (
select to_number(VALUE)
from v$parameter
where NAME = 'shared_pool_reserved_size')
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
http://www.orafaq.com/wiki/Import_Export_FAQ#Can_one_monitor_how_fast_a
_table_is_imported.3F : For export/import
==================================================
FEHLER in Zeile 1:
ORA-08108: Dieser Index-Typ kann nicht online erstellt oder neu erstellt
werden
OWNER
------------------------------
WILLOW2K
INDEX_TYPE
---------------------------
FUNCTION-BASED NORMAL
ITG#146678
Sol :
cmfkwukprdb01(oracle): ulimit
unlimited
using ulimit u can check the max number of file u can open on server.
Tablespace dropped.
NAME
---------
MMFD91
Problem Description :
HI
Please setup the profile option and env files for HFS QA MMFQ77.
you can refer production (MMFP77) or DEV (MMFD77).
we need the profile option setup for Starting HFS Interface Engine.
Thanks
Sandeep
The requested file is owned by DBA. Dispatching the case to DBA team for
approval.
============================================================
=========
exec dbms_stats.gather_table_stats(ownname =>'DWC_OWNER',tabname =>
'DWC_EFG_VOLUME_FACT',estimate_percent => 5,cascade => true);
======================================================
Elapsed: 00:00:00.01
============================================================
===
mv '/u06/oradata/produkwi/produkwi_willfinidx01.dbf'
'/u12/oradata/produkwi/produkwi_willfinidx01.dbf'
'/u06/oradata/produkwi/produkwi_willfinidx01.dbf'
TO '/u12/oradata/produkwi/produkwi_willfinidx01.dbf'
STATUS
---------
ONLINE
userid=system/sysdba1
buffer=2000000
fromuser=MINERVA
touser=MINERVAUKPER
grants=y
ignore=y
indexes=y
rows=y
constraints=y
commit=y
file=$DMPFILE
[1] 799
$ cat imp.par
userid="/ as sysdba"
buffer=2000000
full=n
fromuser=GDB,INFOREP,INFODOM
touser=GDB,INFOREP,INFODOM
rows=y
commit=y
file=/backup04/GDBPROD_1.dmp
log=/backup04/GDBPROD_xx.log
corpsysfin:
I ran IE program and did not get wf notification. I checked the notif ID is 64827.
Please check mailer services.
'||constraint_name||' disable;'
buffer=2000000
fromuser=sysTEM
touser=MWIN_PM
rows=y
file=D:\SYSTEM_22_04_2008.dmp
log=D:\imp5.log
userid=system/sysdba1
file=CubdbTab148096_new.dmp
userid=system/sysdba1
fromuser= EDFCON
touser= EDFDBE
file=/backup03/CubdbTab148096_new.dmp
log=/backup03/CubdbTab148096_new.log
statistics=recalculate
BACKUP : exp_tables_148096.dmp
For mater.views :
:%s/string1/string2/g
it will find out the string1 and replaces with string2 at all occurrences
STATISTICS -
Export Completed on gecfsprd11 server : 8hrs approx (25 GB
approx)
File Transfer from gecfsprd11 to cseloukdudb03 server : 6hrs approx
Import Completed on cseloukdudb03 server : 35 hrs (6GB per hours
approx)
Status -
PRDIMNG.IMANAGE schema -
OBJECT_TYPE COUNT(1)
------------------ ----------
DATABASE LINK 5
FUNCTION 7
INDEX 345
INDEX PARTITION 2201
MATERIALIZED VIEW 18
PACKAGE 10
PACKAGE BODY 9
PROCEDURE 3
SEQUENCE 19
TABLE 168
TABLE PARTITION 1040
TYPE 2
SQL> select count(1) from dba_objects where owner='IMANAGE' and
status='INVALID';
COUNT(1)
----------
18
SQL> select count(1) from dba_objects where owner='IMANAGE' and
object_type='MATERIALIZED VIEW' AND status='VALID';
COUNT(1)
----------
10
CSE_D48.IMANAGE schema -
OBJECT_TYPE COUNT(1)
------------------- ----------
INDEX 345
PROCEDURE 3
TABLE PARTITION 1040
TABLE 168
TYPE 2
FUNCTION 7
MATERIALIZED VIEW 14
PACKAGE BODY 9
INDEX PARTITION 2201
PACKAGE 10
SEQUENCE 19
SQL> select count(1) from dba_objects where owner='IMANAGE' and
status='INVALID';
COUNT(1)
----------
3
OBJECT_TYPE OBJECT_NAME
--------------------------------------------------------------------------------
PROCEDURE CHECK_AVERAGE_WAIT
PACKAGE Imanage_Pkg_Dboard_10FEB
PACKAGE BODY IMANAGE_IREPORT_PKG
SQL> select count(1) from dba_objects where owner='IMANAGE' and
object_type='MATERIALIZED VIEW' AND status='VALID';
COUNT(1)
----------
14
London Server Hostname : cseloukdudb03
Database Name : CSE_D48
Username/Password : IMANAGE/IMANAGE1
TNSENTRY -
CSE_D48 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(Host = cse_d48.comfin.ge.com)(Port
= 1521))
(CONNECT_DATA = (SID = CSE_D48))
)
Complete Rman backup :
!/bin/ksh
export HOME_ORACLE=/export/home/oracle
. $HOME_ORACLE/.profile
export ORACLE_SID=cbrm
export ORAENV_ASK=NO
. oraenv
export ORAENV_ASK=YES
rm /backup03/rman/cbrm/*
mv /backup02/rman/cbrm/* /backup03/rman/cbrm/
mv /backup01/rman/cbrm/* /backup02/rman/cbrm/
ot_bkup.log append
SYS SYSTEM
SYSTEM SYSTEM
EBADMIN TOOLS
ORASUPPT USERS
OUTLN SYSTEM
TSMSYS SYSTEM
DIP SYSTEM
DBSNMP SYSAUX
COUNT(1) SEGMENT_TYPE
---------- ------------------
6 LOBINDEX
6 LOBSEGMENT
104 TABLE
82 INDEX
ERROR:
Connecté.
DWC_FF_OWNER.dwc_tmp_oas_docline
dbms_stats.gather_schema_stats(‘GL’,5,NULL,NULL,NULL,'ALL',TRUE);
===========================================
Import log file gies following error after full import of the db without data and for
next schema wise data import :
Import Complete
System password changed during full import ….rest it back and work fine
Please Create a read only user ID for EEF_Q02 and EEF_Q01 database on
ukkinua08ceefge :
Sol :
User created.
Grant succeeded.
Connected.
But in this case user has to put schema name before selecting any data i.e
Schemaname.tablename
=====================================================
cd $PO_TOP/bin
$ adrelink force=y ranlib=y "PO RCVOLTM"
a. $ps -ef | grep RCVOLTM (to see how many processes are running)
Verify rvacj.lpc file version is at 115.30 or higher. If not apply Patch 2019427.
cd $PO_TOP/bin
Verify rvtth.lpc file version is at 115.27 or higher. If not apply Patch 2191407.
cd $PO_TOP/bin
/csv01/oracle/csv01appl/po/11.5.0/patch/115/sql/RCVPRETB.pls
/csv01/oracle/csv01appl/PATCH/6665228/po/patch/115/sql/RCVPRETB.pls
/
csv01/oracle/csv01appl/PATCH/6665228/backup/csv01/cmfstctdbd01/po/patch/
115/sql/RCVPRETB.pls
cfp10 db restore :
i.e
cfp10_all.sh stop
i.e
cfp10_all.sh start
mmfdbp0003(oracle): pwd
/util/dba/bin/cfp10
mmfdbp0003(oracle): ls -ltr
total 16
mmfdbp0003(oracle): cd ../../bin/cfp10
mmfdbp0003(oracle): ls
cfp10_all.sh cfp10_db_cntl.sh
COMP_RTN="gzip"
function email_errors
## * cfp10*
23228
mmfdbp0003(oracle): pwd
/util/dba/bin
mmfdbp0003(oracle): cd ../cfp10/reports
mmfdbp0003(oracle): ls -ltr
total 200
Process Id = 23228
PARM=/backup01/oradata/cfp10/b061105_0340
Parameters For This Restore Are:
LOG = LOG
SID_NAME = cfp10
PARALLEL = 5
mmfdbp0003(oracle):
mmfdbp0003(oracle):
mmfdbp0003(oracle):
mmfdbp0003(oracle):
Uncompressing
/backup01/oradata/cfp10/b061105_0340/riskanalyst_data_f1.dbf.Z
TO /d007/oradata/cfp10/riskanalyst_data_f1.dbf
Uncompress Successful
Uncompressing /backup02/oradata/cfp10/b061105_0340/users01.dbf.Z
TO /d007/oradata/cfp10/users01.dbf
Uncompress Successful
Uncompressing
/backup02/oradata/cfp10/b061105_0340/riskanalyst_index_f1.dbf.Z
TO /d007/oradata/cfp10/riskanalyst_index_f1.dbf
Uncompress Successful
Uncompress ended
Uncompressing /backup02/oradata/cfp10/b061105_0340/redo01a.log.Z
TO /r001/oradata/cfp10/redo01a.log
Uncompress Successful
Uncompressing /backup02/oradata/cfp10/b061105_0340/redo01b.log.Z
TO /d007/oradata/cfp10/redo01b.log
Uncompress Successful
Uncompressing /backup02/oradata/cfp10/b061105_0340/redo02a.log.Z
TO /r001/oradata/cfp10/redo02a.log
Uncompress Successful
Uncompress ended
TO /d007/oradata/cfp10/redo02b.log
Uncompress Successful
Uncompressing /backup02/oradata/cfp10/b061105_0340/control1.ctl.Z
TO /d007/oradata/cfp10/control1.ctl
Uncompress Successful
Uncompressing /backup02/oradata/cfp10/b061105_0340/control2.ctl.Z
TO /r001/oradata/cfp10/control2.ctl
Uncompress Successful
Uncompress ended
Uncompressing /backup03/oradata/cfp10/b061105_0340/tools01.dbf.Z
TO /d007/oradata/cfp10/tools01.dbf
Uncompress Successful
Uncompressing
/backup03/oradata/cfp10/b061105_0340/riskanalyst_data_f3.dbf.Z
TO /d007/oradata/cfp10/riskanalyst_data_f3.dbf
Uncompress Successful
Uncompressing /backup04/oradata/cfp10/b061105_0340/undo_rbs01.dbf.Z
TO /d007/oradata/cfp10/undo_rbs01.dbf
Uncompress Successful
Uncompress ended
Uncompressing /backup04/oradata/cfp10/b061105_0340/temp01.dbf.Z
TO /d007/oradata/cfp10/temp01.dbf
Uncompress Successful
Uncompressing /backup05/oradata/cfp10/b061105_0340/system01.dbf.Z
TO /d007/oradata/cfp10/system01.dbf
Uncompress Successful
Uncompressing
/backup05/oradata/cfp10/b061105_0340/riskanalyst_index_f2.dbf.Z
TO /d007/oradata/cfp10/riskanalyst_index_f2.dbf
Uncompress Successful
Sun Nov 5 12:14:23 EST 2006
Uncompress ended
Restore Complete
^Cmmfdbp0003(oracle): pwd
/util/dba/cfp10/reports
mmfdbp0003(oracle): cd ../../bin/cfp10
mmfdbp0003(oracle): ls
cfp10_all.sh cfp10_db_cntl.sh
Database mounted.
Database opened.
mmfdbp0003(oracle): df -k /d007
/dev/vx/dsk/dbp03_d007_vg/d007
mmfdbp0003(oracle):
Method - I
Stpe.1
Start the database in nomount state.
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 1022
MAXINSTANCES 1
MAXLOGHISTORY 1361
LOGFILE
GROUP 1 (
'/d011/oradata/IGEN_D14/redo01a.log',
'/d011/oradata/IGEN_D14/redo01b.log'
) SIZE 50M,
-- STANDBY LOGFILE
DATAFILE
'/d011/oradata/IGEN_D14/siebelindex_17.dbf',
'/d011/oradata/IGEN_D14/siebeldata_14.dbf',
'/d011/oradata/IGEN_D14/siebelindex_18.dbf'
;
Step.2
Note:
ex: /backup01/oradata/ICEF_P1/b060605_2230/IVFS_P14_recovery.info
Database altered.
Tablespace altered.
Tablespace altered.
Database altered.
Method - II
Create controlfile.
after that…
/u01/THIRU/redo02.log
Log applied.
SQL>
Database altered.
RDBMS - 8.1.7.4.0
Oracle Applications - 11.5.7 (Single Node Instance)
Hostname - orafinprdcrege
Location - Stamford
SYSADMIN password - SYSADMIN
STOP
START
cmfalgadinfoap01(pserver7): ls -lrt
total 2920
-rwxr-xr-x 1 pserver7 pserver7 84 Oct 27 2005 stop_PA
-rwxr-xr-x 1 pserver7 pserver7 74 Oct 27 2005 start_PA_jboss_bkgrnd
-rwxr-xr-x 1 pserver7 pserver7 72 Oct 31 2005 eraseCache.sh
-rwxr-xr-x 1 pserver7 pserver7 221 Nov 1 2005
start_Alpha_DEV_pmserver_bkgrnd
-rwxr-xr-x 1 pserver7 pserver7 87 Nov 2 2005 start_PA_jboss_server
-rwxr-xr-x 1 pserver7 pserver7 1019 Nov 3 2005 pserver7check.sh
-rwxr-xr-x 1 pserver7 pserver7 204 Nov 10 2005 backup_DEV.sh
-rw-rw-r-- 1 pserver7 pserver7 1299 Nov 10 2005
Informatica_DEV_Trans.sh
-rwxr-xr-x 1 pserver7 pserver7 82 Nov 16 2005 run_cleanup.sh
-rwxr-xr-x 1 pserver7 pserver7 3580 Nov 16 2005 wipeout_oldfiles.sh
-rwxr-xr-x 1 pserver7 pserver7 269 Mar 8 2006 stop_servers
-rwxr-xr-x 1 pserver7 pserver7 956 Mar 13 2006 file_maint.sh
-rwxr-xr-x 1 pserver7 pserver7 583 Apr 26 2006
repository_backup_DEV.sh
-rwxr-xr-x 1 pserver7 pserver7 231 Apr 27 2006 start_servers
-rw-rw-r-- 1 pserver7 pserver7 1056 May 17 2006 wipeout.dat
-rwxr-xr-x 1 pserver7 pserver7 357732 Jun 5 2006 sscan.sol
-rw-rw-r-- 1 pserver7 pserver7 97605 Jun 5 2006 sscmfalgadinfoap01.xml
-rwxr-xr-x 1 pserver7 pserver7 6836 Jun 6 2006 pmstack
-rw-rw-r-- 1 pserver7 pserver7 1007902 Oct 21 2006 poweranalyzer.out.bkup
-rwxr-xr-x 1 pserver7 pserver7 284 Apr 16 10:41 move_folder.sh
-rw-r--r-- 1 pserver7 pserver7 704 May 21 16:20 poweranalyzer.out
-rw-r--r-- 1 pserver7 pserver7 0 May 21 16:20 nohup.out
cmfalgadinfoap01(pserver7): ls -lrt *stop*
-rwxr-xr-x 1 pserver7 pserver7 84 Oct 27 2005 stop_PA
-rwxr-xr-x 1 pserver7 pserver7 269 Mar 8 2006 stop_servers
cmfalgadinfoap01(pserver7): stop_servers
cmfalgadinfoap01(pserver7): cd /opt2/pserver7/Informatica/pcserver
cmfalgadinfoap01(pserver7): pmcmd ping cmfalgadinfoap01:5999