Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2e65e2d

Browse files
BrentOzarULTD#1149 sp_BlitzIndex add clustered index on IndexColumns table
Didn’t test before/after performance, but looks legit. Closes BrentOzarULTD#1149.
1 parent be83a5d commit 2e65e2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎sp_BlitzIndex.sql‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,8 @@ IF OBJECT_ID('tempdb..#TemporalTables') IS NOT NULL
455455
last_value BIGINT NULL,
456456
is_not_for_replication BIT NULL
457457
);
458+
CREATE CLUSTERED INDEX CLIX_database_id_object_id_index_id ON #IndexColumns
459+
(database_id, object_id, index_id);
458460

459461
CREATE TABLE #MissingIndexes
460462
([database_id] INT NOT NULL,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /