Solved

set dsync and directio options according to device type

Posted on 2016-10-19
4
38 Views
Last Modified: 2016-10-20
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??
0
Comment
Question by:suzn cas
  • 2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:Joe Woodhouse
ID: 41851407
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.
1
 

Author Comment

by:suzn cas
ID: 41851498
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
0
 
LVL 24

Accepted Solution

by:
Joe Woodhouse earned 500 total points
ID: 41851738
Huh! That's very interesting. Normally that happens only for things like tape drives.

I had a look in the documentation for sp_helpdevice as well as the documentation for master..sysdevices where that descrption field is populated from. For disk it should not show that.

I'm not sure it actually matters, maybe for some reason sp_helpdevice has gotten confused. I'm sorry, I don't think I have an answer for you on this one. :(

Probably the only way to find this out is to open a support case with SAP.
1
 

Author Closing Comment

by:suzn cas
ID: 41851763
Dear Joe,
No problem, Thank you very much
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: This is the third blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   We’ve been talki…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short film showing how OnPage and Connectwise integration works.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now