﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Heavy waits on PAGEIOLATCH_SH got cleared after restarting web application / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 09:09:49 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Heavy waits on PAGEIOLATCH_SH got cleared after restarting web application</title><link>http://www.sqlservercentral.com/Forums/Topic1404638-391-1.aspx</link><description>[quote][b]42443 occurrence(s)[/b] of I/O requests taking longer than 15 seconds to complete[/quote]:w00t:[quote][b]praveen_vejandla (1/11/2013)[/b][hr]One thing that I don't understand is error got logged only after restarting the web application and then when same UPDATE query was run, it ran fine without waiting on I/O.[quote]Could outdated statistics be the reason behind I/O latency?Thanks.[/quote]It looks like your disk subsystem is having frequent problems keeping up with the workload being thrown at it. Outdated statistics are not necessarily a cause of that but they can contribute to the problem. If some statistics are out of date and the query optimizer is using sub-optimal execution plans because of them then the database engine may be working harder than it should have to in order to retrieve results to satisfy a query. When is the last time you ran index and stats maintenance routines on your databases? Adding index and stats maintenance to an already overloaded system needs to be done carefully.I would also recommend you check the disk subsystem for overall health including running CHECKDB on your databases (PS which also need to be done at a time chosen carefully on an already overloaded system).</description><pubDate>Fri, 11 Jan 2013 05:03:47 GMT</pubDate><dc:creator>opc.three</dc:creator></item><item><title>RE: Heavy waits on PAGEIOLATCH_SH got cleared after restarting web application</title><link>http://www.sqlservercentral.com/Forums/Topic1404638-391-1.aspx</link><description>[quote][b]praveen_vejandla (1/11/2013)[/b][hr]Could outdated statistics be the reason behind I/O latency?[/quote]it might be . there could be another reason too like memory , IO , table/index scan happening. Please post the exec plan so that we can dig out further</description><pubDate>Fri, 11 Jan 2013 03:23:54 GMT</pubDate><dc:creator>Bhuvnesh</dc:creator></item><item><title>RE: Heavy waits on PAGEIOLATCH_SH got cleared after restarting web application</title><link>http://www.sqlservercentral.com/Forums/Topic1404638-391-1.aspx</link><description>One thing that I don't understand is error got logged only after restarting the web application and then when same UPDATE query was run, it ran fine without waiting on I/O.Could outdated statistics be the reason behind I/O latency?Thanks.</description><pubDate>Fri, 11 Jan 2013 02:13:31 GMT</pubDate><dc:creator>praveen_vejandla</dc:creator></item><item><title>RE: Heavy waits on PAGEIOLATCH_SH got cleared after restarting web application</title><link>http://www.sqlservercentral.com/Forums/Topic1404638-391-1.aspx</link><description>see this link too [url]http://blog.sqlauthority.com/2011/02/09/sql-server-pageiolatch_dt-pageiolatch_ex-pageiolatch_kp-pageiolatch_sh-pageiolatch_up-wait-type-day-9-of-28/[/url]</description><pubDate>Fri, 11 Jan 2013 00:48:22 GMT</pubDate><dc:creator>Bhuvnesh</dc:creator></item><item><title>RE: Heavy waits on PAGEIOLATCH_SH got cleared after restarting web application</title><link>http://www.sqlservercentral.com/Forums/Topic1404638-391-1.aspx</link><description>PAGEIOLATCH_SH means slowness in IO operations. this is the one cent which will come to anyone's mind who will look into your posts.its might be happening because BIg tables invole in this UPDATE and NOT using the indexes efficienty .Can you post the  query long with the exec plan ?</description><pubDate>Fri, 11 Jan 2013 00:47:56 GMT</pubDate><dc:creator>Bhuvnesh</dc:creator></item><item><title>RE: Heavy waits on PAGEIOLATCH_SH got cleared after restarting web application</title><link>http://www.sqlservercentral.com/Forums/Topic1404638-391-1.aspx</link><description>One more observation is that below error is logged only after restarting the web logic application. Before restarting the application service, UPDATE was stuck on I/O, getting processed very slowly but no error is logged in SQL Server error log.SQL Server has encountered 42443 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [H:\data\***.mdf] in database [****(5). The OS file handle is 0x00000000000007D4. The offset of the latest long I/O is: 0x000009cd260000After restarting the application, same query ran fine without any I/O latency issue.Did anyone observe similar problem any time?Thanks.</description><pubDate>Thu, 10 Jan 2013 23:37:13 GMT</pubDate><dc:creator>praveen_vejandla</dc:creator></item><item><title>Heavy waits on PAGEIOLATCH_SH got cleared after restarting web application</title><link>http://www.sqlservercentral.com/Forums/Topic1404638-391-1.aspx</link><description>Hi,I noticed unusually heavy waits on PAGEIOLATCH_SH during an UPDATE activity and it was taking few hours.Below error is noticed in SQL Server error log.SQL Server has encountered 42443 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [H:\data\***.mdf] in database [****(5).  The OS file handle is 0x00000000000007D4.  The offset of the latest long I/O is: 0x000009cd260000Surprisingly after restarting the web application, UPDATEs went fine without any issue. It was a Java based web application hosted in web logic and uses connection pooling to connect to SQL Server database.Did anyone found similar issues any time? It is tricky that application restart has cleared the waits on PAGEIOLATCH_SH.Thanks.</description><pubDate>Wed, 09 Jan 2013 03:07:03 GMT</pubDate><dc:creator>praveen_vejandla</dc:creator></item></channel></rss>