Link to home
Start Free TrialLog in
Avatar of suzn cas
suzn casFlag for Syrian Arab Republic

asked on

set dsync and directio options according to device type

Dears, what does mean the 'unknown device type' in description column in the result of sp_helpdevice ?

And for these devices, is it preferred to set dsync option to true and directio to false.

Are those two options (dsync and directio) affect on transaction log devices which are file system devices??
Avatar of Joe Woodhouse
Joe Woodhouse

Can you show me a sample line of sp_helpdevice output?

Generally it is better to have directio true and dsync false if you have an OS and file system type that supports directio.

If you are using any kind of file system devices, we want at least one of those options to be true (exception - devices used for tempdb where we want both to be false). directio is better performance than dsync.

If you use raw partitions the options are ignored, effectively all raw partition i/o is directio anyway.
Avatar of suzn cas

ASKER

Dear Joe,

kindly note the attached file, on the same location I stored log device (in its description: file system device), and data device (in its description: unknown device type).

Thank you.
sp_helpdevice-result.png
ASKER CERTIFIED SOLUTION
Avatar of Joe Woodhouse
Joe Woodhouse

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dear Joe,
No problem, Thank you very much