Skip to content

Spike E: measure the impact table on live servers #20

Closed

Description

@CaffeinatedCoder

This spike is how the table of plan, section 3.7 gets written.

Question

For an index, an exclusion constraint and a trigger, what does each EF operation on a column or table they depend on do: RenameColumn, AlterColumn, DropColumn, RenameTable, a schema move, DropTable? The answer is one of Unaffected, Follows, Lost, Blocks, per provider.

Known from 5.x, to be re-measured: PostgreSQL drops an index with its column without saying so (CaffeinatedCoder/EFCore.ComplexIndexes#142); SQL Server refuses ALTER COLUMN under any index that reads the column (CaffeinatedCoder/EFCore.ComplexIndexes#84, CaffeinatedCoder/EFCore.ComplexIndexes#141, CaffeinatedCoder/EFCore.ComplexIndexes#186) and sp_rename under a filtered index (CaffeinatedCoder/EFCore.ComplexIndexes#182).

Done when

The table is in the plan with a live-server test per cell, on PostgreSQL 16 and 18 and SQL Server 2022.

Activity

  1. added this to the 11.0.0 milestone on Nov 11, 2026
  2. added
    tests
    package/postgresql
    package/sqlserver
    area/migrations
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/migrationspackage/postgresqlpackage/sqlservertests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions