November 7, 2023 at 6:32 pm
Though its Azure MI Business critical , I see fragmentation, Any script to identify which IX's need to be rebuilt ,as Frag is over 50%.
I will add REBUILD WITH (ONLINE=ON) as we cannot have downtime , Its a 24 x 7 DB. I see failed inserts on dynatrace every now and then, possibly as the table is large in size 72 m rows ( 2019 -2023 data )
November 7, 2023 at 8:08 pm
Though its Azure MI Business critical , I see fragmentation, Any script to identify which IX's need to be rebuilt ,as Frag is over 50%.
I will add REBUILD WITH (ONLINE=ON) as we cannot have downtime , Its a 24 x 7 DB. I see failed inserts on dynatrace every now and then, possibly as the table is large in size 72 m rows ( 2019 -2023 data )
Let me ask... how much of a performance improvement was there when you rebuilt that index?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 8, 2023 at 8:04 am
What is actually the question ?
Why are inserts failing ? ( trace it if it's not available in the application logs )
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
November 9, 2023 at 7:18 pm
Though its Azure MI Business critical , I see fragmentation, Any script to identify which IX's need to be rebuilt ,as Frag is over 50%.
I will add REBUILD WITH (ONLINE=ON) as we cannot have downtime , Its a 24 x 7 DB. I see failed inserts on dynatrace every now and then, possibly as the table is large in size 72 m rows ( 2019 -2023 data )
There is little that adds up here. The "Azure MI Business Critical" tier has nothing that limits fragmentation. Why would you expect the tier to have in it that would have an effect on index fragmentation?
What indicates to you that fragmentation over 50% is an issue and requires a rebuild?
A failing insert should not be affected by a fragmented index, unless of course a rebuild was occurring when the insert was being executed. Are there errors that go with these failures?
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply