异步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)
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博客 ” ,链接:http://blog.itpub.net/29551564/viewspace-2152832/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29551564/viewspace-2152832/