Even if you "rm" the file, it will still be consuming disk space
until the file is closed (when the DB comes down). The down
side is that you will no longer be able to see any new entries.

I'm not sure what the results will be if you
cp /dev/null alert_SID.log

HTH & HAND!
==============================================
Guang Mei wrote:

> Hi:
>
> I have a oracle db (oracle 8.0.5 on Sun Unix) whose alert_<sid>.log size is
> too large. I want to delete it.
>
> Can I just simply do  "rm  alert_<sid>.log" without shuting down the db,
> assuming there is no "writting" going on to the file at that moment?  I
> usually do shutdown, delete alert log file, and then startup db again. But
> this is a 24*7 db and can not be shutdown.
>
> TIA.
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Guang Mei
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Charlie Mengler
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to