folks
oracle 8.1.7 in linux
My alert log file is approx 25mb is there a way to trim it.
I want to delete the log file. will it generate the fresh alert log file after i delete.
I want to have free space in linux file system
Gajanan
Printable View
folks
oracle 8.1.7 in linux
My alert log file is approx 25mb is there a way to trim it.
I want to delete the log file. will it generate the fresh alert log file after i delete.
I want to have free space in linux file system
Gajanan
If you don't need it just blow it away and a new one will be created when Oracle decides he needs to create an entry. The easiest way to give yourself comfort in this is, to go and delete the alert log, then issue a log file switch. Oracle will create a new alert log for you.
In the same way listener.log
also will grow.
make a copy of that (open that file in wordpad --use save as)
and delete the contents of the original file and save that.
Try this:
cp alert.log alert_old.log
cat /dev/null >alert.log
It is upto you whether to delete alert_old.log or not.
Tamil