Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Deleting alert_<sid>.log while db is running?
On Sun, 25 Mar 2001, you 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.
You can delete it while the database is running. However, it will not be created again until the database is bounced. Thus, you will not receive any log messages until that time. A better idea is to simply delete the entries you don't want from the alert log.
Cheers,
GC
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Gregory Conron INET: gconron_at_hfx.andara.com 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: ListGuru_at_fatcity.com (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).Received on Sun Mar 25 2001 - 10:55:58 CST
![]() |
![]() |