Rules to Better SQL Databases - Performance

Here are some of the typical things that all SQL Server DBAs and Database developers should know about performance and how to identify the causes of poor performance. These should get you out of trouble the majority of the time. Also included is a list of the most common mistakes developers make that cause performance issues.

Want to develop your SQL Server Database with SSW? Check SSW's Databases consulting page.

  1. Identifying CPU Pressure

    When looking at SQL Server, you often get performance issues, but how can you figure out what might be the cause?

  2. When looking at Azure SQL Dataabase, you often get performance issues, but how can you figure out what might be the cause?

  3. So you've identified that your SQL Server is under CPU pressure. What can you do about it?

  4. So you've identified that your SQL Server is under memory pressure. What can you do about it?

  5. So you've identified that your SQL Server is under IO pressure. What can you do about it?

  6. Reading data from smaller tables is much faster. How can you keep the amount of data stored down?

  7. It can be expensive retrieving all the columns of a table. Find out why.

  8. So you've created some indexes on your database tables. How can you tell if they are being used by your queries?

  9. Specifying the wrong data types in SQL queries can make the server scan your whole table. That can take ages.

  10. It's very inefficient to loop in database queries. You should avoid it wherever possible.

per page
1 - 10 of 16 items
We open source.Loving SSW Rules? Star us on GitHub. Star