EasyPerformance & Indexes
Create a basic B-Tree index
The query
SQL
CREATE INDEX idx_emp_last_name
ON employees (last_name);Note
“B-Tree is the default index type in PostgreSQL. Great for equality (=) and range queries (<, >, BETWEEN).
CREATE INDEX idx_emp_last_name
ON employees (last_name);Note
“B-Tree is the default index type in PostgreSQL. Great for equality (=) and range queries (<, >, BETWEEN).