Oracle數(shù)據(jù)庫啟動(dòng)的四個(gè)階段,見下圖: 1. 數(shù)據(jù)庫處于SHUTDOWN狀態(tài) 在此種狀態(tài),數(shù)據(jù)庫處于停止?fàn)顟B(tài)。不能接受外界數(shù)據(jù)請(qǐng)求。使用
Oracle數(shù)據(jù)庫啟動(dòng)的四個(gè)階段,見下圖:
1. 數(shù)據(jù)庫處于SHUTDOWN狀態(tài)
在此種狀態(tài),數(shù)據(jù)庫處于停止?fàn)顟B(tài)。不能接受外界數(shù)據(jù)請(qǐng)求。使用操作系統(tǒng)命令ps –ef | grep ora看不到任何數(shù)據(jù)庫進(jìn)程的存在。
2. 數(shù)據(jù)庫處于NOMOUNT狀態(tài)
在此種狀態(tài),數(shù)據(jù)庫后臺(tái)進(jìn)程已經(jīng)建立。并根據(jù)參數(shù)文件中關(guān)于SGA的相關(guān)參數(shù),,建立共享內(nèi)存區(qū)和缺省的oracle數(shù)據(jù)庫進(jìn)程。并同時(shí)檢查相關(guān)初始化參數(shù)的正確性。
使用操作系統(tǒng)命令可以考到相應(yīng)的進(jìn)程。ps –ef | grep ora_ 并且使用ipcs –m命令可以看到以oracle用戶建立起來的共享內(nèi)存區(qū)。
oracle@db1:~> sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 3 22:48:27 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount;
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
SQL>
查看進(jìn)程狀態(tài).
oracle@db1:~> ps -ef | grep ora_
oracle 3626 1 0 22:48 ? 00:00:00 ora_pmon_orcl1
oracle 3628 1 0 22:48 ? 00:00:00 ora_psp0_orcl1
oracle 3630 1 0 22:48 ? 00:00:00 ora_mman_orcl1
oracle 3632 1 0 22:48 ? 00:00:00 ora_dbw0_orcl1
oracle 3634 1 0 22:48 ? 00:00:00 ora_lgwr_orcl1
oracle 3636 1 0 22:48 ? 00:00:00 ora_ckpt_orcl1
oracle 3638 1 0 22:48 ? 00:00:00 ora_smon_orcl1
oracle 3640 1 0 22:48 ? 00:00:00 ora_reco_orcl1
oracle 3642 1 0 22:48 ? 00:00:00 ora_cjq0_orcl1
oracle 3644 1 0 22:48 ? 00:00:00 ora_mmon_orcl1
oracle 3646 1 0 22:48 ? 00:00:00 ora_mmnl_orcl1
oracle 3648 1 0 22:48 ? 00:00:00 ora_d000_orcl1
oracle 3650 1 0 22:48 ? 00:00:00 ora_s000_orcl1
oracle 3669 3652 0 22:50 pts/2 00:00:00 grep ora_
oracle@db1:~>
oracle@db1:~> ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0xe835086c 458764 oracle 640 171966464 14
oracle@db1:~>
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com