Pop Quiz: What is the easiest way to reduce the CPU usage of your SQL database?

What is the easiest way to reduce the CPU usage of your SQL database?

statistics-up-to-date.jpg
functional-programming-techniques.jpg
add-indexes.jpg
inlined-query-logic.jpg

And the correct answer is…

add-indexes.jpg

If you answered add indexes to the database to optimize query performance, then you are correct! Adding indexes is one of the easiest steps to improving the performance of your SQL database.

To make your SQL database even more efficient, add covering indexes. A covering index allows processing of a query using secondary indexes which focuses the table read to even fewer records. Using a covering index makes a query more efficient by avoiding the I/O overhead of fetching data from tables.

Pop QuizAirnet GroupSQL