Viewing 15 posts - 916 through 930 (of 22,184 total)
I appreciate the feedback.
One reason I've used index rebuilds in the past is because some of the third-party apps we rely on can sometimes end up with a query...
March 4, 2022 at 1:59 pm
Oh!
yeah, the query store data is stored with the database. If you back it up, which you are absolutely NOT doing, when you restore, you will get that data back....
March 4, 2022 at 1:56 pm
Effectively a varchar(50) and a varchar(4000) are the same, so you won't see an implicit conversion there. It's the varchar to int that you're going to see the most.
March 4, 2022 at 1:53 pm
All problems won't be fixed in the code, but I'd start there. Get that right, then figure out how the queries really behave. From there, you can make some good...
March 3, 2022 at 4:38 pm
Query Store is not overwritten during a restore. In fact, it remains completely intact. All Query Store information is in system tables, stored with each database and will get backed...
March 3, 2022 at 2:47 pm
Piling on.
Sounds like statistics are getting out of date. Focus there, not on index rebuilds (although, those will also update statistics).
March 3, 2022 at 2:45 pm
ALL cases.
All of them. Statistics are what the optimizer uses to determine how many rows are likely to be returned from a given table or index. Without statistics, the optimizer...
March 3, 2022 at 2:44 pm
You could provide them with PowerShell commands that run the script. Or, assuming they have a client tool installed, a batch file to run the command. I'd lean towards Powershell....
March 3, 2022 at 2:40 pm
Check all the settings as suggested. Maybe an application server is misconfigured and using different ANSI settings. Look at the query_hash values to make sure they're the same. Normal behavior,...
March 3, 2022 at 2:38 pm
Woof!
So, your parameters don't match the data types of the columns. I know you said you can't change the code, but it's wrong. For example, tinyint, which is what's in...
March 2, 2022 at 4:34 pm
This is an old article, but it shows one way to deal with versioned and backdated data. It's still very applicable. Also a follow-up article showing another mechanism....
March 2, 2022 at 2:57 pm
A DELETE operation has to find the appropriate rows to delete. That means it has to look at the values. If there are no indexes, it has to scan every...
March 2, 2022 at 2:48 pm
Oh, and 2019 introduces a bunch of good knobs for tweaking QS behaviors. You really can reduce the overhead quite a bit (QS is amazing, wonderful and cool, but yeah,...
March 2, 2022 at 2:13 pm
I normally do try. I even violated my own decision to "black ball" someone last night and tried to figure out what the heck it was they were talking...
March 1, 2022 at 6:25 pm
Yeah, Jack's right. Query Store is a good way to go. It does aggregate the data you get (by the hour by default), so if you need detailed info, XE...
March 1, 2022 at 6:22 pm
Viewing 15 posts - 916 through 930 (of 22,184 total)