Oracle查看資料庫與資料庫監聽啟動狀態

來源:互聯網
上載者:User

標籤:copyright   oracle   documents   

   1、資料庫狀態查詢:   SQL>select status from v$instance;   2、資料庫監聽狀態查詢:   C:/Documents and Settings/skate_db>lsnrctl status
   1、資料庫狀態命令結果詳解:   [email protected]/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、資料庫監聽本地查詢結果:   [email protected]/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


Oracle查看資料庫與資料庫監聽啟動狀態

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.