Jump to content

Oracle Dba Discussion Board


Recommended Posts

Posted

[quote name='KOTC' timestamp='1363027956' post='1303404274']



thanks bhayya

nuv ilanti scripts em ayina run chestava?
[/quote]


naa every system lo untadi e script

Posted

[quote name='CheGuevara' timestamp='1363028468' post='1303404341']


naa every system lo untadi e script
[/quote]


adi just adump ki kadha bhayy mari alert log inka listener log ela chesav

nenu adump chesi chesa adi ok ayindi kani alert log avatam ledhu

Posted

[quote name='KOTC' timestamp='1363029126' post='1303404405']


adi just adump ki kadha bhayy mari alert log inka listener log ela chesav

nenu adump chesi chesa adi ok ayindi kani alert log avatam ledhu
[/quote]


aa script lo e below line undi chdu adi change chey as per your path and req.

or x in `find /u02/app/oracle/admin/SHARK/adump -name "exp-*" -type f -atime +30

"exp-*" place lo aa alert log location or listener log location lo files starting with ani evvu ...then it will work

Posted

[quote name='CheGuevara' timestamp='1363029275' post='1303404416']


aa script lo e below line undi chdu adi change chey as per your path and req.

or x in `find /u02/app/oracle/admin/SHARK/adump -name "exp-*" -type f -atime +30

"exp-*" place lo aa alert log location or listener log location lo files starting with ani evvu ...then it will work
[/quote]


ani okate file lo petukovachu antav anthe na?

Posted

[quote name='KOTC' timestamp='1363029394' post='1303404423']


ani okate file lo petukovachu antav anthe na?
[/quote]

nuvvu oka script thone anni logs clear cheyyali antunnava....like adump, alert and listener logs anni okka script tho clean cheyyala....then pina cheppina line e times pettu ade script lo to delete each type of log

Posted

[quote name='CheGuevara' timestamp='1363030036' post='1303404468']
nuvvu oka script thone anni logs clear cheyyali antunnava....like adump, alert and listener logs anni okka script tho clean cheyyala....then pina cheppina line e times pettu ade script lo to delete each type of log
[/quote]

yeah ani logs oka script tho delete cheyali ani idea

Posted

[quote name='KOTC' timestamp='1363033967' post='1303404814']
yeah ani logs oka script tho delete cheyali ani idea
[/quote]11g lo aithe adrci lo shortp_policy longp_policy lo purge policy set cheyi, oracle will do the clean up for u the trc,trm and xml files

alert log and listener.log files aithe..manual or through script zip cheyali..or else truncate cheyali (using cat /dev/null > alert_db.log )

Posted

[quote name='Silence..Please' timestamp='1363038683' post='1303405380']
11g lo aithe adrci lo shortp_policy longp_policy lo purge policy set cheyi, oracle will clean up for u
alert log and listener.log files aithe..manual or through script zip cheyali..or else truncate cheyali (using cat /dev/null > alert_db.log )
[/quote]

ela script zip cheyali?ardham avaledhu

Posted

[quote name='KOTC' timestamp='1363038822' post='1303405393']

ela script zip cheyali?ardham avaledhu
[/quote] u need to come up with a script, lets say ni alert_<dbname>.log so n so size reach aithe .. zero cheseyyatam or else tail -10000 alert_dbname.log > bkup_alert_dbname.log chesi zero chesey alert log ni using dev/null
give a try .. chinna script raayatam nerchuko, best chance idhe niku to learn

Posted

[quote name='Silence..Please' timestamp='1363038683' post='1303405380']
11g lo aithe adrci lo shortp_policy longp_policy lo purge policy set cheyi, oracle will do the clean up for u the trc,trm and xml files

alert log and listener.log files aithe..manual or through script zip cheyali..or else truncate cheyali (using cat /dev/null > alert_db.log )
[/quote]

super bhayya


e link follow ayanu nuv chepaka

http://streetkiter.wordpress.com/2011/04/06/do-you-really-need-one-year-old-logs-and-traces-for-your-oracle-database/

Posted

[quote name='Silence..Please' timestamp='1363038939' post='1303405405']
u need to come up with a script, lets say ni alert_<dbname>.log so n so size reach aithe .. zero cheseyyatam or else tail -10000 alert_dbname.log > bkup_alert_dbname.log chesi zero chesey alert log ni using dev/null
give a try .. chinna script raayatam nerchuko, best chance idhe niku to learn
[/quote]


yeah correct morning nuchi koncham learning bhayya

Thanks bhayya for detail explanation

Posted

[quote name='KOTC' timestamp='1363039439' post='1303405459']

super bhayya


e link follow ayanu nuv chepaka

[url="http://streetkiter.wordpress.com/2011/04/06/do-you-really-need-one-year-old-logs-and-traces-for-your-oracle-database/"]http://streetkiter.w...racle-database/[/url]
[/quote] remember .. adrci only purges trc,trm,xml files ..it will not purge alertlog or listenerlog files .. sometimes these log files can grow in gb, when no cleanup scripts have been placed

Posted

[quote name='Silence..Please' timestamp='1363039591' post='1303405481']
remember .. adrci only purges trc,trm,xml files ..it will not purge alertlog or listenerlog files .. sometimes these log files can grow in gb, when no cleanup scripts have been placed
[/quote]

ohk cool bhayya ippudu a e long policy set cheste a trc,trm files kuda delete avutai??

Posted

[color=#000000][font=Tahoma, Verdana, Helvetica, sans-serif][b][right]Which Files Are Part Of SHORTP_POLICY And LONGP_POLICY In ADR? [ID 975448.1][/right][/b][/font][/color]

Posted

[b] DBA Related Shell Scripts[/b]



http://smahamed.blogspot.com/2011/03/dba-related-shell-scripts.html

×
×
  • Create New...