Viewing 15 posts - 256 through 270 (of 518 total)
Why can't you save the results to a table, out of curiosity?
Would saving it to a file be a better option?
Literally your only option here is to run a profiler...
October 4, 2010 at 1:15 pm
Did you already configure the distributor as a distributor?
I.e. connect to the server, right click Replication, and go to Configure Distribution?
October 4, 2010 at 1:11 pm
marc 96091 (10/4/2010)
So I'll switch to Full recovery and just do nightly Full backups.
Then I'll do T Log backups every 15 mins....why not do Diff backups...
October 4, 2010 at 12:41 pm
Ok, did some more research/testing and I see an issue now.
Out of curiosity..you set the phone number as:
SET @Phone = @Phone +...
October 4, 2010 at 10:49 am
Seems like a waste in my opinion..that's still 800MB worth of IO every hour. I would bring it to full, do full backups every night, and a trans log backup...
October 4, 2010 at 10:37 am
You are using the same exact variable names at the very end of the sp_executesql..Gail's article used a different set (prefixed with _)
Try replacing your executesql statement with this:
...
October 4, 2010 at 10:28 am
Out of curiosity (unless I missed it)..what error are you getting?
October 4, 2010 at 10:18 am
The true CTE way would be like this:
WITH CTE
AS (SELECT woper
...
October 4, 2010 at 10:05 am
The issue is you're updating every row in the table by using a subquery within a subquery..causing a huge number of reads.
You should consider rewriting it to use inner joins...
October 4, 2010 at 9:29 am
If you're setting up a dynamic query, you might as well just replace the variables with the static values anyway. I also thought sp_exec or executesql ran in its own...
October 4, 2010 at 9:25 am
Converting the date like that is automatically an index/table scan, so I'm sure that piece is hurting performance. Convert your input to match your static data, not the other way...
October 1, 2010 at 2:54 pm
Ninja's_RGR'us (10/1/2010)
Hmm interesting info here.Got any scripts that finds those indexes or is it just based on filtering on index names?
Yep..there's actually a field for it:
select object_name(object_id) as [Table],Name as...
October 1, 2010 at 2:18 pm
There's really no reason to set MSDB to full. I'm not even sure if you can, actually. Anyway I was just verifying to make sure it was set to simple.
Run...
October 1, 2010 at 2:12 pm
Grant Fritchey (10/1/2010)
I really hate the DTA. Piece of Marketing if you ask me.
Agreed..manually cleaning out all the hypothetical indexes it creates and never cleans up is also a bucket...
October 1, 2010 at 1:45 pm
Is your MSDB on Full recovery or something? I've never seen an MSDB log that large.
Also run dbcc opentran on it to see if there's an open transaction causing it...
October 1, 2010 at 1:43 pm
Viewing 15 posts - 256 through 270 (of 518 total)