1、數(shù)據(jù)庫狀態(tài)查詢: SQL>select status from v$instance; 2、數(shù)據(jù)庫監(jiān)聽狀態(tài)查詢: C:/Documents and Settings/skate_db>lsnrctl status
1、數(shù)據(jù)庫狀態(tài)命令結(jié)果詳解: oracle.orca@/export/home/oracle > sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 24 10:40:38 2015 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> select status from v$instance; STATUS ------------ OPEN
2、數(shù)據(jù)庫監(jiān)聽命令結(jié)果詳情: C:/Documents and Settings/skate_db>lsnrctl status LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-7月 -2008 12:1 1:19 Copyright (c) 1991, 2005, Oracle. All rights reserved. 正在連接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) LISTENER 的 STATUS ------------------------ 別名 LISTENER 版本 TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ ction 啟動(dòng)日期 19-7月 -2008 11:47:59 正常運(yùn)行時(shí)間 0 天 0 小時(shí) 23 分 19秒 跟蹤級(jí)別 off 安全性 ON: Password or Local OS Authentication SNMP OFF 監(jiān)聽程序參數(shù)文件 E:/oracle/product/10.2.0/db_3/network/admin/listener.ora 監(jiān)聽程序日志文件 E:/oracle/product/10.2.0/db_3/network/log/listener.log 監(jiān)聽端點(diǎn)概要... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROC1ipc))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=skate)(PORT=1522))) 服務(wù)摘要.. 服務(wù) "PLSExtProc" 包含 1 個(gè)例程。 例程 "PLSExtProc", 狀態(tài) UNKNOWN, 包含此服務(wù)的 1 個(gè)處理程序... 服務(wù) "orcl" 包含 1 個(gè)例程。 例程 "orcl", 狀態(tài) READY, 包含此服務(wù)的 1 個(gè)處理程序... 服務(wù) "orclXDB" 包含 1個(gè)例程。 例程 "orcl", 狀態(tài) READY, 包含此服務(wù)的 1 個(gè)處理程序... 服務(wù) "orcl_XPT" 包含 1 個(gè)例程。 例程 "orcl", 狀態(tài) READY, 包含此服務(wù)的 1 個(gè)處理程序... 命令執(zhí)行成功
2、數(shù)據(jù)庫監(jiān)聽本地查詢結(jié)果: oracle.orca@/export/home/oracle > lsnrctl status LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 24-AUG-2015 10:49:42 Copyright (c) 1991, 2009, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production Start Date 24-AUG-2015 10:34:13 Uptime 0 days 0 hr. 15 min. 28 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Log File /u01/app/oracle/diag/tnslsnr/T5120/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=T5120)(PORT=1521))) Services Summary... Service "orca" has 1 instance(s). Instance "orca", status READY, has 1 handler(s) for this service... Service "orcaXDB" has 1 instance(s). Instance "orca", status READY, has 1 handler(s) for this service... The command completed successfully成都創(chuàng)新互聯(lián)公司網(wǎng)站建設(shè)公司,提供成都做網(wǎng)站、成都網(wǎng)站設(shè)計(jì)、成都外貿(mào)網(wǎng)站建設(shè),網(wǎng)頁設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專業(yè)做網(wǎng)站服務(wù);可快速的進(jìn)行網(wǎng)站開發(fā)網(wǎng)頁制作和功能擴(kuò)展;專業(yè)做搜索引擎喜愛的網(wǎng)站,是專業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來合作!
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。