Resize Operation Completed For File# 201; FILE# Does Not Exist (Doc 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.

GOAL

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)

在使用 `page.save_resize_html()` 方法时,`cfg_file` 参数是可选的,用于指定配置文件的路径。配置文件是一个 INI 格式的文件,用于指定生成 HTML 文件的一些参数,例如 HTML 文件的模板路径、CSS 样式表路径、图片的尺寸等。如果不指定 `cfg_file` 参数,则会使用默认的配置参数。 下面是一个样例配置文件 `config.ini` 的例子: ```ini [html] template = template.html css = style.css title = My HTML Page [image] width = 400 height = 300 ``` 在这个配置文件中,我们指定了生成 HTML 文件所需的一些参数。`[html]` 标签下的 `template` 参数指定了 HTML 文件的模板路径,`css` 参数指定了 CSS 样式表的路径,`title` 参数指定了 HTML 页面的标题。`[image]` 标签下的 `width` 和 `height` 参数指定了生成的图片的尺寸。 在调用 `page.save_resize_html()` 方法时,可以将 `config.ini` 文件的路径传递给 `cfg_file` 参数,从而使用这些参数生成 HTML 文件。例如: ```python from pyppeteer import launch from pyppeteer_to_html import Page async def main(): browser = await launch() page = await browser.newPage() await page.goto('https://example.com/') html = await page.content() # 使用 config.ini 中的参数生成 HTML 文件 await Page.save_resize_html(html, 'example.png', 'example.html', cfg_file='config.ini') await browser.close() asyncio.get_event_loop().run_until_complete(main()) ``` 在这个例子中,我们将 `config.ini` 文件的路径传递给了 `cfg_file` 参数,从而使用配置文件中的参数生成 HTML 文件。如果不指定 `cfg_file` 参数,则会使用默认的配置参数。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值