﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / very high CPU, 0 I/O, no blocking, NULL in wait type? What could be possibly going wrong? / 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>Mon, 20 May 2013 08:05:02 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: very high CPU, 0 I/O, no blocking, NULL in wait type? What could be possibly going wrong?</title><link>http://www.sqlservercentral.com/Forums/Topic1379426-146-1.aspx</link><description>[quote][b]sqldba_newbie (10/31/2012)[/b][hr]I have a select query which is in a "hung" state. I checked there is no blocking. From the activity monitor i see that Wait type is NULL. I do see very very high CPU and 0 on I/O. What could be wrong? Any advice?[/quote]you can do .. select * from sys.dm_os_waiting_Tasks and join with sys.dm_exec_requests and sys.dm_exec_sessions to see whats going on ..Also, Adam Mechanic's sp_whoIsActive is another good stuff that will tell u whats going on currently.without giving more info about your environment and what steps u have taken to troubleshoot, its very difficult to help you.</description><pubDate>Fri, 02 Nov 2012 10:58:02 GMT</pubDate><dc:creator>SQLQuest29</dc:creator></item><item><title>RE: very high CPU, 0 I/O, no blocking, NULL in wait type? What could be possibly going wrong?</title><link>http://www.sqlservercentral.com/Forums/Topic1379426-146-1.aspx</link><description>Find out which SPID it is using and do a SP_WHO2 xxx    where xxx is the SPID of the running query.  Run this a few times to see if the CPU and I/O are increasing.Also, do an explain plan on it to see if it is using indexes or table scans.  Then see if you can add tuning indexes to make it run more efficiently.Also, change the SELECT statement to SELECT COUNT(1) to see if it will, somewhat quickly tell you how many rows it should return.  Does it return 1 row, 500 rows,  20 million....Other questions....Has this query run before... on a regular basis... did it run quickly before and all of a sudden gone crazy.How big is the table(s),  are stats up-to-date... could reindexing the tables be an option?</description><pubDate>Fri, 02 Nov 2012 06:20:07 GMT</pubDate><dc:creator>Markus</dc:creator></item><item><title>RE: very high CPU, 0 I/O, no blocking, NULL in wait type? What could be possibly going wrong?</title><link>http://www.sqlservercentral.com/Forums/Topic1379426-146-1.aspx</link><description>can you please post the Query.is it linked server related query ?</description><pubDate>Thu, 01 Nov 2012 01:44:55 GMT</pubDate><dc:creator>sanket kokane</dc:creator></item><item><title>RE: very high CPU, 0 I/O, no blocking, NULL in wait type? What could be possibly going wrong?</title><link>http://www.sqlservercentral.com/Forums/Topic1379426-146-1.aspx</link><description>Has this query been regularly as OK? or is it a new query?Are the statistics up to date?Have you checked sys.dm_exec_requests  for more detailed information?</description><pubDate>Wed, 31 Oct 2012 11:02:22 GMT</pubDate><dc:creator>Jack Vamvas</dc:creator></item><item><title>very high CPU, 0 I/O, no blocking, NULL in wait type? What could be possibly going wrong?</title><link>http://www.sqlservercentral.com/Forums/Topic1379426-146-1.aspx</link><description>I have a select query which is in a "hung" state. I checked there is no blocking. From the activity monitor i see that Wait type is NULL. I do see very very high CPU and 0 on I/O. What could be wrong? Any advice?</description><pubDate>Wed, 31 Oct 2012 10:31:15 GMT</pubDate><dc:creator>curious_sqldba</dc:creator></item></channel></rss>