Add support for DATA_COMPRESSION and SORT_IN_TEMPDB SQL Server index options#30831
Add support for DATA_COMPRESSION and SORT_IN_TEMPDB SQL Server index options#30831bricelam merged 2 commits intodotnet:release/8.0from
Conversation
|
@dotnet-policy-service agree company="Buildertrend" |
|
@ajcvickers and/or @bricelam Sorry for the ping, but let me know if there is anything I can provide or do to make this PR more manageable to review. I have the time to account for any recommendations you may have. |
bricelam
left a comment
There was a problem hiding this comment.
This design looks good to me.
I want @AndriySvyryd to review the metadata changes.
You're also missing the logic to put this in the migrations model snapshot. Without it, you'll keep getting drop-creates every migration. I think that logic lives here:
|
Cool, I'm busy here at the end of the week, but will get to fixing that next week. |
|
No rush, sorry it took us so long to get to |
…erIndexBuilderExtensions. Add tests to verify snapshot for IsSortedInTempDb, UseDataCompression, and FillFactor.
|
Updated to use SqlServerIndexBuilderExtensions for DataCompression and SortInTempDb in snapshots. Want to point out that without that update the snapshots would still contain something that looks like this: Which will prevent those drop-creates. This is currently the case for the This update makes the snapshot look like the following, which I imagine is preferred to the one above anyway. |
Closes #30408
Please check whether the PR fulfills these requirements