Hi @Amin ,
Thanks for the additional details. At this stage, @Erland Sommarskog have already covered the likely causes and the correct troubleshooting direction.
The difference between SQL Authentication and Windows Authentication by itself isn’t enough to diagnose the issue. To move this forward, we’ll need something concrete to compare specifically.
- A sample query that is slow when executed using SQL Authentication
- The same query running fast with Windows Authentication
- Ideally, the execution plans (or Query Store plans) for both runs
Without a query and plan comparison, it’s not possible to determine whether this is related to SET options, security context (such as RLS or permissions), or plan caching behaviour in SQL Server 2025.
Once that information is available, the root cause should be straightforward to identify.
Thanks,
Akhil.