Skip to content

MSSQL Query Plan Cache #2057

Description

@simonfox

Describe the suggested improvement

I opened Particular/NServiceBus.SqlServer#1708 which has been resolved via Particular/NServiceBus.SqlServer#1728

The same issue exists in this repository for Outbox and Saga operations using the MSSQL dialect.

The path through SqlDialect.AddJsonParameter for MsSqlServer dialect never sets the size of the parameter meaning numerous plans get cached for varying lengths of saga data or outbox operations values.

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions