I find a high level of index fragmentation in many tables of the SharePoint 2013 database (greater than 75%). Documentation appears to indicate that SharePoint Timer should be running tasks to maintain indexes and statistics. I do not see the index fragmentation decreasing as a result of any timer job.
I would like to implement a maintenance plan in SQL Server, however, I do not want to place the SharePoint 2013 server in an unsupported state.
Question1: what steps are recommended/best practices for maintaining the SharePoint 2013 indexes? Here i'm looking for a formal document from MS (if it exists) that talks about SQL maint, not timer jobs.
Question2: I find no formal indication that the scripts provided by ola hallengren are safe for SharPoint 2013. Is it not safe to use these scripts? Here i'm looking for some kind of confirmation that these scripts do not put the SharePoint server in an unsupported state.
Question3: What command can I safely use to defrag the indexes for all indexes in all tables in all of the SharePoint 2013 databases and maintain the options of each index? Again, i'm looking for commands that do not put the server in an unsupported state.
- SharePoint 2013 SP1
- SQL Server 2014
- running on Windows 2012 R2 Datacenter