SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


WorkPlace Encounters: Grappling With ASYNC_NETWORK_IO Waits


WorkPlace Encounters: Grappling With ASYNC_NETWORK_IO Waits

Author
Message
Kenneth Igiri
Kenneth Igiri
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1882 Visits: 518
Comments posted to this topic are about the item WorkPlace Encounters: Grappling With ASYNC_NETWORK_IO Waits

Br. Kenneth Igiriwww.scribblingsage.comwww.igiribooks.comAll nations come to my light, all kings to the brightness of my risingSmooooth
thierry.vandurme
thierry.vandurme
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1747 Visits: 573
Hi Kenneth, awesome article, thanks for sharing!
One question if I may... You mention reducing the amount of VLFs. Is that related to a specific wait? I know you could come to that conclusion if it takes a long time to restore a small database for example, but is it something you can deduce from wait stats related DMV's as well?
Thx
Thierry
Kenneth Igiri
Kenneth Igiri
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1882 Visits: 518
thierry.vandurme - Tuesday, October 10, 2017 2:41 AM
Hi Kenneth, awesome article, thanks for sharing!
One question if I may... You mention reducing the amount of VLFs. Is that related to a specific wait? I know you could come to that conclusion if it takes a long time to restore a small database for example, but is it something you can deduce from wait stats related DMV's as well?
Thx
Thierry

High number of VLFs are mostly caused by incorrect settings in the log file AUTOGROWTH value. When the AUTOGROWTH is small of specified as a percentage, it is likely that growths will be happening often and one might experience WRITE_LOG or similar wait events. I did not deduce the need to correct the configuration from a wait event in this case however but it is a basic practice I adopt to eliminate problems in this area. An YES in fact the backup time was also quite poor when we tried to relocate the databases involved in this case. It was corrected once we changed the autogrowth setting, shrunk the log and allocated a good amount as initial size for the transaction log file. (Credits to Glen Berry)


Br. Kenneth Igiriwww.scribblingsage.comwww.igiribooks.comAll nations come to my light, all kings to the brightness of my risingSmooooth
thierry.vandurme
thierry.vandurme
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1747 Visits: 573
Br. Kenneth Igiri - Tuesday, October 10, 2017 8:59 AM
thierry.vandurme - Tuesday, October 10, 2017 2:41 AM
Hi Kenneth, awesome article, thanks for sharing!
One question if I may... You mention reducing the amount of VLFs. Is that related to a specific wait? I know you could come to that conclusion if it takes a long time to restore a small database for example, but is it something you can deduce from wait stats related DMV's as well?
Thx
Thierry

High number of VLFs are mostly caused by incorrect settings in the log file AUTOGROWTH value. When the AUTOGROWTH is small of specified as a percentage, it is likely that growths will be happening often and one might experience WRITE_LOG or similar wait events. I did not deduce the need to correct the configuration from a wait event in this case however but it is a basic practice I adopt to eliminate problems in this area. An YES in fact the backup time was also quite poor when we tried to relocate the databases involved in this case. It was corrected once we changed the autogrowth setting, shrunk the log and allocated a good amount as initial size for the transaction log file. (Credits to Glen Berry)

Ok, thanks. I was aware of the impact of autogrowth settings (learned the hard way when restoring a small db that took ages to completeSmile) but I thought I'd missed something in your wait stats list that would indicate high no. of VLFs being an issue.
Thanks for replying!

suparSteve
suparSteve
SSC Rookie
SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)SSC Rookie (40 reputation)

Group: General Forum Members
Points: 40 Visits: 179
Very interesting story and reminder of how you have to be careful not to get tunnel vision where you only consider your own little piece of the picture.
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