Viewing 15 posts - 466 through 480 (of 3,738 total)
Steve Jones - SSC Editor (8/31/2015)
What I find is that tempdb is hard, because there's usually a load in it. I'd shrink files, not the...
August 31, 2015 at 9:29 am
.Jeff,
I'm not sure how to change the code?
Thanks again.
left JOIN ContractorCoverageException cce ON cce.contractorcoverageID = a.ID and cce.PostalID = postal.ID and e.postalid is null
-- and not exists (select postalid...
August 30, 2015 at 7:46 am
Jeff Moden (8/28/2015)
Welsh Corgi (8/28/2015)
August 30, 2015 at 7:42 am
Before I read the replies I replaced the not exist with a left join.
It takes 5 minutes either way.
Thank you.
left JOIN ContractorCoverageException cce ON cce.contractorcoverageID = a.ID and cce.PostalID...
August 30, 2015 at 7:40 am
ok, I will resolve the problem myself.
No need for additional post.
Thank you.
August 28, 2015 at 6:49 pm
All that I want to do is remove the not exist and delete from the Temp table.
August 28, 2015 at 9:22 am
ScottPletcher (8/25/2015)
Check the statistics on the replicated server, make sure they are current (or at least as current as the other servers).
I updated the statistics and the execution time dropped...
August 26, 2015 at 6:50 am
The executions are relatively the same.
It takes a minute and 19 seconds or the Published and 5 and a half minutes on the Subscriber.
August 25, 2015 at 2:43 pm
Eric M Russell (8/25/2015)
execution plan, elapsed time, worker time (CPU), wait time (in blocked state), local reads, physical...
August 25, 2015 at 2:15 pm
John Mitchell-245523 (8/25/2015)
(1) Is your query being blocked by another process?
(2) Have you compared the execution plans from the two databases?
Are...
August 25, 2015 at 2:08 pm
Vladan (8/25/2015)
any time you move the procedure into different environment, its performance may change - sometimes significantly. I have absolutely no idea what the procedure is doing, how large are...
August 25, 2015 at 8:21 am
Lynn Pettis (8/19/2015)
DECLARE @TableName VARCHAR (50)
DECLARE @BatchSize int
DECLARE @ArchiveYear Date
DECLARE @RowCount int
SET @TableName = 'tblCall'
SET @BatchSize = (SELECT BatchSize FROM PrismDataArchive.dbo.ArchiveDriver...
August 19, 2015 at 4:06 pm
Thanks.
I changed this:
WHILE @BatchSize > 0 AND @TableName = ('tblCall') AND @Active_Indicator = 1
To this. It works.
WHILE @BatchSize > 0 AND @TableName = 'tblCall' AND @Active_Indicator...
August 19, 2015 at 4:00 pm
The @Active_Indicator Variable is being set to 1 now but it does not execute the WHILE Loop.
That does not make sense?
August 19, 2015 at 2:11 pm
Viewing 15 posts - 466 through 480 (of 3,738 total)