© Ben Brumm 2019
Ben BrummBeginning Oracle SQL for Oracle Database 18chttps://doi.org/10.1007/978-1-4842-4430-2_26

26. What Are Indexes?

Ben Brumm1 
(1)
Melbourne, VIC, Australia
 

Indexes are a feature that’s worth knowing about in SQL. They are useful for making your queries perform better, and as you gain more experience in SQL, you’ll need to know how to create them and why they are needed.

What Is an Index?

An index is an object in the database that improves the performance, or reduces the run time, of your SQL query. I like to think of it like an index in the back of a textbook.

Have you ever tried to look at a textbook for a specific topic? For example, you’re looking at a textbook on the history of human civilization and want to know more about ...

Get Beginning Oracle SQL for Oracle Database 18c: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.