What is an index in a relational database, and how does it improve performance?

  • Algorithm for sorting data in a table
  • Data structure that provides a quick look-up of rows based on column values
  • Function to calculate the average of a column
  • Unique constraint on a column
An index in a relational database is a data structure that provides a quick look-up of rows based on column values, improving the speed of data retrieval. It acts as a roadmap to locate specific data efficiently.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *