x
login about faq Site discussion (meta-askssc)

execution plan doesn't showing completely

hi

I have SP which is having more than 1100 query's, when ever i am running execution plan for this SP i am getting execution plan till 200th query.

alt text

download.png (34.8 kB)
download.png (34.8 kB)
more ▼

asked May 02 '12 at 12:01 PM in Default

thanner gravatar image

thanner
0 1 1

(comments are locked)
10|1200 characters needed characters left

2 answers: sort newest

Yep, it's a limit on the system. That's an extremely large number of queries to have within a single stored procedure.

You could use extended events to capture each individual execution plan for each statement. That's how I'd solve the problem of getting the plans. You could also use a server-side trace to do the same thing, but it's going to put more of a load on the system than extended events will.

more ▼

answered May 02 '12 at 12:30 PM

Grant Fritchey gravatar image

Grant Fritchey ♦♦
64.9k 13 20 66

(comments are locked)
10|1200 characters needed characters left

1,100 queries... that doesn't make it very easy to troubleshoot does it?

I'm not sure if this will do the job for you but from the SSMS menu open Query->Query Options...
And on the Results section under Maximum Characters Received try bumping up the settings for XML Data

more ▼

answered May 02 '12 at 12:29 PM

Blackhawk-17 gravatar image

Blackhawk-17
10.5k 23 29 34

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1611
x463

asked: May 02 '12 at 12:01 PM

Seen: 496 times

Last Updated: May 02 '12 at 12:30 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.