AITeky Learn
Mini-project IT, Software & SaaS

Database indexing and query benchmark

Measure how indexes change the speed of real queries and find the best design for a workload.

The brief

A slow page is often a missing index, but too many indexes slow writes. Load a large dataset into a database, run a set of typical queries with different indexes, read the query plans, and recommend the indexes that give the best balance of read and write speed. Good looks like: timings repeated enough to trust, query plans explained, and a recommendation with its cost.

What you will build

  1. Load a dataset with millions of rows
  2. Write 10 typical read queries and 3 writes
  3. Measure with no indexes
  4. Add single, composite and covering indexes
  5. Read and explain the query plans
  6. Recommend indexes for the workload

Free, open data to build it with

Sign up free to get the data and links

It takes a minute with your email. AiTeky Pass (₹999/month or ₹9,999/year) is free for your first 30 days.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in