60%
DBCA_PROGRESS : 62%
正在进行数据库创建
DBCA_PROGRESS : 66%
DBCA_PROGRESS : 70%
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 85%
DBCA_PROGRESS : 96%
DBCA_PROGRESS : 100%
数据库创建完成。有关详细信息, 请查看以下位置的日志文件:
/opt/oracle/cfgtoollogs/dbca/hello。
数据库信息:
全局数据库名:hello.dlxg.gov.cn
系统标识符 (SID):hello
建库后实例检查:
$ ps -ef | grep ora_ | grep -v grep | wc -l
21
$ ps -ef | grep ora_ | grep -v grep
oracle 5955 1 0 07:03 00:00:00 ora_pmon_hello
oracle 5957 1 0 07:03 00:00:00 ora_vktm_hello
oracle 5961 1 0 07:03 00:00:00 ora_gen0_hello
oracle 5963 1 0 07:03 00:00:00 ora_diag_hello
oracle 5965 1 0 07:03 00:00:00 ora_dbrm_hello
oracle 5967 1 0 07:03 00:00:00 ora_psp0_hello
oracle 5969 1 0 07:03 00:00:00 ora_dia0_hello
oracle 5971 1 0 07:03 00:00:00 ora_mman_hello
oracle 5973 1 0 07:03 00:00:00 ora_dbw0_hello
oracle 5975 1 0 07:03 00:00:00 ora_lgwr_hello
oracle 5977 1 0 07:03 00:00:00 ora_ckpt_hello
oracle 5979 1 0 07:03 00:00:00 ora_smon_hello
oracle 5981 1 0 07:03 00:00:00 ora_reco_hello
oracle 5983 1 0 07:03 00:00:00 ora_mmon_hello
oracle 5985 1 0 07:03 00:00:00 ora_mmnl_hello
oracle 5987 1 0 07:03 00:00:00 ora_d000_hello
oracle 5989 1 0 07:03 00:00:00 ora_s000_hello
oracle 5999 1 0 07:03 00:00:00 ora_qmnc_hello
oracle 6020 1 0 07:03 00:00:00 ora_cjq0_hello
oracle 6022 1 0 07:04 00:00:00 ora_q000_hello
oracle 6024 1 0 07:04 00:00:00 ora_q001_hello
查看监听状态
$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 14-MAR-2012 07:09:03
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 14-MAR-2012 06:16:50
Uptime 0 days 0 hr. 52 min. 15 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/11.2.0/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/oracle11gcentos6/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "hello.dlxg.gov.cn" has 1 instance(s).
Instance "hello", status READY, has 1 handler(s) for this service...
Service "helloXDB.dlxg.gov.cn" has 1 instance(s).
Instance "hello", status READY, has 1 handler(s) for this service...
The command completed successfully
13 修改数据库为归档模式(归档模式才能热备份,增量备份)
$ export ORACLE_SID=hello
$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Wed Mar 14 07:18:16 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate;
Database closed.