3. 数据库处于MOUNT状态
数据库读取控制文件中的内容,并按照控制文件中指定的参数找到相应的数据文件,并启动数据库的归档或非归档状态。
数据库在此状态检查各个数据文件的一致性。如果出现数据文件损坏,要求用户进行恢复。
SQL> startup mount;
Oracle instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 104859892 bytes
Database Buffers 58720256 bytes
Redo Buffers 2973696 bytes
Database mounted.
4. 数据库处于OPEN状态
数据库在此状态检查各个数据文件的一致性。如果出现数据文件损坏,要求用户进行恢复。
SQL> startup;
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 104859892 bytes
Database Buffers 58720256 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
SQL>
5.改变数据库的状态
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 96471284 bytes
Database Buffers 67108864 bytes
Redo Buffers 2973696 bytes
SQL> alter database mount;
Database altered.
SQL> alter database open;
Database altered.
