Viewing 15 posts - 3,601 through 3,615 (of 59,087 total)
That's a good idea but I don't believe that will reduce the impact on the log file when you use REORGANIZE.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2022 at 6:25 pm
Thank you for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2022 at 6:21 pm
Ah... careful now... you can't rely on the default trace on a busy system for things like this. The lifetime expectancy of any row in our default trace is on...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2022 at 12:46 am
My two favorite questions are becoming...
Is there a reason why this MUST be done in PowerShell?
Is there a reason why this MUST be done in Python?
My...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2022 at 12:01 am
My two favorite questions are becoming...
Is there a reason why this MUST be done in PowerShell?
Is there a reason why this MUST be done in Python?
The answer both...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2022 at 5:23 pm
Hi Jeff - just checking to see if you got a chance to test it.
Ok. I don't actually have any mirrored databases anywhere but I tested this the best...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 24, 2022 at 4:18 am
Advantages of pre-allocation: Queries don't die when you suddenly run out of room in the middle of a transaction. No need to wait for file growth. No risk of...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 10:26 pm
Step 1 would be to stop using REORGANIZE unless you actually know what it does on each and every index you have and, to be brutally honest, most people don't. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 10:11 pm
Thank you. What will happen if the backup verify fail in one of the database? It will start again taking the backup or just tell us the verify option...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 9:42 pm
I am thinking about the negative consequences of provisioning free space drastically high.
2. Restoring to the test...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 9:22 pm
Thanks. That was awesome. Told me a lot.
Random GUIDs are GOOD... But not like THAT!
First and as a bit of a sidebar, you good folks have done yourselves a pretty...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 7:22 pm
Maybe do the P*Q for the lowest priced fruits, sort that way, then do a running total. Filter for running total less than your threshold?
Spot on early suggestion, Piet!
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 3:00 am
Thanks Jeff, well spotted, I totally missed it.
The first time I looked at it, SO DID I. 😀
Again, nice use of the "Relational Multiplication" method! I'm still thinking about...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 2:59 am
Jonathan AC Roberts solved this problem very nicely using the fnTally() function to due the "Relational Multiplication of Rows". If we tweak his good code just a little bit, it...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 2:33 am
;with cte as
(
select sum(t.price) over (order by t.price asc, v.N) RunningTotal, *
from #TEMP1 t
...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 23, 2022 at 12:51 am
Viewing 15 posts - 3,601 through 3,615 (of 59,087 total)