Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Does SQL Server have a wait interface?

RE: Does SQL Server have a wait interface?

From: Mark Leith <mark_at_cool-tools.co.uk>
Date: Wed, 21 Jan 2004 06:39:48 -0800
Message-ID: <F001.005DDC2B.20040121063948@fatcity.com>


Ryan,

Check out "DBCC SQLPERF(WAITSTATS)", and also take a look at the "sysprocesses" table - with columns waittype, waittime, lastwaittype and SPID. Something like:

SELECT spid AS SPID, waittype AS WaitType, waittime AS WaitTime, lastwaittype AS LastWaitType
  FROM sysprocesses
 WHERE (spid > 50)
   AND (waittime > 0)

A good comprehensive overview of the wait types is here:

http://sqldev.net/misc/WaitTypes.htm

HTH Mark

Mark Leith
Cool-Tools UK Limited
http://www.cool-tools.co.uk

-----Original Message-----
ryan.gaffuri_at_cox.net
Sent: 21 January 2004 13:35
To: Multiple recipients of list ORACLE-L

anyone know?

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: <ryan.gaffuri_at_cox.net
  INET: ryan.gaffuri_at_cox.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Mark Leith
  INET: mark_at_cool-tools.co.uk

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Jan 21 2004 - 08:39:48 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US