You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 15, 2024. It is now read-only.
Add WITH (ONLINE=ON) to MS SQL indexes creation #554
If we upgrade V2 to V3, we have existing database with millions of record and creating index may be time-consuming.
To anticipate it, Indexes IX_Streams_IdOriginal and IX_Streams_IdOriginalReversed (and other indexes as well) better to specify WITH (ONLINE=ON)
Warning! The maximum key length for a nonclustered index is 1700 bytes. The index 'IX_Streams_IdOriginal' has maximum length of 2004 bytes. For some combination of large values, the insert/update operation will fail.
Does it mean, that MS SQL in reality support not more than 848 characters, not 1000 as declared in schema?
(it's not a problem for my IdOriginal values)
Activity
michael-freidgeim-webjet commentedon Jun 18, 2022
When I created the index, I got
Does it mean, that MS SQL in reality support not more than 848 characters, not 1000 as declared in schema?
(it's not a problem for my IdOriginal values)