Viewing 15 posts - 1,006 through 1,020 (of 59,072 total)
Compress the data. Look at both page compression and COMPRESS/DECOMPRESS for large char columns.
As a bit of a sidebar, be aware that Page Compression causes index rebuilds to take...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 1:40 pm
I sure don't mean for it to be false praise, or even praise for nothing. I've just seen a few people get... for want of a term, upset when...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 4:28 am
replicate returns 8k
https://learn.microsoft.com/en-us/sql/t-sql/functions/replicate-transact-sql?view=sql-server-ver16
Lordy... I've been bitten by that before. In this case, it returns 8K because it wasn't predefined as a MAX datatype.
Let run the test a bit...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 4:18 am
I feel that your most needed confidence is that needed for you to ask questions when you are not sure about something.
One of my biggest regrets is in not...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 23, 2023 at 3:44 am
Just to be absolutely correct, you might want to add a PK on EmpID in the Employee table. 😀
Otherwise, awesome question!
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2023 at 7:16 pm
Actually, REORGANIZE does a whole lot...
It causes log file explosions.
It perpetuates fragmentation because it doesn't clear the pages above the Fill FACTOR.
It combines pages at the worst time possible, which...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2023 at 7:01 pm
I'm still waiting on the OP for the DDL and Data sources for the example table.
As a bit of a sidebar, I've not yet done a deep dive on this...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2023 at 6:34 pm
There's really no difference between CTEs and Views. The exception to that rule is that if you can force a "Blocking Operator" in the CTE, it can act more like...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2023 at 6:22 pm
This is nice but I agree with Mike01. Where do we get a copy of the DDL for the table AND the data? People can learn much more by actually...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2023 at 1:37 pm
Just so people know, we have a "Morning Jobs Report" that we have extensive history from. It includes the start DATETIME for each job and the duration. It runs religiously...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 20, 2023 at 4:07 am
I would say that it would be more useful (for Microsoft and the overall community) to provide some more specific detail about what sort of code or query patterns...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 19, 2023 at 11:57 pm
I don't know that Bob Ward is the best person to ping about this. Conor or Derek Wilson might be better resources.
I got similar results for the little loop...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 19, 2023 at 7:47 pm
I don't know that Bob Ward is the best person to ping about this. Conor or Derek Wilson might be better resources.
Agreed but Bob Ward was they one that...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 19, 2023 at 7:31 pm
We did no index rebuilds were. The conditions travel with the restores. The same holds true with statistics. We do, however, rebuild stats once each week. It has not made...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 19, 2023 at 5:47 pm
My worst nightmare has come true. We upgraded to 2022 and stuff is crawling now. We turned off Query Store and went back to the old cardinality estimator and that...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 19, 2023 at 3:02 am
Viewing 15 posts - 1,006 through 1,020 (of 59,072 total)