隨筆-193  評論-715  文章-1  trackbacks-0
          其實就是停止數據據時,千萬別用 shutdown abort; 這樣的命令。

          啥也不多說了,看日志:

          SQL> startup mount
          ORACLE instance started.

          Total System Global Area  608174080 bytes
          Fixed Size                  1220820 bytes
          Variable Size             176164652 bytes
          Database Buffers          423624704 bytes
          Redo Buffers                7163904 bytes
          Database mounted.
          SQL> alter database archivelog;
          alter database archivelog
          *
          ERROR at line 1:
          ORA-00265: instance recovery required, cannot set ARCHIVELOG mode


          SQL> shutdown immediate;
          ORA-01109: database not open


          Database dismounted.
          ORACLE instance shut down.
          SQL> startup;
          ORACLE instance started.

          Total System Global Area  608174080 bytes
          Fixed Size                  1220820 bytes
          Variable Size             176164652 bytes
          Database Buffers          423624704 bytes
          Redo Buffers                7163904 bytes
          Database mounted.
          Database opened.
          SQL> shutdown immediate;
          Database closed.
          Database dismounted.
          ORACLE instance shut down.
          SQL> startup mount
          ORACLE instance started.

          Total System Global Area  608174080 bytes
          Fixed Size                  1220820 bytes
          Variable Size             176164652 bytes
          Database Buffers          423624704 bytes
          Redo Buffers                7163904 bytes
          Database mounted.
          SQL> alter database archivelog;

          Database altered.

          SQL> archive log list;
          Database log mode              Archive Mode
          Automatic archival             Enabled
          Archive destination            USE_DB_RECOVERY_FILE_DEST
          Oldest online log sequence     14103
          Next log sequence to archive   14105
          Current log sequence           14105
          SQL> alter database open;

          Database altered.

          SQL>

          posted on 2009-08-06 00:09 Robin's Programming World 閱讀(1648) 評論(0)  編輯  收藏 所屬分類: DB
          <2009年8月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          常用鏈接

          留言簿(49)

          隨筆分類(215)

          隨筆檔案(181)

          相冊

          收藏夾

          Friend Links

          • Tiger的Blog,專注于過程改進,項目管理,質量管理三個方向。
          • zrfunds

          搜索

          •  

          積分與排名

          • 積分 - 756310
          • 排名 - 60

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 大庆市| 昌乐县| 肇庆市| 合川市| 卫辉市| 墨竹工卡县| 澄城县| 宁德市| 宜春市| 烟台市| 米泉市| 彰武县| 青冈县| 乌兰察布市| 舞阳县| 古田县| 北票市| 黔东| 吴忠市| 谢通门县| 连州市| 西乌珠穆沁旗| 湾仔区| 遵义市| 二连浩特市| 化德县| 治多县| 景德镇市| 林西县| 平顶山市| 新源县| 通化市| 施甸县| 绩溪县| 麻江县| 波密县| 鄯善县| 阜新| 乌兰察布市| 南川市| 镇巴县|