oracle 常见几种IO操作

网友投稿 709 2022-05-28

Scattered Read, Sequential Read, and Direct Path Read

db file scattered read

出现原因:

oracle 常见的几种IO操作

(multiblock read into many discontinuous SGA buffers)

FTS(full table scan)全表扫描或IFFS (index fast full scan) 快速索引全扫描

从磁盘上读数据到内存中,一次I/O读取多个数据块,而数据块在内存中是分散分布并不是连续的。

优化方向:

I/0(Slow io),sql调优(Poorly tuned SQL)。

db file sequential read

出现原因:

数据块读入到相连的内存空间中(contiguous memory space),而不是指所读取的数据块是连续的。

INDEX FULL SCAN/UNIQUE SCAN,此时出现”db file sequential read”

INDEX RANGE SCAN

direct read:

产生原因:

The sorts are too large to fit in memory and some of the sort data is written out directly to disk. This data is later read back in, using direct reads.

Parallel slaves are used for scanning data.

The server process is processing buffers faster than the I/O system can return the buffers. This can indicate an overloaded I/O system.

Oracle

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:MapReduce 的核心知识点,你都 get 到了吗 ?(干货文章,建议收藏!)
下一篇:mysql Multi-Range Read优化
相关文章