DEC - Indexing
DEC - Indexing
Database Indexing
Outline
● What & Why is indexing?
● Optimize Indexing
What is indexing?
What is indexing?
An index is a structure that holds the field the index is sorting and a pointer from each record to their
corresponding record in the original table where the data is actually stored.
What is indexing?
B-Tree
● Frequent querying
● Full-Text Searching
● Large Dataset
When not to use an index?
● Small tables
● Not every index will increase the query speed for the database
Database Indexing Summary