SQL Server Slowest Query is NULL I am looking at both the SQL Server expensive queries report and the query below, but both are showing this mysterious NULL query as the slowest query on my server.
Is there any way I can find out more about this NULL query and why it might be so slow?
Is this some internal query? It doesn't seem like this should be showing up in the report if so.

This is the query which is also showing NULL as the slowest query on my server:
select 
    r.session_id,
    r.status,
    r.command,
    r.cpu_time,
    r.total_elapsed_time,
    t.text
from 
    sys.dm_exec_requests as r
cross apply 
    sys.dm_exec_sql_text(r.sql_handle) as t


How can I find out what this query is and why it's so slow?
That's a system session.
DBCC INPUTBUFFER(37); might give a clue what it's doing, or CROSS APPLY with  sys.dm_exec_input_buffer(), but you might not be able to understand any more about what it's doing. Since it's a background task, it is unlikely to be a cause for any other perceived slowness but, being internal, I'm not sure what you could possibly do to tune it anyway...
If you're just randomly checking dm_exec_requests you should probably limit it to non-system sessions (join to sys.dm_exec_sessions where is_user_process = 1). Why it's not filtered out of the report, I have no no idea, I tend to not use built-in reports because I (and vendors) build much better versions.