您好,登錄后才能下訂單哦!
1、數據庫狀態查詢: SQL>select status from v$instance; 2、數據庫監聽狀態查詢: C:/Documents and Settings/skate_db>lsnrctl status
1、數據庫狀態命令結果詳解: 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、數據庫監聽命令結果詳情: 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 啟動日期 19-7月 -2008 11:47:59 正常運行時間 0 天 0 小時 23 分 19秒 跟蹤級別 off 安全性 ON: Password or Local OS Authentication SNMP OFF 監聽程序參數文件 E:/oracle/product/10.2.0/db_3/network/admin/listener.ora 監聽程序日志文件 E:/oracle/product/10.2.0/db_3/network/log/listener.log 監聽端點概要... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=//./pipe/EXTPROC1ipc))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=skate)(PORT=1522))) 服務摘要.. 服務 "PLSExtProc" 包含 1 個例程。 例程 "PLSExtProc", 狀態 UNKNOWN, 包含此服務的 1 個處理程序... 服務 "orcl" 包含 1 個例程。 例程 "orcl", 狀態 READY, 包含此服務的 1 個處理程序... 服務 "orclXDB" 包含 1個例程。 例程 "orcl", 狀態 READY, 包含此服務的 1 個處理程序... 服務 "orcl_XPT" 包含 1 個例程。 例程 "orcl", 狀態 READY, 包含此服務的 1 個處理程序... 命令執行成功
2、數據庫監聽本地查詢結果: 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
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。