echo$ORACLE_SIDurpdb1urpdb1:/home/oracle@db1>sqlplus/a" />

日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

Oracle :多實(shí)例切換

系統(tǒng) 2650 0

Connecting to 10.1.4.21:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Last login: Mon Oct 14 13:58:58 2013 from 10.1.4.39
[root@db1 ~]# su - oracle

urpdb1:/home/oracle@db1> echo $ORACLE_SID
urpdb1


urpdb1:/home/oracle@db1>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Mon Oct 14 15:16:57 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> select instance_name,status from v$instance;

INSTANCE_NAME STATUS
---------------- ------------
urpdb1 OPEN

SQL> !


[oracle@db1 ~]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 14-OCT-2013 15:17:29

Copyright (c) 1991, 2011, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 03-SEP-2013 14:35:17
Uptime 41 days 0 hr. 42 min. 11 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/grid/product/11.2.0/grid_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/db1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.4.21)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.1.4.22)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "urpdb" has 1 instance(s).
Instance "urpdb1", status READY, has 1 handler(s) for this service...
Service "urpdbXDB" has 1 instance(s).
Instance "urpdb1", status READY, has 1 handler(s) for this service...
Service "ywkdb" has 1 instance(s).
Instance "ywkdb1", status READY, has 1 handler(s) for this service...
Service "ywkdbXDB" has 1 instance(s).
Instance "ywkdb1", status READY, has 1 handler(s) for this service...
The command completed successfully


[oracle@db1 ~]$ export ORACLE_SID=ywkdb1
[oracle@db1 ~]$ echo $ORACLE_SID
ywkdb1
[oracle@db1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Mon Oct 14 15:18:18 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> select instance_name,status from v$instance;

INSTANCE_NAME STATUS
---------------- ------------
ywkdb1 OPEN

SQL>

?

?

?

Oracle :多實(shí)例切換


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長非常感激您!手機(jī)微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 乌兰浩特市| 海淀区| 云南省| 栾城县| 武宁县| 斗六市| 涡阳县| 新蔡县| 石棉县| 彩票| 正定县| 梁平县| 沈阳市| 芦溪县| 屏东市| 巴东县| 雷州市| 白玉县| 仁怀市| 宜黄县| 张家界市| 贡嘎县| 惠州市| 定边县| 敦化市| 保靖县| 哈密市| 壶关县| 甘谷县| 郴州市| 定安县| 金平| 曲松县| 博乐市| 色达县| 广平县| 微山县| 那坡县| 鄂托克旗| 上犹县| 新平|