Since we migrated our database from SQL Server 2005 to SQL 2014, we're experiencing repetitive locks in the database. We used to have very few locks in SQL 2005. The READ_COMMITTED_SNAPSHOT is ON in the database and still ON in SQL 2014.
We migrated the database by Backup and Restore.
SELECT is_read_committed_snapshot_on FROM sys.databases WHERE name= 'YourDatabase'
The result of the above code returns 1, meaning that is ON.
The new Database server is a Windows Server 2012 R2 with 128 GB or RAM, on RAID 1 for the OD and RAID 10 for the Database, Logs and TempDB. The edition of SQL Server 2014 is Standard.
Why are we getting more locks with READ_COMMITTED_SNAPSHOT ON?
Thanks,