Viewing 15 posts - 1,666 through 1,680 (of 7,614 total)
The data still has to be read -- how else would SQL know that the proposed new value was the same as the value in the...
April 16, 2021 at 7:34 pm
OK, found one of the links:
https://www.sql.kiwi/2010/08/the-impact-of-non-updating-updates.html
I assume Paul White is an authoritative enough source for you :wink:.
I mentioned another source in my ref notes but can't find it. My internal...
April 16, 2021 at 6:54 pm
The data still has to be read -- how else would SQL know that the proposed new value was the same as the value in the table itself?
It's the writes/dirty...
April 16, 2021 at 6:53 pm
I'll have to check my internal notes for outer references. My notes just have the relevant details for me, not where I got them from.
But I'm rather busy now, so...
April 16, 2021 at 5:12 pm
The code below is showing the the exact same cpu times and statistics whether or not the target value is being changed. Not calling you a liar,...
April 16, 2021 at 5:11 pm
I agree. In particular, I would never do this for "ANY" db. And definitely not in production. Prod data, particularly, should always be as tightly restricted as possible.
April 16, 2021 at 4:07 pm
No, only one mail account per job.
But you can group email account so that multiple people receive an email for the job.
April 16, 2021 at 4:05 pm
(3) SQL does that itself, so that's only a very minor consideration.
I might be misinterpreting what you're saying above but, at face value, I have to...
April 16, 2021 at 3:48 pm
Tempdb tends to grow enormously after turning on snapshot, since most shops update data fairly frequently.
Shrinkfile remains functional but it should only be used exceptionally rarely! Such as after a major...
April 16, 2021 at 3:21 pm
You'd generally want to go: schemas (if any other than 'dbo'); tables, from least dependent to most dependent; functions; views; stored procedures; synonyms. [For some of those you could change...
April 15, 2021 at 9:15 pm
(3) SQL does that itself, so that's only a very minor consideration.
April 15, 2021 at 8:43 pm
I too vote for One.
I assume the table has a unique key column(s). If not, it will be very difficult to do what you want.
Your stated requirements seem to contradict...
April 15, 2021 at 6:32 pm
My view is that the vast majority of the time row comp is beneficial, likely 90+%. So I think they're better off always doing it vs never doing it, which...
April 15, 2021 at 4:27 pm
I(1) Other than re-write the script to update in batches, is there anything I could do to minimise the logging to the transaction log, or (2) a way...
April 15, 2021 at 3:19 pm
Viewing 15 posts - 1,666 through 1,680 (of 7,614 total)