What is Query Optimisation?
The process of making database queries run faster and use fewer resources.
Why It Matters
Poorly optimised queries are one of the most common causes of slow application performance.
Real-World Example
Adding an index and rewriting a query to reduce its execution time from 5 seconds to 50 milliseconds.
“Understanding terms like Query Optimisation matters because it helps you have better conversations with developers and make smarter decisions about your software. You do not need to be technical. You just need to know enough to ask the right questions.”
Related Terms
Indexing
Creating a data structure that makes database lookups much faster, like an index in a book.
Explain Plan
A tool that shows how the database will execute a query, revealing which indexes it uses and how it processes data.
SQL
A language for communicating with databases, used to create, read, update, and delete data
Database
An organised collection of data that your application can store, retrieve, and update
Learn More at buildDay Melbourne
Want to understand these concepts hands-on? Join our one-day workshop and build a real web application from scratch.
Related Terms
Database
An organised collection of data that your application can store, retrieve, and update
SQL
A language for communicating with databases, used to create, read, update, and delete data
Indexing
Creating a data structure that makes database lookups much faster, like an index in a book.
Explain Plan
A tool that shows how the database will execute a query, revealing which indexes it uses and how it processes data.
NoSQL
Databases that store data differently from traditional tables, often as flexible documents or key-value pairs
PostgreSQL
A powerful, free, open-source database known for reliability and advanced features