Skip to content

Operation all skipping stats on rebuild of single partition #51

@b24carl

Description

@b24carl

Running with @operation='all' if a partitioned table is rebuilt then statistics are skipped. Rebuilding a single partition does not help statistics for the whole index. May I suggest;

-			where _idx.SkipIndex=0 and _idx.OperationToTake='REBUILD'
+			where _idx.SkipIndex=0 and _idx.OperationToTake='REBUILD' and _idx.IsPartitioned=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions