0% found this document useful (0 votes)
5 views2 pages

Database Shudown

The document outlines a series of SQL commands executed to manage an Oracle database instance, including shutting down and starting up the database with various methods. It details the system global area and buffer sizes during each startup. The commands demonstrate different shutdown options such as immediate, normal, transactional, and abort, along with the corresponding database states.

Uploaded by

nooremaan414
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Database Shudown

The document outlines a series of SQL commands executed to manage an Oracle database instance, including shutting down and starting up the database with various methods. It details the system global area and buffer sizes during each startup. The commands demonstrate different shutdown options such as immediate, normal, transactional, and abort, along with the corresponding database states.

Uploaded by

nooremaan414
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

SQL> clear scr;

SQL> shutdown immediate;


ORA-01031: insufficient privileges
SQL> conn sys as sysdba;
Connected.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> conn sys as sysdba;
Connected to an idle instance.
SQL> startup nomount;
ORACLE instance started.

Total System Global Area 1068937216 bytes


Fixed Size 2260048 bytes
Variable Size 645923760 bytes
Database Buffers 415236096 bytes
Redo Buffers 5517312 bytes
SQL> alter database mount;

Database altered.

SQL> alter database open;

Database altered.

SQL> shutdown immediate;


Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup open;
ORACLE instance started.

Total System Global Area 1068937216 bytes


Fixed Size 2260048 bytes
Variable Size 645923760 bytes
Database Buffers 415236096 bytes
Redo Buffers 5517312 bytes
Database mounted.
Database opened.
SQL> clear scr;

SQL> shutdown normal;


Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup open;
ORACLE instance started.

Total System Global Area 1068937216 bytes


Fixed Size 2260048 bytes
Variable Size 645923760 bytes
Database Buffers 415236096 bytes
Redo Buffers 5517312 bytes
Database mounted.
Database opened.
SQL> shutdown transactional;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup open;
ORACLE instance started.

Total System Global Area 1068937216 bytes


Fixed Size 2260048 bytes
Variable Size 645923760 bytes
Database Buffers 415236096 bytes
Redo Buffers 5517312 bytes
Database mounted.
Database opened.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup open;
ORACLE instance started.

Total System Global Area 1068937216 bytes


Fixed Size 2260048 bytes
Variable Size 645923760 bytes
Database Buffers 415236096 bytes
Redo Buffers 5517312 bytes
Database mounted.
Database opened.
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup open;
ORACLE instance started.

Total System Global Area 1068937216 bytes


Fixed Size 2260048 bytes
Variable Size 645923760 bytes
Database Buffers 415236096 bytes
Redo Buffers 5517312 bytes
Database mounted.
Database opened.
SQL> spool off;

You might also like