Viewing 15 posts - 5,851 through 5,865 (of 59,101 total)
It comes down to knowing what maintenance needs to be performed *for your system* and relying on a wizard...or some tool (Ola) to figure out maintenance for you just...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 11:04 pm
I'm going to do a REBUILD. If I have 3+ indexes along with PK, is there any rule on thumb to rebuild each individually or REBUILD ALL on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 8:24 pm
If you need rebuilding indexes it’s probably a good time to rethink the indexing strategy. you need to figure out what causes fragmentation and redefine the indexes in such...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 8:10 pm
Jeff,
It states that the used_page_count accounts or in row, LOB and overflow. And, looking at sp_spaceused, from what I can tell and from my simple example sys.dm_db_partition_stats.used_page_count...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 8:09 pm
I don't know of a way to predict index REBUILD times. I can only tell you that I have a similar table that has a similar row count and slightly...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 5:23 pm
With apologies for my ignorance on the subject, I'm not sure what's going on because I don't actually use index maintenance plans, mostly because of the many reported horrors about...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 5:03 pm
Just to add fuel to the fire, what do you want done if something overlaps the shift boundaries? Or is that simply not possible because you're truly only using a...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 4:57 pm
All great answers and all of them very helpful!
I will be using the used_page_count for my calculations.
Again, I appreciate everyone's help!
That still won't be accurate for the reasons I...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 4:52 pm
The problem with using "Reserved_Page_Count" is that it actually has little to do with row size. For example, if you have an index that has suffered a large number of...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 4:35 pm
My first question would be... how did you determine that all those indexes were rebuilt just because they had a frag level > 0?
Also, a screen shot of your "Rebuild...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 3:27 pm
It would appear that you forgot to attach the code but, based on the narrative above, it sounds like you're on the right track to a fix.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 29, 2020 at 1:55 pm
I'm one of those DBAs that will allow the use of CLR. I'm just not one to allow the use of CLR that doesn't make sense. I had one guy...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 28, 2020 at 1:05 pm
Also, on the other thread for this subject, I posted a question...
Please, just so we know, why does this has to be a While loop? For example, will you be...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2020 at 9:17 pm
The stored procedure takes Name, month or day as input
It would seem that the inputs are a wee bit important as to figuring out if the proc will be...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2020 at 9:14 pm
@ Steve Collins,
Great try/good thinking. I'm thinking, though, that just about anything you add to it is going to slow it way down... especially since, if you read the article,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 27, 2020 at 5:18 pm
Viewing 15 posts - 5,851 through 5,865 (of 59,101 total)