Reorganize Index Task
Applies To: SQL Server 2016
The Reorganize Index task reorganizes indexes in SQL Server database tables and views. For more information about managing indexes, see Reorganize and Rebuild Indexes.
By using the Reorganize Index task, a package can reorganize indexes in a single database or multiple databases. If the task reorganizes only the indexes in a single database, you can choose the views or the tables whose indexes the task reorganizes. The Reorganize Index task also includes an option to compact large object data. Large object data is data with the image, text, ntext, varchar(max), nvarchar(max), varbinary(max), or xml data type. For more information, see Data Types (Transact-SQL).
The Reorganize Index task encapsulates the Transact-SQL ALTER INDEX statement. If you choose to compact large object data, the statement uses the REORGANIZE WITH (LOB_COMPACTION = ON) clause, otherwise LOB_COMPACTION is set to OFF. For more information, see ALTER INDEX (Transact-SQL).
You can set properties through SSIS Designer. This task is in the Maintenance Plan Tasks section of the Toolbox in SSIS Designer.
For information about the properties that you can set in SSIS Designer, click the following topic:
For more information about how to set these properties in SSIS Designer, see Set the Properties of a Task or Container.