Oracle資料庫啟動的四個階段

來源:互聯網
上載者:User

Oracle資料庫啟動的四個階段,見:

1. 資料庫處於SHUTDOWN狀態

在此種狀態,資料庫處於停止狀態。不能接受外界資料請求。使用作業系統命令ps –ef | grep ora看不到任何資料庫進程的存在。

2. 資料庫處於NOMOUNT狀態

在此種狀態,資料庫後台進程已經建立。並根據參數檔案中關於SGA的相關參數,建立共用記憶體區和預設的oracle資料庫進程。並同時檢查相關初始化參數的正確性。

使用作業系統命令可以考到相應的進程。ps –ef | grep ora_  並且使用ipcs –m命令可以看到以oracle使用者建立起來的共用記憶體區。

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>


查看進程狀態.

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:~>

  • 1
  • 2
  • 下一頁

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.