ORA-01097停機報錯

來源:互聯網
上載者:User

ORA-01097停機報錯

SQL> insert into emp2 select * from emp2;

14 rows created.

SQL> shutdown immediate

ORA-01097: cannot shutdown while in a transaction - commit or rollback first

因為在本機執行DML操作後沒有提交,導致資料庫無法停機,

解決辦法:

1、在本事務session視窗將事務提交或復原,然後停機;

2、在其它的視窗執行shutdown immediate停機。

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機器中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

相關文章

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.