Hi @techresearch7777777 ,
Welcome to Microsoft Q&A!
1.[Reorganize Index] - Seems like the "Compact large objects" option saves some type of space but what impact does it have on performance or anything else when it runs or concerns afterwards?
This option will deallocate space used for the index if the space is no longer required and therefore will free up space in your database. Please refer to ALTER INDEX (Transact-SQL) to get more information, see below:
LOB_COMPACTION = ON
1.Specifies to compact all pages that contain data of these large object (LOB) data types: image, text, ntext, varchar(max), nvarchar(max), varbinary(max), and xml. Compacting this data can reduce the data size on disk.
2.For a clustered index, this compacts all LOB columns that are contained in the table.
3.For a nonclustered index, this compacts all LOB columns that are nonkey (included) columns in the index.
4.REORGANIZE ALL performs LOB_COMPACTION on all indexes. For each index, this compacts all LOB columns in the clustered index, underlying table, or included columns in a nonclustered index.
2.[Update Statistics] - Is it better in general to select 'Full scan' as Scan type or if specify number what value is general rule of thumb?
For most workloads, a full scan is not required, and default sampling is adequate. However, certain workloads that are sensitive to widely varying data distributions may require an increased sample size, or even a full scan. I recommend that please refer to this link to get more information.
3.Is it correct the order should be Reorganize first and then Update Statistics?
Please refer to SQL Server Maintenance Plan Reorganize Index and Update Statistics Tasks to get more information about how to design the maintenance plan. Additionally, after reorganizing indexes it is reasonable to update the statistics as this operation does not update the statistics like the index rebuild operation.
Best regards,
Carrin
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.