ITPub博客

首页 > 数据库 > Oracle > oracle异步IO之filesystemio_options参数

oracle异步IO之filesystemio_options参数

原创 Oracle 作者:mengbing1990 时间:2018-04-12 09:14:30 0 删除 编辑
异步I/O也就意味着读写可同时进行。

alter system set filesystemio_options=setall scope=spfile;


到linux系统下,查看异步IO情况。

grep kio /proc/slabinfo.

看到kiocb已经有数据值了,说明异步IO已经生效了。

alter system set filesystemio_options=(none/setall/directIO/asynch)

ASYNCH: enable asynchronous I/O on file system files, which has no timing requirement for transmission.
在文件系统文件上启用异步I/O,在数据传送上没有计时要求。

DIRECTIO: enable direct I/O on file system files, which bypasses the buffer cache.
在文件系统文件上启用直接I/O,绕过buffer cache。

SETALL: enable both asynchronous and direct I/O on file system files.
在文件系统文件上启用异步和直接I/O。

NONE: disable both asynchronous and direct I/O on file system files.
在文件系统文件上禁用异步和直接I/O。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29551564/viewspace-2152832/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
v❤550166897

注册时间:2014-03-19

  • 博文量
    88
  • 访问量
    195217