学习动态性能表(九)
[font=宋体]本视图记录各文件物理[/font][font=Times New Roman]I/O[/font][font=宋体]信息。如果瓶颈与[/font][font=Times New Roman]I/O[/font][font=宋体]相关,可用于分析发生的活动[/font][font=Times New Roman]I/O[/font][font=宋体]事件。[/font][font=Times New Roman]V$FILESTAT[/font][font=宋体]显示出数据库[/font][font=Times New Roman]I/O[/font][font=宋体]的下列信息[/font][font=Times New Roman]([/font][font=宋体]不包括日志文件[/font][font=Times New Roman])[/font][font=宋体]:[/font][font=Times New Roman] [/font]
[font=Wingdings]l
[/font][font=宋体]物理读写数[/font]
[font=Wingdings]l
[/font][font=宋体]块读写数[/font]
[font=Wingdings]l
[/font][font=Times New Roman]I/O[/font][font=宋体]读写总耗时[/font]
[font=Times New Roman] [/font]
[font=宋体] 以上数值自实例启动即开始记录。如果获取了两个快照,那么二者之间的差异即是这一时间段内活动[/font][font=Times New Roman]I/O[/font][font=宋体]统计。[/font]
[font=Times New Roman] [/font]
[b][font=Times New Roman]V$FILESTAT[/font][/b][b][font=宋体]中的常用列:[/font][/b]
[b][font=Times New Roman] [/font][/b]
[font=Wingdings]l
[/font][font=Times New Roman]FILE#[/font][font=宋体]:文件序号;[/font]
[font=Wingdings]l
[/font][font=Times New Roman]PHYRDS[/font][font=宋体]:已完成的物理读次数;[/font]
[font=Wingdings]l
[/font][font=Times New Roman]PHYBLKRD[/font][font=宋体]:块读取数;[/font]
[font=Wingdings]l
[/font][font=Times New Roman]PHYWRTS[/font][font=宋体]:[/font][font=Times New Roman]DBWR[/font][font=宋体]完成的物理写次数;[/font]
[font=Wingdings]l
[/font][font=Times New Roman]PHYBLKWRT[/font][font=宋体]:写入磁盘的块数;[/font]
[font=Times New Roman] [/font]
[b][font=Times New Roman]V$FILESTAT[/font][/b][b][font=宋体]注意项:[/font][/b]
[font=Times New Roman] [/font]
[font=Wingdings]l
[/font][font=宋体]因为[/font][font=Times New Roman]multiblock[/font][font=宋体]读调用,物理读数和数据块读数有可能不同;[/font]
[font=Wingdings]l
[/font][font=宋体]因为进程直写,物理写和数据块写也可能不一致;[/font]
[font=Wingdings]l
[/font][font=Times New Roman]Sum(physical blocks read) [/font][font=宋体]近似于[/font][font=Times New Roman]v$sysstat[/font][font=宋体]中的[/font][font=Times New Roman]physical reads[/font][font=宋体];[/font]
[font=Wingdings]l
[/font][font=Times New Roman]Sum(physical blocks written) [/font][font=宋体]近似于[/font][font=Times New Roman]v$sysstat[/font][font=宋体]中的[/font][font=Times New Roman]physical writes[/font][font=宋体];[/font]
[font=Wingdings]l
[/font][font=宋体]数据读[/font][font=Times New Roman]([/font][font=宋体]由缓存读比直读好[/font][font=Times New Roman])[/font][font=宋体]由服务进程处理。从[/font][font=Times New Roman]buffer cache[/font][font=宋体]写只能由[/font][font=Times New Roman]DBWR[/font][font=宋体]进行,直写由服务进程处理。[/font]
页:
[1]