Viewing 15 posts - 1 through 15 (of 19 total)
Ninja's_RGR'us (12/2/2011)
brian 20008 (12/2/2011)
Ninja's_RGR'us (12/2/2011)
That's so easy to fix then... 😉
No doubt it'll be easy to Tune... just had to get to a point in which tuning could be...
December 2, 2011 at 8:35 am
Ninja's_RGR'us (12/2/2011)
That's so easy to fix then... 😉
No doubt it'll be easy to Tune... just had to get to a point in which tuning could be done.
December 2, 2011 at 8:24 am
Grant Fritchey (12/2/2011)
December 2, 2011 at 7:58 am
Actual Execution Plan Attached
December 1, 2011 at 3:56 pm
I can do that... gimmie a bit to re-run it.
Last execution took just over 10 minutes to complete and return 106 rows
December 1, 2011 at 3:44 pm
Actual Execution Plan
<ShowPlanXML xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan" Version="1.1" Build="10.0.2746.0"><BatchSequence><Batch><Statements><StmtSimple StatementText="select [Status] = esc.statusname, [Parent] = null, [Criteria] = ' = ''' + rtrim(esc.StatusCode) + '''', [Count] = sum(isnull(rq.[SubItemCount], 0)), [PickList] = rtrim(ESC.StatusDesc) + ' - [ ' +...
December 1, 2011 at 3:43 pm
I don't usually work with the XML execution plans so pardon me if it's not a clean post...
Estimated Plan...
<ShowPlanXML xmlns="http://schemas.microsoft.com/sqlserver/2004/07/showplan" Version="1.1" Build="10.0.2746.0"><BatchSequence><Batch><Statements><StmtSimple StatementText="declare @ReaderId int declare @FilterAssigned bit set @readerId = 100; "...
December 1, 2011 at 3:27 pm
Agreed, it just seems to be with the overall execution.
The indivudual queries (prior and post the union statement) run quick. It's only when everything is run and the union...
December 1, 2011 at 2:56 pm
I'll post them up after hours. Our doctors would kill me if I hang the production server that long during business hours.
My development server doesn't have as large a...
December 1, 2011 at 2:39 pm
As for the queries, those are in my original post
December 1, 2011 at 2:26 pm
I'll have to post the text execution plan later as it'll kill our production server for 5 minutes or so while the query executes.
December 1, 2011 at 2:24 pm
Sorry, both Union and Union All take 5 plus minutes to run.
December 1, 2011 at 1:58 pm
Went down that road as well, and it had the same results with Union All
December 1, 2011 at 1:43 pm
Great, thanks for the feedback on it. I'll be meeting with my team about it in two weeks myself.
February 6, 2011 at 10:14 am
Interesting idea. I'm not certain how this custom app would work against a view instead of a table. Basic CRUD works with views, however I'd have to test...
February 3, 2011 at 10:35 am
Viewing 15 posts - 1 through 15 (of 19 total)