Export (0) Print
Expand All

Maintenance Plan Wizard (Define Rebuild Index Task Page)

Use the Define Rebuild Index Task page to re-create the indexes on the tables in the database with a new fill factor. The fill factor determines how much empty space to leave on each page in the index, to accommodate future expansion. As data is added to the table, the free space fills because the fill factor is not maintained. Reorganizing data and index pages can re-establish the free space.

The Maintenance Plan Wizard can re-create the indexes using the CREATE INDEX options selected in the General Options and Advanced Options area. For information about the options, see CREATE INDEX (Transact-SQL).

Databases

Specify the databases affected by this task.

  • All databases

    Generate a maintenance plan that runs this task against all Microsoft SQL Server databases, except tempdb.

  • All system databases

    Generate a maintenance plan that runs this task against each of the SQL Server system databases except tempdb. No maintenance tasks are run against user-created databases.

  • All user databases

    Generate a maintenance plan that runs this task against all user-created databases. No maintenance tasks are run against the SQL Server system databases.

  • These specific databases

    Generate a maintenance plan that runs this task against only those databases that are selected. At least one database in the list must be selected if you choose this option.

Object

Limit the Selection box to display tables, views, or both.

Selection

Specify the tables or indexes affected by this task. Not available when Tables and Views is selected in the Object box.

Reorganize pages with the default amount of free space

Drop the indexes on the tables in the database and re-create them with the fill factor that was specified when the indexes were created.

Change free space per page percentage to

Drop the indexes on the tables in the database and re-create them with a new, automatically calculated fill factor, thereby reserving the specified amount of free space on the index pages. The higher the percentage, the more free space is reserved on the index pages, and the larger the index grows. Valid values are from 0 through 100. Uses the FILLFACTOR option.

Sort results in tempdb

Uses the SORT_IN_TEMPDB option, which determines where the intermediate sort results, generated during index creation, are temporarily stored. If a sort operation is not required, or if the sort can be performed in memory, the SORT_IN_TEMPDB option is ignored.

Keep index online while reindexing

Use the ONLINE option which users to access to the underlying table or clustered index data and any associated nonclustered indexes during index operations.

NoteNote

Online index operations are available only in SQL Server Developer, Evaluation, and Enterprise editions.

Community Additions

ADD
Show:
© 2014 Microsoft