Skip to content

Commit 1e7be48

Browse files
committed
adding stats updates for system tables
1 parent d59ede3 commit 1e7be48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

samples/databases/wide-world-importers/wwi-database-scripts/4-wwi-configure-required-database-objects.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6170,6 +6170,11 @@ BEGIN
61706170
END;
61716171
GO
61726172

6173+
-- update statistics on system tables for performance of schema queries
6174+
UPDATE STATISTICS sys.syscolpars
6175+
UPDATE STATISTICS sys.sysschobjs
6176+
GO
6177+
61736178
/*
61746179
61756180
-- initial data population to ship date

0 commit comments

Comments
 (0)