Unable to delete SMON trace file [message #567667] |
Thu, 04 October 2012 03:13  |
|
Dear All,
In my database smon tracefile was huge,now we want to delete the same,I also tried with ordebug operation but no use,Kindly help me regarding this and advice to delete tracfile which Smon generates.
Thanks,
Anil
|
|
|
|
|
|
Re: Unable to delete SMON trace file [message #567684 is a reply to message #567679] |
Thu, 04 October 2012 06:28   |
John Watson
Messages: 8870 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I think you may be able to use the ocopy utility in %ORACLE_HOME%\bin to copy a small file (anything will do) over the large smon trace file while it is open, and so free up the space. I haven't tested this, but it will cost you nothing to try.
|
|
|
Re: Unable to delete SMON trace file [message #567690 is a reply to message #567684] |
Thu, 04 October 2012 06:45  |
|
Dear John,
I tried using this but no use.
C:\Documents and Settings\webserver>ocopy E:\admin\tunise\bdump\tunise_lgwr_3296.trc E:\admin\tunise\bdump\tunise_smon_3304.TRC
E:\ADMIN\TUNISE\BDUMP\TUNISE_SMON_3304.TRC
OCOPY - Unable to open output file E:\ADMIN\TUNISE\BDUMP\TUNISE_SMON_3304.TRC.
Only thing we need to do now get downtime and remove that trace.Thanks for your usefull advice.
Regards,
Anil
|
|
|