Home » Infrastructure » Unix » Solaris Very Direct IO (Solaris 10 Oracle 10.2.0.4.0 )
Solaris Very Direct IO [message #366265] Fri, 12 December 2008 08:06 Go to next message
claytech
Messages: 9
Registered: December 2008
Location: UK
Junior Member
Can anyone tell from the following truss output if I am using Direct IO. I have conflicting statements, one says I AM using Direct IO as the 3rd parm of ioctl is not zero and the other says that I AM NOT using Direct IO as the file is not opened with the O_DIRECT flag.



3085/1: open("/oradata/rbssys/users01.dbf", O_RDWR|O_DSYNC) = 11
3085/1@1: -> libc:directio(0x103, 0x1, 0xfffffffe7a1cea98, 0x746571fefefefeff)
3085/1: ioctl(259, _ION('f', 76, 0), 0x00000001) = 0
3085/1@1: <- libc:directio() = 0

Help much appreciated.
Re: Solaris Very Direct IO [message #366273 is a reply to message #366265] Fri, 12 December 2008 09:50 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
From that output you are using Direct I/O. The O_DSYNC is expected with Oracle on Solaris.

A very helpful article to review is Demystifying Oracle IO.
Re: Solaris Very Direct IO [message #366274 is a reply to message #366273] Fri, 12 December 2008 09:52 Go to previous message
claytech
Messages: 9
Registered: December 2008
Location: UK
Junior Member
Thanks!!
Previous Topic: Unix Scripting | With Oracle db
Next Topic: Copying (archiving) multiple files with sysdate
Goto Forum:
  


Current Time: Mon Dec 02 14:03:46 CST 2024