March 6, 2024 at 8:52 am
Hello All,
One of my SQL server 2014 all the disk are formatted as 4KB. I see Microsoft recommends to have 64KB.
I feel the query running slow and most of the query waits shows as two waits 1. PAGEIOLATCH_SH 2.CXPACKET and overall server wait also same.
Please share your experience.
March 6, 2024 at 3:43 pm
I have no experience with speed differences because of blocksize.
pageiolatch: you are retrieving data from storage subsystem
cxpacket: your query went parallel ( do you need this ?)
https://www.sqlskills.com/help/waits/pageiolatch_sh/
https://www.sqlskills.com/help/waits/cxpacket/
March 6, 2024 at 3:52 pm
The *data* file drives should be 64K. Log file drives should still be 4K. If you mix data and log files on the same drive, you'll want to use 64K.
SQL DBA,SQL Server MVP(07, 08, 09) "It's a dog-eat-dog world, and I'm wearing Milk-Bone underwear." "Norm", on "Cheers". Also from "Cheers", from "Carla": "You need to know 3 things about Tortelli men: Tortelli men draw women like flies; Tortelli men treat women like flies; Tortelli men's brains are in their flies".
March 7, 2024 at 1:41 am
Thank your for your suggestion. Yes, All the drives are 4KB format only - Data , log etc.
I will check top duration query and will see to be indexed. I believe that will reduce the storage subsystem IO.
March 7, 2024 at 6:07 am
The *data* file drives should be 64K. Log file drives should still be 4K. If you mix data and log files on the same drive, you'll want to use 64K.
What is the Microsoft link to backup those recommendations, please?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 13, 2024 at 3:41 pm
Both places I have worked some of the drives were formatted to 4k instead of 64k. Personally I don't think it truly makes that big of a difference from what I have seen. However, maybe your environment is different than ours.
March 13, 2024 at 4:17 pm
I'm still waiting for Scott to backup his claim with a link.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 4, 2024 at 12:04 pm
We have migrated to premium disk in Azure, now all running fine and faster.
Thanks all.
April 4, 2024 at 8:04 pm
Make sure you go through the Azure SQL VM checklist to get the best bang for your buck on what you’re paying out for.
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply