You are on page 1of 4

[dbss@prodss may]$ df Filesystem /dev/cciss/c0d0p1 /dev/cciss/c0d0p5 /dev/cciss/c0d0p3 /dev/cciss/c0d0p2 none /dev/cciss/c0d0p6 =====================

-h Size Used Avail Use% Mounted on 15G 6.5G 7.4G 47% / 49G 85M 46G 1% /app 77G 45G 29G 62% /backup 337G 287G 34G 90% /db 2.0G 0 2.0G 0% /dev/shm 9.7G 55M 9.1G 1% /tmp

15th dbf cold backup loc: /db/242backup/may15coldbackup 10ghome tar file proddb.tar : /db/242backup

-----------------------------------.PDF find $APPLCSF/$APPLLOG -mtime +7 -name '*.req' -type f -exec rm -f {} \; prodcomn/admin/out/PROD_proddb/XML_XXCAPR003_N_751770_1.RTF /prodcomn/admin/out/PROD_proddb/XML_XXCAPR008_N_855162_1.EXCEL prodcomn/admin/out/PROD_proddb find $APPLCSF/$APPLLOG -mtime +7 -name '*.log' -type f -exec rm -f {} \; find $APPLCSF/$APPLLOG -mtime +7 -name '*.txt' -type f -exec rm -f {} \; find $APPLCSF/$APPLLOG -mtime +7 -name 'f60web*' -type f -exec rm -f {} \; find $APPLCSF/$APPLLOG -mtime +7 -name '*.mgr' -type f -exec rm -f {} \; find $APPLCSF/$APPLLOG -mtime +7 -name '*.lck' -type f -exec rm -f {} \; find $APPLCSF/$APPLLOG -mtime +7 -name '*.excel' -type f -exec rm -f {} \; find /apps/oracle/prodcomn/admin/out/PROD_proddb -mtime +7 -name '*.PDF' -type f -exec rm -f {} \; find /apps/oracle/prodcomn/admin/log/PROD_proddb -mtime +10 -name '*.req' -ty pe f -exec rm -f {} \; find $APPLCSF/$APPLOUT -mtime +7 -name '*.EXCEL' -type f -exec rm -f {} \; find $APPLCSF/$APPLOUT -mtime +7 -name '*.out' -type f -exec rm -f {} \; find $APPLCSF/$APPLOUT -mtime +7 -name '*.PDF' -type f -exec rm -f {} \; fnd /apps/testcomn/admin/log/test_test -mtime +7 -name 'f60webmx_*' -type f -ex ec rm -f {} \; find /apps/testcomn/admin/log/test_test -mtime +7 -name 'f60web*' -type f -exe c rm -f {} \;

find /apps/testcomn/admin/log/test_test -mtime +0 -name '*.req' -type f -exec r m -f {} \; find /apps/testcomn/admin/log/test_test -name '.req' -type f -exec rm -f {} \; find /apps/testcomn/admin/log/test_test -mtime +0 -name '*.mgr' -type f -exec r m -f {} \; find /apps/testcomn/admin/log/test_test -mtime +0 -name '*.rti' -type f -exec r m -f {} \; find /apps/testcomn/admin/log/test_test -mtime +0 -name '*.txt' -type f -exec r m -f {} \; EXCEL find /apps/oracle/prodcomn/admin/out/PROD_proddb -mtime +10 -name '*.EXCEL' -t ype f -exec rm -f {} \; find /apps/oracle/prodcomn/admin/out/PROD_proddb -mtime +10 -name '*.PDF' -typ e f -exec rm -f {} \; ================== rman backup batch command: rman> run ( allocate channel cha1 type disk; backup format "/ u01/rmanbak/full_% t" tag full-backup database; release channel cha1; ) 6, automatic backup plan prepared by a week 1, write a backup script # Vi bakl0 run ( allocate channel cha1 type disk; backup incremetal level 0 format "/ u01/rmanbak/inc0_% u_% T" tag monday_inc0 database; release channel cha1; ) # Vi bakl1 run ( allocate channel cha1 type disk; backup incremetal level 1 format "/ u01/rmanbak/inc1_% u_% T" tag monday_inc1 database; release channel cha1; ) # Vi bakl2 run (

allocate channel cha1 type disk; backup incremetal level 2 format "/ u01/rmanbak/inc2_% u_% T" tag monday_inc2 database; release channel cha1; ) # Crontab-e-u oracle 45 23 * * 0 rman target 45 23 * * 1 rman target 45 23 * * 2 rman target 45 23 * * 3 rman target 45 23 * * 4 rman target 45 23 * * 5 rman target 45 23 * * 6 rman target # Service crond restart =================== select * from dba_objects where status='INVALID' ; / / / / / / / msglog msglog msglog msglog msglog msglog msglog = = = = = = = bakl0.log bakl0.log bakl0.log bakl0.log bakl0.log bakl0.log bakl0.log cmdfile cmdfile cmdfile cmdfile cmdfile cmdfile cmdfile = = = = = = = bakl0 bakl2 bakl2 bakl1 bakl2 bakl2 bakl2

select wi.item_type ITEM_TYPE, wit.persistence_type P_TYPE, decode (wi.end_date, NULL, 'OPEN', 'CLOSED') Status, count(*) COUNT from wf_items wi, wf_item_types wit where wit.name = wi.item_type group by item_type, wit.persistence_type, WIT.PERSISTENCE_DAYS, decode (wi.end_date, NULL, 'OPEN', 'CLOSED') order by decode (wi.end_date, NULL, 'OPEN', 'CLOSED'), 4 desc; select count(*) from WF_ITEM_ATTRIBUTE_VALUES; select count(*) from WF_ITEM_ACTIVITY_STATUSES; select count(*) from WF_NOTIFICATION_ATTRIBUTES;

select wi.item_type ITEM_TYPE, wit.persistence_type P_TYPE, decode (wi.end_date, NULL, 'OPEN', 'CLOSED') Status, count(*) COUNT from wf_items wi, wf_item_types wit where wit.name = wi.item_type group by item_type, wit.persistence_type, WIT.PERSISTENCE_DAYS, decode (wi.end_date, NULL, 'OPEN', 'CLOSED') order by decode (wi.end_date, NULL, 'OPEN', 'CLOSED'), 4 desc; POERROR

SELECT * FROM WF_ITEM_TYPES WHERE SELECT * FROM WF_ITEMS WHERE ITEM_TYPE='POERROR' SELECT * FROM WF_ITEMS WHERE ITEM_TYPE='WFERROR' 2561517 - Finer Tuning of the WF Background Process - Stuck Processes https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=README&id= 225947.1#120678