Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Shutdown database abort
Shreepad Vaidya wrote:
>
> Hi,
>
> Preferably try for
> 1) Shutdown (normal mode ) .If your application has many user
> connected tell them to disconnect first else this might take eons.
> or
> 2) shutdown immediate . (Remember this will rollback transactions ,
> but for long uncommitted transactions this will take a long time) )
>
> As far as possible do not give Shutdown abort except in
> extreme circumstances .
>
> In Oracle 8 onwards
>
> 3) Shutdown transactional will allow you to complete the transaction.
>
> shreepad
>
Are you running DBA_JOBS? (job_queue_processes>0)
Do you have Agents running?
These types of processes can interfere with a shutdown immediate (let
alone shutdown normal).
If you break your DBA_JOBS first - and kill the agent processes - then a
shutdown immediate should be okay.
IMHO:
shutdown abort
startup restrict
shutdown normal
sounds like the "only way to be sure" to have a clean shutdown before a *COLD* backup.
Hot backups may be a better solution for daily backups, if the database is in archivelog mode.
Paul
> To: Shreepad Vaidya/EMEA/ALLTELCORP, ORACLE-L_at_fatcity.com AT
> INTERNET_at_CCMAIL
> cc:
>
> Hi,
>
> To shutdown the database for daily backup, I issue the following
> commands :
> 1) shutdown database abort
> 2) startup database normal
> 3) shutdown database normal.
>
> Is this the recommended procedure, could gurus share your experience ?
> Thanks.
>
> Regds,
> New Bee
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Paul Drake INET: paled_at_home.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 Sat May 12 2001 - 00:55:39 CDT