Skip to content

Add API to correctly insert GuidV7 to SQLServer (BigEndian), so no index fragmentation occurs  #2989

@jogibear9988

Description

@jogibear9988

Describe the bug

If GuidsV7 are added to NET9, SQLServer inserts them in a way, so the index still gets fragmented (see issue: dotnet/runtime#103658)

There should be a new setting in the SQLClient to switch GUID serialization to "TryWriteBytes(destination, bigEndian: true)" so also SQLServer can profit from the advantages of the new guid format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage Done ✔️Issues that are triaged by dev team and are in investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions