Viewing 15 posts - 3,466 through 3,480 (of 5,394 total)
MysteryJimbo (2/9/2011)
You can get the plan_handle using this....
Thank you, Jimbo. I know how to retrieve the query plan, what I can't predict is whether it's going to be good or...
February 9, 2011 at 6:21 am
Grant Fritchey (2/9/2011)
February 9, 2011 at 6:19 am
You're looking for the MERGE statement, I guess.
EDIT: clicked the wrong button.
February 9, 2011 at 4:33 am
EDIT: duplicate post
February 9, 2011 at 4:32 am
free_mascot (2/8/2011)
February 9, 2011 at 4:26 am
This issue might be similar to something I'm experiencing on a database of mine.
I'm adding the link to that topic, in case something interesting comes up:
http://www.sqlservercentral.com/Forums/Topic1060705-146-1.aspx
February 9, 2011 at 4:05 am
Grant Fritchey (2/8/2011)
Hey, while I've got you guys here, when I was off the network, the Virtual Box and the laptop stopped communicating. I'm sure I've got a configuration wrong....
February 8, 2011 at 3:02 pm
Grant Fritchey (2/7/2011)
Trey Staker (2/7/2011)
Threadizens, What are you currently using to run virtual servers on your desktops/laptops?
VirtualPC and VirtualBox. Loath as I am to admit it, the Oracle product is...
February 7, 2011 at 10:38 am
Did you compare the execution plans? Did you spot any difference?
If so, can you post:
1) Table scripts
2) Index scripts
3) Estimated data volumes (for each table)
4) Actual execution plans
February 7, 2011 at 10:32 am
Trey Staker (2/7/2011)
Threadizens, What are you currently using to run virtual servers on your desktops/laptops?
VirtualBox. Simply GREAT.
February 7, 2011 at 10:26 am
Lowell (2/7/2011)
wouldn't this occur if the indexes were being rebuilt with the option SORT_IN_TEMPDB?
Then you would see 'ALTER INDEX ...' as command in the tempdb usage query.
February 7, 2011 at 9:59 am
Ok, so looks like you filled your tempdb with internal objects.
Can you post the execution plan? It should be included in the query I suggested.
February 7, 2011 at 9:47 am
Try running the script I suggested while your sql is running. It should display the tempdb usage.
If the tempdb usage is high, you will have to inspect the query plan...
February 7, 2011 at 8:13 am
I think you should do such a transformation on the app side, not on the database side.
That said, you could achieve it with some dynamic sql:
IF OBJECT_ID('tempdb..#Index') IS NOT NULL...
February 7, 2011 at 7:14 am
Don't cross-post, please.
http://www.sqlservercentral.com/Forums/Topic1059463-360-1.aspx
February 7, 2011 at 6:41 am
Viewing 15 posts - 3,466 through 3,480 (of 5,394 total)