Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Mirroring and different sector sizes? BAD IDEA!


Mirroring and different sector sizes? BAD IDEA!

Author
Message
Theo Ekelmans
Theo Ekelmans
Valued Member
Valued Member (73 reputation)Valued Member (73 reputation)Valued Member (73 reputation)Valued Member (73 reputation)Valued Member (73 reputation)Valued Member (73 reputation)Valued Member (73 reputation)Valued Member (73 reputation)

Group: General Forum Members
Points: 73 Visits: 719
Comments posted to this topic are about the item Mirroring and different sector sizes? BAD IDEA!
T2000
T2000
SSC Rookie
SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)SSC Rookie (44 reputation)

Group: General Forum Members
Points: 44 Visits: 345
Good & well written article Theo. Useful to know. Thanks

Rgds,
T.
.be
Nakul Vachhrajani
Nakul Vachhrajani
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1824 Visits: 2127
Very well written article. Thank-you very much for the same.

It's difficult to keep cool and look for the root cause when such problems arise. I therefore, appreciate your dedication to the issue. I am sure this will help out a lot of the members of the community.

Thanks & Regards,
Nakul Vachhrajani.
http://nakulvachhrajani.com
Be courteous. Drive responsibly.

Follow me on
Twitter: @sqltwins
Google Plus: +Nakul
Wayne Evans-440401
Wayne Evans-440401
SSC-Enthusiastic
SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)SSC-Enthusiastic (127 reputation)

Group: General Forum Members
Points: 127 Visits: 272
Thank you. This is bound to bite me in the future.

Bookmarked



Wayne

Did you get access denied? Great the security works.

rfr.ferrari
rfr.ferrari
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1351 Visits: 13620
Thanks Theo for share your experiences with us!!!!

This article is really very important


rfr.ferrari
DBA - SQL Server 2008
MCITP | MCTS

remember is live or suffer twice!
the period you fastest growing is the most difficult period of your life!

Cycling Yogi
Cycling Yogi
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 176
Excellent item. This is a fine example of how to write a technical article.

Thanks.
OzYbOi d(-_-)b
OzYbOi d(-_-)b
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1300 Visits: 778
tks for lesson learned without all the pain you endured! cheers
henderson1134
henderson1134
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 57
The title of the article is about Mirroring with different sector sizes but the content of the article is about disk misalignment. Very helpful info but maybe a title change?

I have several clients who have bought new SANs that go with a 4k sector sized LUN but keep the old SAN as their mirror failover. In some cases they won't or can't rebuild the old SAN's LUNs to be 4k sector based so they get warnings in the SQL Server logs about the tail of the log having to be re-written. It will slow down performance if the mirroring process has to take each 4k chunk and remap it back to 512B and then process each of the 512B chunks.. but its effects are dependent. One client I have has two HP DL980's running 160 logical cores doing all OLTP and they're mirroring is working fine enough in this setup. It spams their error logs but that's the price of not upgrading the old SAN.

Disk alignment, as you have shown, causes more IO to be required to do the same task. For a read it will be 2x. It has to grab both physical sectors that the logical sector is on in order to reconstitute the logical sector. For writes it can be worse. It's called a Read Modify Write. It has to read both physical sectors, then modify the parts that changed on both physical sectors, then write both physical sectors to storage. So there's 4x the IO's plus two 'update' transactions in the storage tier.
Andy Hogg
Andy Hogg
Mr or Mrs. 500
Mr or Mrs. 500 (582 reputation)Mr or Mrs. 500 (582 reputation)Mr or Mrs. 500 (582 reputation)Mr or Mrs. 500 (582 reputation)Mr or Mrs. 500 (582 reputation)Mr or Mrs. 500 (582 reputation)Mr or Mrs. 500 (582 reputation)Mr or Mrs. 500 (582 reputation)

Group: General Forum Members
Points: 582 Visits: 1011
Great article and a very clear and detailed explanation - thank you very much.

Have just seen this exact same problem with a 4 replica AlwaysOn Availability Group.

Sure enough the disk sector size on one of the replica servers is different to that on the other three.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search