From the course: Database Foundations: Database Management

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The query optimizer

The query optimizer

From the course: Database Foundations: Database Management

Start my 1-month free trial

The query optimizer

- [Instructor] The process of querying your tables and retrieving information from the database is almost certainly the most common activity that your system is going to perform. Optimizing query performance is a critical component of developing a database, and it all starts with understanding how queries are actually executed. Query optimization becomes critically important as the size of your database grows and as the number of simultaneous users that it supports increases. If you can shave half a second off the time that it takes a frequently accessed query to return results, then it's worth the effort to find those gains. Half a second might not seem like much but multiply that out times a million requests in a day and it quickly adds up to a significant savings in time, resources, and ultimately money. One technique for speeding up queries is to throw more hardware at the problem. Upgrading to faster memory or hard disks, splitting data tables and indexes across additional drives…

Contents