數據庫啟動步驟
阿新 • • 發佈:2017-08-06
rom ima spf inf image stat logs con 動態
啟動實例:
$ ls $ORACLE_HOME/dbs/spfileorcl.ora
Strings ORACLE_HOME/dbs/spfileorcl.ora
SQL> shutdown immediate
SQL> startup nomount
SQL> select status from v$instance;
SQL> select * from v$sgainfo;
SQL> select * from hr.employees;
SQL> conn hr/hr
SQL> startup mount或alter database mount;
SQL> show parameter control_files
SQL> select status from v$instance;檢查實例狀態
SQL> select * from v$controlfile;動態性能視圖
SQL> select name from v$datafile;
SQL> select * from hr.employees;
SQL> conn hr/hr
SQL> startup或alter database open;
SQL> select status from v$instance;
SQL> select * from hr.employees;
SQL> conn hr/hr
數據庫啟動步驟