oracle启用异步IO(db file async I/O submit)

市局双随机awr报告中有大量db file async I/O submit等待事件

参考两篇文章:

【案例】Oracle等待事件db file async I/O submit产生原因和解决办法

db file async I/O submit 等待事件优化

查看数据文件是否开启异步IO

Select Name, Asynch_Io
  From V$datafile f, V$iostat_File i
 Where f.File# = i.File_No
   And (Filetype_Name = ‘Data File‘ Or Filetype_Name = ‘Temp File‘);

查看两个参数

SQL> show parameter disk_asynch_io

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
disk_asynch_io                 boolean     TRUE
SQL> show parameter filesystemio

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
filesystemio_options             string     none

修改参数filesystemio_options

alter system set filesystemio_options =asynch sid =‘*‘  scope=spfile;

重启数据库

原文地址:https://www.cnblogs.com/sorliran/p/9166850.html

时间: 2024-08-28 20:54:23

oracle启用异步IO(db file async I/O submit)的相关文章

db file async I/O submit 等待事件优化

db file async I/O submit 等待事件优化 一.数据发生db file async I/O submit 我们从数据库awr报告中经常会看到很高db file async I/O submit的等待事件: SQL> select event,wait_class,wait_time from v$session_wait where wait_class<>'Idle' EVENT WAIT_CLASS WAIT_TIME ----------------------

ORACLE数据库异步IO介绍

异步IO概念 Linux 异步 I/O (AIO)是 Linux 内核中提供的一个增强的功能.它是Linux 2.6 版本内核的一个标准特性,当然我们在2.4 版本内核的补丁中也可以找到它.AIO 背后的基本思想是允许进程发起很多 I/O 操作,而不用阻塞或等待任何操作完成.稍后或在接收到 I/O 操作完成的通知时,进程就可以检索 I/O 操作的结果. Linux IO模型(I/O models)分同步IO模型(synchronous models)和异步IO模型(asynchronous mo

Linux下启用异步IO

#是否已经安装了AIO包#rpm -qa|grep aiolibaio-0.3.107-10.el6.x86_64libaio-devel-0.3.107-10.el6.x86_64libsane-hpaio-3.12.4-4.el6_4.1.x86_64 #数据库在链接时是否已经加载了aio的包$/usr/bin/ldd $ORACLE_HOME/bin/oracle | grep libaio        libaio.so.1 => /lib64/libaio.so.1 (0x00000

Oracle 等待事件之 db file scattered read

db file scattered read 官网解释: This event signifies that the user process is reading buffers into the SGA buffer cache and is waiting for a physical I/O call to return. A db file scattered read issues a scattered read to read the data into multiple dis

Oracle 等待事件之 db file sequential read

db file sequential read: 官网解释: This event signifies that the user process is reading a buffer into the SGA buffer cache and is waiting for a physical I/O call to return. A sequential read is a single-block read. Single block I/Os are usually the resu

Oracle 等待事件之 db file parallel read

db file parallel read 官网解释: This happens during recovery. It can also happen during buffer prefetching, as an optimization (rather than performing multiple single-block reads). Database blocks that need to be changed as part of recovery are read in p

Oracle等待事件之db file scattered read

1.产生原因 该等待事件通常发生在数据库多块读时,表示发生了与全表扫描和快速索引扫描相关的等待.通常意味着全表扫描过多,或者I/O 能力不足,或者I/O 竞争. 2.确定产生问题对象方法 a)查找全表扫描的SQL 语句可以使用以下语句: select sql_text from v$sqltext t, v$sql_plan p where t.hash_value = p.hash_value and p.operation = 'TABLE ACCESS' and p.options = '

mysql 5.6无法启用异步IO

mysql5.6安装之后无法启用参数 innodb_use_native_aio,error文件中也没有相应错误. mysql> show variables like 'innodb_use_native_aio';+-----------------------+-------+| Variable_name         | Value |+-----------------------+-------+| innodb_use_native_aio | OFF   |+--------

Oracle db file parallel write 和 log file parallel write 等待事件

一. db file parallel write等待事件 引自如下blog: http://oradbpedia.com/wiki/Wait_Events_-_db_file_parallel_write db文件并行写 db文件并行写等待事件属于Oracle数据库写入程序(DBWR)进程,因为它是将块从SGA写入数据文件的唯一进程.当是写入时,DBWR进程编译一组脏块,将批处理交给操作系统,并等待db文件并行写事件以完成I / O.虽然用户会话从来没有遇到db文件并行写等待事件,但这并不意味