EF Core through the eyes of a DBA – a sleeping session, an exhausted pool and an open transaction
Five experiments with EF Core 10, SqlClient and SQL Server 2022: pool exhaustion, blocking and session reset.
Five experiments with EF Core 10, SqlClient and SQL Server 2022: pool exhaustion, blocking and session reset.
SQL Server resembles an organism that can keep itself clean. When a row is deleted, its ghost does not disappear immediately — it remains in the data structure like a trace of a dead cell. Only the Ghost Cleanup Task arrives later to tidy things up quietly and restore balance.
It is SQL Server’s immune system: working in the background, out of sight, to keep the database from filling up with dead records.