x

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, 2012 at 12:01 PM in Default

avatar image

thanner
0 1 1 1

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

2 answers: sort voted first

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, 2012 at 12:29 PM

avatar image

Blackhawk-17
12k 30 35 42

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

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, 2012 at 12:30 PM

avatar image

Grant Fritchey ♦♦
137k 20 42 81

(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

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x2072
x738

asked: May 02, 2012 at 12:01 PM

Seen: 971 times

Last Updated: May 02, 2012 at 12:30 PM

Copyright 2016 Redgate Software. Privacy Policy