Memory

Tag: memory

3 Lessons Learned About Azure SQL Database

3 Lessons Learned About Azure SQL Database

Hosted cloud databases make a lot of administrative tasks easier, or take care of them for you altogether.

But here are three things that I’ve found a little too easy to forget about Azure SQL Database.

Continue reading

Free Webcast: DBA vs Memory Settings

Free Webcast: DBA vs Memory Settings

Join me in two weeks for a really fun free webcast.

Continue reading

Why is My Query Faster the Second Time it Runs? (Dear SQL DBA Episode 23)

Why is My Query Faster the Second Time it Runs? (Dear SQL DBA Episode 23)

Today’s question is about why a query might be slow at first, then fast the next time you run it.

Continue reading

Should I change the locks configuration in SQL Server?

Should I change the locks configuration in SQL Server?

on November 22, 2016

I recently got a fantastic question from a reader regarding lock usage in SQL Server:

One of my production databases has a total lock count around 25,000 (select count(*) from sys.dm_tran_locks). The configuration setting for locks is set to the default of zero. This lock count is due to multiple procedures which frequently run and use the same 2-3 tables, repeatedly taking out and releasing locks. Do I need to change the configuration for locks or look into the SP’s so they can finish more quickly, rather than creating locks?

Continue reading