如何通过日志或trace文件知道块在什么时候被换出?

[复制链接]
查看11 | 回复3 | 2017-3-27 08:04:23 | 显示全部楼层 |阅读模式
rt
回复

使用道具 举报

千问 | 2017-3-27 08:04:23 | 显示全部楼层
What is "换出"? Written from buffer cache to disk?
Yong Huang
回复

使用道具 举报

千问 | 2017-3-27 08:04:23 | 显示全部楼层
是啊,就是写回磁盘操作
回复

使用道具 举报

千问 | 2017-3-27 08:04:23 | 显示全部楼层
I don't think Oracle records the time a given dirty buffer is written to disk. I can't find any event to do that either. To get the approximate time, you can just keep checking v$bh for the buffer, and see when the dirty column changes from 'Y' to 'N'.
Yong Huang
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行