Viewing 13 posts - 1 through 14 (of 14 total)
Just an update, adding the index that SSMS suggested cut the runtime of the query from ~26 minutes to 3 seconds. Thank you for opening my eyes to the Execution...
August 21, 2019 at 8:52 pm
Thank you! So there shouldn't be an issue changing the data type of the columns on my end with importing the data of the Varchar(max) type that we receive from...
August 20, 2019 at 8:07 pm
The Database I'm working on is a replication of the database within the third party application that my company uses to conduct business. I'm sure they set up the tables...
August 20, 2019 at 7:04 pm
Upon a quick google I think I should be looking for a Tasks entry on the right click menu, however I don't see that as an option when I right...
August 20, 2019 at 12:23 am
Jeff, which ones are VARCHAR(MAX)? Are those the fields with length -1?
August 19, 2019 at 11:18 pm
Awesome! Thank you Jonathan I will try that! Do I modify my query to use the newly created IX_DocumentLog_1 or would I keep it the same?
August 19, 2019 at 7:17 pm
So the plan looks the same, however I get the Missing Index when I change it to top 10k.
August 19, 2019 at 7:14 pm
And here is the DDL (I think)
August 19, 2019 at 7:08 pm
Here is the full Query I need to run. I am also attaching the execution plan for the full query, I will look into if there is a functional difference...
August 19, 2019 at 7:01 pm
It doesn't look like there are indexes on either of those columns, I'll look into that! How would that effect the data currently in the table?
August 19, 2019 at 5:56 pm
The Table has just under 2 million rows (1958393), and takes 32:08 to fully query every row and column. Does SQL go through the table line by line and cross...
August 19, 2019 at 5:47 pm
As far as Data Types being Returned, just strings of varying lengths and the Date-timestamp, which is why I am surprised at the length of time required to execute this.
August 19, 2019 at 4:48 pm
I do not think any of the data fields would be LOBS, There are just a massive amount of rows in the full DocumentLog table. Last week I ran the...
August 19, 2019 at 4:39 pm
Viewing 13 posts - 1 through 14 (of 14 total)