Oracle Restart Steps

Source: Internet
Author: User

1. Stop the application layer of the various programs.

$lsnrctl stop

3. Under exclusive system users, backup the control files:

Sql>alter database backup controlfile to trace;

sql>alter system switch logfile;
5. Under exclusive system users, run the following SQL statement, Generate a Kill_all_session.sql file that kills database user connections:

Set feedback off;
Set NewPage none;
Spool/oracle_backup/bin/kill_all_session.sql
Select ' Alter system kill session ' | | sid| | ',
' | | serial#| | '; ' from v$session where username are not null;
Spool off;

6. Under the exclusive system user, execute the kill_all_session.sql file that killed the database user connection:


7. Under exclusive system users, close the database in Immediate mode:

Or
Svrmgrl>shutdown immediate;

8. Start the ORALCE monitoring process:


9. Under exclusive system users, start the Oralce database:

Sql>connect/as SYSDBA
sql>startup;

Or:

Svrmgrl>connect internal;
svrmgrl>startup;

10. Start the application layer of the various programs.

Oracle Restart Steps

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.