We had a database which was very slow (MS SQL SERVER). Now we figured out, that the indexes were never rebuild oder reorganised. (At the moment it is not clear if this really was the problem but we want to do this frequently now.)
But now the Question: Is it better to rebuild the index or is it better to reorganize it? At the moment we had fragmentation of over 90% so i made a rebuild. But if i want to do it frequently the fragmentation will normally be lower. So would it make more sense to reorganize it instead of rebuild? And would you really make a frequent task for that on every MS SQL Server without exception? Does it make sense on all MS SQL-Servers?
And is there any recommendation how oft this task should run? once a week? once a month?
I also saw in blogs that they make also a "update statistics" after rebuild/reorganisation. Is this recommended or nonsense? (I found both on blogs. -> one said: yes do it -> other: nonsense!)
And what is your experience? Do these tasks (rebuild/reorganzie/statistics) take a lot of performance ?
Many Questions! Sorry!