Viewing 10 posts - 1 through 10 (of 10 total)
Here's a series of scripts I use to check who's eating up the resources. Shows IO or CPU by username, db or email domain (my usernames are email addresses)
--...
September 29, 2003 at 2:09 am
More for convenience than for speed, you might want to consider building a view based on the various table joins. Makes accessing the data easier. Also give you the option...
September 16, 2003 at 2:08 am
Maybe something along these lines.
Create Procedure testtime
as
declare @starttime smalldatetime
Select @Starttime = getdate()
waitfor delay '000:00:2' -- replace with your query
select datediff(ms,@starttime, getdate())
Store your queries results in a cursor and combine the...
September 9, 2003 at 10:08 am
Have you tried running the Stored Procedures using Query Analyser with show executing plan on. This should tell you if there is one part of the query which is eating...
September 8, 2003 at 2:28 am
Had very similar problem. We have a workflow app where tasks can have several layers of child tasks. Child rows have a reference to the parent id. Had to write...
July 21, 2003 at 2:29 am
Why have a spare disk sitting idle when you could stick it in as a mirror and deduce the risk in the first place ?
January 3, 2003 at 3:02 am
It might be worth looking at how this routine is used in the real world before coding out a load of routines which will be used 1% of the time....
December 9, 2002 at 3:45 am
Consider the impact on your transaction log if you copy to a table in the same db. It will grow with every record you add to the copy table. Copy...
December 2, 2002 at 8:18 am
We do large numbers of automated emails from our workflow application. Our scheduled DTS jobs use Javascript and XMLHTTP to call asp pages on the webserver. The ASP pages then...
November 18, 2002 at 4:39 am
Viewing 10 posts - 1 through 10 (of 10 total)