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)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29785807/viewspace-2285654/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- iOS:The operation couldn’t be completed. (DVTCoreSimulatorAdditionsErrorDomain eiOSErrorAI
- 【18c】Oracle 18.3 RPM安裝Oracle
- Oracle 18.3 ORA-12012 ORA-20001Oracle
- UDI-03113: operation generated ORACLE error 3113OracleError
- 【RESIZE】Oracle收縮表空間主要命令Oracle
- Oracle報performing DMLDDL operation over object in bin案例分析OracleORMObject
- resize
- [Javascript] ++operationJavaScript
- JavaScript resize 事件JavaScript事件
- WPF Backgroundworker dowork work completed progress changed
- tidb Error: Operation aborted by user answer '' (cliutil.operation_aborted)TiDBError
- 監測元素resize
- python pil resize 用法Python
- macOS: sudo : Operation not permittedMacMIT
- [Javascript] Encapsulate chunk operationJavaScript
- 解決ERROR ResizeObserver loop completed with undelivered notifications.ErrorServerOOP
- WPF Button Command and CommandParamet completed via C# no xaml at allC#
- python 批量resize效能比較Python
- FSMO(Flexible Single Master Operation)FlexAST
- 3.4.3 Restoring the System to Normal OperationRESTORM
- group by event_name, operation
- VUE專案忽略ResizeObserver loop completed with undelivered notifications錯誤VueServerOOP
- cuda runtime error (801) : operation not supportedError
- [20230103]COUNT STOPKEY operation.txtTopK
- Linux基礎命令---resize2fsLinux
- std::reserve和std::resize的區別
- Macicon圖示製作——Icon Resize for MacMac
- C++ 順序容器大小操作 resizeC++
- Numpy中reshape和resize的區別
- 多執行緒:Operation和OperationQueue執行緒
- NFS mount results in "vmount: operation not permitted" errorNFSMITError
- [20210222]gdb ptrace Operation not permitted.txtMIT
- (Django)18.3建立網頁:學習筆記主頁Django網頁筆記
- JS怎麼監聽div元素的resizeJS
- Fast Resize for Mac(圖片大小調整工具)ASTMac
- 【Mongo】使用killOp幹掉Long Running OperationGo
- [20180725]index skip-scan operation.txtIndex
- Failed to get D-Bus connection: Operation not permittedAIMIT