oracle監聽,資料庫,oracle伺服器的啟動和停用

來源:互聯網
上載者:User

標籤:強制   tms   伺服器   sqlplus   iat   關閉資料庫   immediate   media   startup   

  • 一.oracle監聽,資料庫,oracle伺服器的啟動和停用

使用root使用者登入:切換使用者su – root/root作業系統,一般只有root使用者才有許可權去作業系統中安裝的oracle資料庫伺服器,然後使用資料庫管理員使用者去啟用和停用相關服務。

1.啟動oracle監聽:使用root使用者登入後,使用命令:lsnrctl start   //啟動監聽

2.啟動資料庫:使用資料庫管理員dba使用者(sqlplus ‘/as sysdba‘)去啟動和關閉資料庫。

串連資料庫:connect  /as sysdba

啟動資料庫:startup

停用資料庫:shutdown      安全性退出:shutdown immediate   強制退出:shutdown abort

3.啟動和停用oracle服務:使用root使用者使用者登入作業系統su root

啟動oracle服務:tmboot -y 

停用oracle服務: tmshutdown -cy -w1

oracle監聽,資料庫,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.