oracle啓動三步

[oracle@aa ~]$ export $ORACLE_SID=orclsql

[oracle@aa ~]$ echo $ORACLE_SID
orcl數據庫

[oracle@aa ~]$ rlwrap sqlplus / as sysdbaoracle

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 23 17:14:36 2011ide

Copyright (c) 1982, 2005, Oracle.  All rights reserved.進程

Connected to an idle instance.內存

SQL> startup nomount                            <----有參數文件pfile或者spfile就能夠,分配內存,只啓動實例,不加載數據庫。啓動了後臺進程,打開跟蹤文件,警告文件
ORACLE instance started.it

Total System Global Area  524288000 bytes
Fixed Size                  1220384 bytes
Variable Size             306184416 bytes
Database Buffers          209715200 bytes
Redo Buffers                7168000 bytesio

SQL> alter database mount;                      <----根據參數文件中定義的控制文件路徑,讀入內存。只加載數據庫,不打開數據庫。修改靜態參數要重啓數據庫,在這一步改。class

Database altered.後臺

SQL> alter database open;                       <-----打開數據庫。這三步等同於startup.

Database altered.  

相關文章
相關標籤/搜索