-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL Server Index Fill Factor #19147
Comments
@bender-ristone I will discuss with the team, but I don't think there is currently a way to express this in EF Core. You may need to edit the generated migration and write the SQL above explicitly. |
I started to do something about it, could you look and tell me if that would be the way before sending PR? FYI:
/cc: @bricelam |
@ralmsdeveloper Looks reasonable. @roji @bricelam Is fill-factor SQL Server-specific? |
@ajcvickers, first thanks for looking, I will still improve some things, this is a draft.
Is not SQL Server specific, PostgreSQL also supports Fill Factor. |
Yeah, the SQL Server and PostgreSQL CREATE INDEX syntax even seems to be identical for fill factor (when has that ever happened??). MySQL (InnoDB) also has this concept, although at the database level only (didn't find anything for Sqlite). I'm not sure it makes sense to introduce this into relational, as for now we're seeing support in 2 database out of 4... |
Removing from the backlog to discuss whether this should be provider-specific or not. |
@ralmsdeveloper We discussed and agreed that this is fine to be in the SQL Server provider. We'll follow up on the PR. Thanks! |
How to specify the index option, fe FILLFACTOR?
The text was updated successfully, but these errors were encountered: