Viewing 15 posts - 5,821 through 5,835 (of 59,072 total)
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
oh... got it. Right, converting to VARCHAR does it. Got it.
Thank you
Technically, not. You can format with VARCHAR() but you have to use the correct "style" code rather than...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2020 at 8:52 pm
You might want to look up how the old Sybase money data types work. They round too soon and give the wrong answers. Google it. This is why competent...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2020 at 8:40 pm
I am curious why, given that RAND() is supposed to return random numbers, it always returns the same "random" numbers for the same query?. Is that by design for...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2020 at 8:15 pm
@jeff how do you do parallelism in SQL driven by an Agent job? Note that I don't mean parallelism in execution plans; I mean actual parallel operations as in...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 24, 2020 at 5:21 pm
Viewing 15 posts - 5,821 through 5,835 (of 59,072 total)