473,503 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PAGEIOLATCH is a lead blocker

Hi Guru,

After spening quite sometimes to watch my box, I've seen PAGEIOLATCH is
a lead blocker in my SQL Server 2000 server. Below is the detailed:

SPID lastwaittype waitresource blocked status cmd
57 LCK_M_S KEY: 7:963690681:8 65 sleeping execute
65 PAGEIOLATCH_SH 7:1:217904 0 sleeping select
I thought, latching should be very short-term synchronization. From
systemprocess table, I saw the latch waited in a minute sleeping
without doing any work.

My database is about 23GB and more than 5000 tables. The RAID subsystem
is RAID1 with 1 disk mapped to C and D logically. Data files and tempdb
files are located in one location. Tranlog file and log backup files
are located in the same location with different disk spindle.

Currently, we are experiencing very slowness and IO bound. I'm ready to
rebuild the server by putting the RAID10 and 1 and distributing
multiple data files to different RAID10 and tempdb and log files to
RAID1.

Other than this, how to minimize the IO latch contention?

Thanks so much,

Silaphet,

Nov 29 '05 #1
1 9742
km********@yahoo.com (sm********@bremer.com) writes:
After spening quite sometimes to watch my box, I've seen PAGEIOLATCH is
a lead blocker in my SQL Server 2000 server. Below is the detailed:

SPID lastwaittype waitresource blocked status cmd
57 LCK_M_S KEY: 7:963690681:8 65 sleeping execute
65 PAGEIOLATCH_SH 7:1:217904 0 sleeping select
I thought, latching should be very short-term synchronization. From
systemprocess table, I saw the latch waited in a minute sleeping
without doing any work.
The above only tells us that the last time spid 65 waited for something
it was a latch. Presumably, it's holding some other lock that blocks
process 57.

The way to wind this up is to look in syslockinfo, but this is a quite
tedious work. I have a utility SP which gives you a snapshot of active
processes and their locks and blocks, including last statement. You find
it on my web site: http://www.sommarskog.se/sqlutil/aba_lockinfo.html.
My database is about 23GB and more than 5000 tables. The RAID subsystem
is RAID1 with 1 disk mapped to C and D logically. Data files and tempdb
files are located in one location. Tranlog file and log backup files
are located in the same location with different disk spindle.

Currently, we are experiencing very slowness and IO bound. I'm ready to
rebuild the server by putting the RAID10 and 1 and distributing
multiple data files to different RAID10 and tempdb and log files to
RAID1.

Other than this, how to minimize the IO latch contention?


While throwing hardware at the problem may alleviate the situation,
the true answer are probably to review the queries that are involved
in blocking situations, and either change them or add indexes to speed
them up.

If you are stuck with a 3rd-party product that you cannot change, you
may be interested in Quickshift, a product that claims to be able to
increase the performance of IO-bound applications. I have not used this
product myself though.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Nov 30 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
5819
by: dave yan | last post by:
hi, i have some forms which use javascript for data validation, e.g., checking to make sure all required fields are completed, checking that data falls within valid ranges for certain fields,...
4
2013
by: Ashish | last post by:
Hi Friends, I am looking for an anti-popup blocker solution, which can open popup window, irrespective whether any popup blocker is on or off. Well, I have succeeded in creating the same...
26
6777
by: Raffi | last post by:
Hi, We have a database application that runs in a popup Internet Explorer application window. The reason for this is to isolate the casual user from the address bar and the typical IE navigation...
2
2007
by: domtam | last post by:
Hi all, Here is what I want: when a user clicks a <asp:button>, its event handler will do some server-side processing and then pop up a windows of another page. As far as I know, if no pop-up...
7
8453
by: rob c | last post by:
Hi Does anyone know what triggers a "popup blocker"? I'm going to be opening some sub-windows from my main page and don't want to get caught in a blocker. Thanks Rob
3
4496
by: Yisehaq | last post by:
Hi guys I am trying to prepare few html pages which contain OLAP cubes on a CD. The problem I have is that the popup blocker blocks the OLAP modules from being shown. Therefore, I wanted to write...
9
11538
by: =?Utf-8?B?Tkg=?= | last post by:
Hi, I have an invoicing system built in asp.net 2.0. Part of it automatically opens up a new IE window using a bit of javascript. This is stopped by the pop up blockers in IE. Is there a way...
2
2106
by: andrewwan1980 | last post by:
I have a problem with a child window using the parent's FORM to do a submission/post to open a new window. This is being blocked by IE7. This is happening when accessing an external website that is...
1
1658
mageswar005
by: mageswar005 | last post by:
hi, how to detect yahoo popup blocker, in my site i open a popup window but some local pc yahoo popup blocker can control my popup window. how can i detect the popup blocker....
0
7328
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6988
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5011
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3166
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1510
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
379
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.