Oracle 18.3 Resize operation completed for file#
Oracle 18.3 Resize operation completed for file#
問題:
Oracle 告警日誌有大量如下資訊:
……
2018-12-18T18:00:46.291350+08:00
CJCPDB(3):Resize operation completed for file# 9, old size 276480K, new size 286720K
環境說明:
OS: CentOS Linux release 7.5
DB:Oracle 18.3.0.0.0
問題分析:
資料檔案自動擴充套件,當資料檔案不足,自動執行擴充套件時,告警日誌會列印這些資訊;
問題重現:
新建大表
SQL> create table test01 as select level as id from dual connect by level <=1000000;
告警日誌出現如下資訊:
[root@oracle-server001 trace]# tail -f alert_cjcdb.log
2018-12-18T18:00:46.291350+08:00
CHENPDB(3):Resize operation completed for file# 9, old size 276480K, new size 286720K
select bytes / 1024 / 1024 , a. * from dba_data_files a where file_id = 9 ;
解決方案:
Resize Operation Completed For File# 201; FILE# Does Not Exist ( 文件 ID 2246369.1)
啟用 _disable_file_resize_logging ;
--- 查詢
select a.ksppinm name , b.ksppstvl value , a.ksppdesc description
from x$ksppi a , x$ksppcv b
where a.inst_id = USERENV ( 'Instance' )
and b.inst_id = USERENV ( 'Instance' )
and a.indx = b.indx
and a.ksppinm = '_disable_file_resize_logging'
order by 1 ;
---2 啟用
SQL> alter system set "_disable_file_resize_logging"=TRUE ;
CDB 下sys 使用者執行,如果PDB 下sys 使用者執行,會報如下錯誤:
---support.oracle.com上 詳細說明如下:
Resize Operation Completed For File# 201; FILE# Does Not Exist ( 文件 ID 2246369.1)
APPLIES TO:
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.2.0.1 [Release 12.1 to 12.2]
Information in this document applies to any platform.
alert.log has many entries with:
Resize operation completed for file# 201, old size 111616K, new size 112640K
Problematic file# 201 is not existing.
SOLUTION
It's tempfiles and its number is generated dynamically based on parameter db_files - default value 200.
We have to subtract db_files value to get the file number in v$tempfile or db_files parameter value + tempfile# so in this case 201-200=1 is the tempfile#.
There is one Enhancement request raised for this issue to include filename as well in meaasage.
Bug 25661172 : DIAG ENH - INCLUDE FILENAME IN ALERT.LOG FOR DATAFILE/TEMPFILE RESIZE OPS
However these messages are for information only and you can disable this using below parameter:
Apply patch 18603375 first, then set the below parameter along with the fix.
SQL> alter system set "_disable_file_resize_logging"=TRUE ; (Its default value is FALSE)
歡迎關注我的微信公眾號"IT小Chen",共同學習,共同成長!!!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29785807/viewspace-2285654/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【iOS報錯】“The operation couldn’t be completed (LaunchServicesError erroiOSError
- iOS:The operation couldn’t be completed. (DVTCoreSimulatorAdditionsErrorDomain eiOSErrorAI
- Oracle ResizeOracle
- oracle redo log operationOracle Redo
- 【18c】Oracle 18.3 RPM安裝Oracle
- oracle實用sql(6)--tablespace/datafile resizeOracleSQL
- Oracle中臨時檔案File#和Db_files關係(zt)Oracle
- 【RESIZE】Oracle收縮表空間主要命令Oracle
- oracle中的 RESIZE檔案or ADD檔案Oracle
- ORA-600 [kdBlkCheckError] [file#] [block#] [code]ErrorBloC
- ORACLE中裸裝置資料檔案RESIZE/AUTOEXTEND ONOracle
- JavaScript resize 事件JavaScript事件
- jQuery resize事件jQuery事件
- 對“checkpoint not completed!”的理解 (zt)
- Oracle resize DBF報錯"ORA-03297"簡單介紹Oracle
- Linux Mint 18.3 (Sylvia)Linux
- 監測元素resize
- Oracle報performing DMLDDL operation over object in bin案例分析OracleORMObject
- Oracle學習系列—資料庫優化—Sort OperationOracle資料庫優化
- WPF Backgroundworker dowork work completed progress changed
- Oracle 18.3 ORA-12012 ORA-20001Oracle
- UDI-03113: operation generated ORACLE error 3113OracleError
- 【ORACLE】ORA-00245: control file backup operation failedOracleAI
- UDE-00008: operation generated ORACLE error 31626OracleError
- python pil resize 用法Python
- tidb Error: Operation aborted by user answer '' (cliutil.operation_aborted)TiDBError
- ORA-16217: prepare to switchover has not completed
- oracle檢視flashback_transaction_query中列operation為unknownOracle
- macOS: sudo : Operation not permittedMacMIT
- Scripts to resize standby redolog files
- 【等待時間】asynch descriptor resize
- wait event ---asynch descriptor resizeAI
- Oracle OCP 1Z0-053 Q540(v$asm_operation)OracleASM
- 進一步理解oracle11g之v$sga_resize_opsOracle
- ASM file metadata operationASM
- python 批量resize效能比較Python
- resize 資料檔案的大小
- drag & resize元素的jQuery實現jQuery