91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

ORA-16018解決辦法

發布時間:2020-07-14 18:16:36 來源:網絡 閱讀:1498 作者:abc3486389 欄目:關系型數據庫

因為11g歸檔日志默認路徑是:DB_RECOVERY_FILE_DEST  空間大小是2G 導致日志撐滿,數據庫hang住了

修改歸檔日志報ORA-16018錯誤:

先創建歸檔日志存放目錄:

 

orahost:root:[/oracle]#mkdir arch_log

orahost:root:[/oracle]#chown –R oracle:oinstall ./arch_log

orahost:root:[/oracle]#chmod 775 ./arch_log

orahost:root:[/oracle/arch_log]#su – oracle

然后修改路徑:

SQL> alter system set log_archive_dest='/arch_log';
alter system set log_archive_dest='/arch_log'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16018: cannot use LOG_ARCHIVE_DEST with LOG_ARCHIVE_DEST_n or
DB_RECOVERY_FILE_DEST

[oracle@bsqkpi dbs]$ oerr ora 16018
16018, 00000, "cannot use %s with LOG_ARCHIVE_DEST_n or DB_RECOVERY_FILE_DEST"
// *Cause:  One of the following events caused an incompatibility:
//          1) Parameter LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST
//          was in use when a LOG_ARCHIVE_DEST_n (n = 1...31) parameter
//          was encountered while fetching initialization parameters.
//          2) An ALTER SYSTEM ARCHIVE LOG START TO command was in effect when
//          a LOG_ARCHIVE_DEST_n parameter was encountered while fetching
//          initialization parameters.
//          3) A LOG_ARCHIVE_DEST_n parameter was in use when an ALTER SYSTEM
//          command was used to define a value for either the LOG_ARCHIVE_DEST
//          or LOG_ARCHIVE_DUPLEX_DEST parameter.
//          4) Parameter DB_RECOVERY_FILE_DEST was in use when an attempt
//          was made to use an ALTER SYSTEM or ALTER SESSION command to
//          define a value for LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST.
// *Action: Eliminate any incompatible parameter definitions.

提示有沖突

進入pfile把DB_recovery_FILE_DEST=……***掉

然后

SQL> create spfile from pfile;

File created.

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

Total System Global Area 2505338880 bytes
Fixed Size                  2230952 bytes
Variable Size             620758360 bytes
Database Buffers         1862270976 bytes
Redo Buffers               20078592 bytes
Database mounted.
Database opened.
SQL> alter system set log_archive_dest='/arch_log';------修改成功

System altered.

SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            /arch_log
Oldest online log sequence     136
Next log sequence to archive   138
Current log sequence           138
SQL>

 

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

依兰县| 天祝| 博客| 深泽县| 霍林郭勒市| 三江| 廉江市| 镇江市| 五台县| 嘉鱼县| 杭锦后旗| 汕头市| 盈江县| 藁城市| 鱼台县| 漠河县| 舒城县| 靖安县| 星子县| 资兴市| 威远县| 邓州市| 孟州市| 威海市| 巴彦县| 高平市| 长武县| 开阳县| 永丰县| 前郭尔| 常德市| 阳高县| 中方县| 高雄市| 罗江县| 唐山市| 珲春市| 峨眉山市| 永年县| 蒙阴县| 广东省|