We have a database named WSS_Us_App in our Production SQL Server 2014. In this database all of the indexes need to be rebuilt as most have a fragmentation level greater than 50%. I plan to rebuild these indexes during business hours as I was told that there will not be a problem and would not cause any major issues.
I plan to start rebuilding the indexes manually. However for the future, I would like to set up a SQL job that will take care of this task for me - perhaps every weekend have this job run.
My questions:
Is it better to rebuild these indexes with the ONLINE option? (I am having a hard time to understand the difference between with ONLINE option vs not)
I have some indexes that have high percent of fragmentation level but the page count is low. For example, an index called IX_LogTime has a fragmented percent of 50% and a page count of 2. Is this necessary to rebuild?