Viewing 15 posts - 48,796 through 48,810 (of 49,571 total)
Any scheduled jobs that corresond to the slowdowns? Either on SQL or windows scheduled events?
March 9, 2007 at 2:01 am
I don't think I need to add serializable isolation as I will want my select statement to see the commited transaction so it doesn't insert a duplicate record.
I'm not sure...
March 8, 2007 at 3:41 am
I've before now left profiler running for a full day without issue. Just make sure you apply enough filters to get just what you're interested in (in this case, executions...
March 8, 2007 at 2:55 am
Can't you remove the duplicates?
Regarding profiler, can't you leave it runing for some time against the prod database? It would be best to catch the cause of the duplicate calls,...
March 8, 2007 at 2:03 am
If you're using 2005, you should be using the ALTER INDEX ... REBULD command, rather than the old DBCC DBREINDEX
March 8, 2007 at 1:38 am
Since you have your check with(nolock) and there's no transaction, it's quite possible for two calls at the same time to not find the record and then both insert it....
March 8, 2007 at 1:07 am
What this message means is that SQL issues an IO to windows and has not received a completion notification in 15 seconds.
A 15 sec delay on IOs is a...
March 7, 2007 at 2:05 am
You don't need to update statistics after doing dbreindex. DBReindex updates the stats as part of its operation. IndexDefrag doesn't.
March 7, 2007 at 1:43 am
Pleasure. This is one of the first real uses I've seen for them too.
March 6, 2007 at 11:18 pm
Would it be possible for you to point me to a good reference that would explain what you mean by "the appropriate xml indexes on the column". Are you referring...
March 6, 2007 at 11:17 pm
You can't use non-deterministic functions within a user-defined function. That include rand(), newid() and getdate() amoung others
What you can do is write a more generic function that takes 2 params,...
March 5, 2007 at 4:51 am
Look in books online for recursive common table expressions. They're exactly what you're looking for. Here's quick example. Should give you an idea.
WITH
MenuCTE(ParentID
March 5, 2007 at 1:17 am
You can search xml very efficiently in SQL 2005, if you use xquery and have the appropriate xml indexes on the column.
What do you want to do with the data...
March 5, 2007 at 12:15 am
Had a case of that recently. One of the business users complained that the faxng was always slow (we use a faxing system that saves the faxes in the db)....
March 2, 2007 at 6:28 am
In addition to the above points, check the fragmentation of the indexes on both your dev and prod boxes.
Is it possible for you to post the table and index structure...
March 2, 2007 at 4:27 am
Viewing 15 posts - 48,796 through 48,810 (of 49,571 total)