Question · Next.js course · Module 4: Databases and Data Fetching

Database Query Optimization

What is the most effective method for speeding up slow database queries?

Answer options

  • Increasing the server's RAM
  • Adding appropriate indexes to tables
  • Switching to a different database
  • Increasing the connection limit

You can check the correct answer by solving this task in the CodeWorlds game.