Viewing 15 posts - 931 through 945 (of 22,189 total)
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
I shy away from the ring buffer as an output mechanism. It puts quite the load on the monitored machine. Instead, I'd suggest using file output. You could then use...
March 1, 2022 at 2:25 pm
I try to help. I really don't look at who it is. I try.
Now, if they get demanding. I walk away. No need to argue or whatever. I helped, or...
March 1, 2022 at 1:19 pm
As you can tell, this is a huge topic. There's a lot to it. Honestly, I'd suggest you grab a copy of my book, link in the signature below this...
February 24, 2022 at 1:51 pm
Oh, same query, but not just a single instance of the query. Yeah, totally different. I understood you meant that only the one process and one query was involved. Instead,...
February 22, 2022 at 5:23 pm
Data.
As data changes, so does behavior. A query that was fine for 10k rows isn't for 10million. Check the execution plans. Look at row estimates there. Compare them to reality....
February 22, 2022 at 4:44 pm
There are always exceptions to everything, but speaking in general terms, you'll be better off letting SQL Server perform an update through the UPDATE process rather than deleting existing data...
February 22, 2022 at 4:00 pm
Be real cautious about fixing deadlocks using table lock hints. It may fix the deadlock, but can cause other performance hits. Testing is your friend.
Likely, it's a parallelism deadlock. You'll...
February 22, 2022 at 3:44 pm
When I see a sudden change in behavior like this, first is checking all the servers & os's, etc., for changes. A new patch on the SAN or on the...
February 22, 2022 at 3:41 pm
Viewing 15 posts - 931 through 945 (of 22,189 total)