1、數(shù)據(jù)庫(kù)狀態(tài)查詢: SQL>select status from v$instance; 2、數(shù)據(jù)庫(kù)監(jiān)聽(tīng)狀態(tài)查詢: C:/Documents and Settings/skate_db>lsnrctl status
1、數(shù)據(jù)庫(kù)狀態(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ù)庫(kù)監(jiān)聽(tīng)命令結(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)聽(tīng)程序參數(shù)文件 E:/oracle/product/10.2.0/db_3/network/admin/listener.ora 監(jiān)聽(tīng)程序日志文件 E:/oracle/product/10.2.0/db_3/network/log/listener.log 監(jiān)聽(tīng)端點(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ù)庫(kù)監(jiān)聽(tīng)本地查詢結(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
                網(wǎng)站名稱:Oracle查看數(shù)據(jù)庫(kù)與數(shù)據(jù)庫(kù)監(jiān)聽(tīng)啟動(dòng)狀態(tài)
                
                本文URL:http://chinadenli.net/article46/pgpgeg.html
            
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站導(dǎo)航、企業(yè)網(wǎng)站制作、網(wǎng)站維護(hù)、全網(wǎng)營(yíng)銷推廣、標(biāo)簽優(yōu)化、域名注冊(cè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)