Viewing 15 posts - 16 through 30 (of 42 total)
DDL attached, we are not able to provide sample data, per my boss's instructions:
"Everything but sample data. Column definition should allow them to generate what they need"
November 21, 2012 at 10:43 am
thanks Jeff
note that the table I deleted from is not referenced in the query
November 21, 2012 at 8:26 am
thats all the code for the misbehaving query, moot point anyway as no code is changing until we figure out what went wrong that day
November 20, 2012 at 3:15 pm
All:
This was literally a "switch-flip" -- the query run time doubled exactly right after I made the changes noted in my original post
(note: on that day I rebuilt indexes...
November 20, 2012 at 1:44 pm
Any luck with the plan?
On a related note, I am trying to pass as a query hint the XML from what I believe to be the plan that the query...
November 20, 2012 at 11:34 am
stepping out, will be back online Monday, thank you for your help today
my apologies for the runaround on the query plan -- I thought sys.dm_exec_text_query_plan yielded an actual, apparently that's...
November 17, 2012 at 2:16 pm
okay, that's not what I've heard elsewhere (re: column stats) but so be it
try this plan -- I generated it via "Include Actual Execution Plan" (vs sys.dm_exec_text_query_plan, from which I...
November 17, 2012 at 1:27 pm
the stats which were rebuilt were COLUMN statistics
I thought table index rebuild only updated TABLE statistics (fullscan)
Are you trying to tell me that this is not the case, i.e. table...
November 17, 2012 at 1:16 pm
A new development:
As previously stated, the "trans" and "asset" tables are subscribed tables
I re-initialized the subscription this morning
Now the query appears to be back to normal run time
(no changes in...
November 17, 2012 at 12:28 pm
"One other thing would really help, the actual execution plan."
This IS the ACTUAL execution plan
"Also, do you really drop the temporary table as soon as it is populated as it...
November 17, 2012 at 12:16 pm
I have attached the results of sp_help's on the tables, and the sql statement
November 17, 2012 at 11:27 am
I believe it is multi-line
Note that the query did not change -- the emphasis is on what could have happened that weekend that caused the query to double in time
November 17, 2012 at 11:02 am
that IS the actual plan:
select
(SELECT SUBSTRING(text, r.statement_start_offset/2,(CASE WHEN r.statement_end_offset = -1 THEN LEN(CONVERT(nvarchar(max), text)) * 2 ELSE r.statement_end_offset END - r.statement_start_offset)/2 ) FROM sys.dm_exec_sql_text(r.sql_handle) ) AS query_text...
November 17, 2012 at 11:01 am
I dont think I rebuilt stats that day,just the indexes.
I added a update stats task to the maint plan about a week later (after the index rebuild), however it updates...
November 17, 2012 at 6:29 am
note: the emphasis is on what happened when the aforementioned operations were performed on database "P" such that the query doubled in run time, not so much on what...
November 16, 2012 at 12:08 pm
Viewing 15 posts - 16 through 30 (of 42 total)