Database Indexes
Database indexes are data structures | that speed up | data retrieval
Database indexes là các cấu trúc dữ liệu | giúp tăng tốc độ | truy xuất dữ liệu
by creating references | to table data | without full table scans.
bằng cách tạo các tham chiếu | đến dữ liệu bảng | mà không cần quét toàn bộ bảng.
Include B-tree, | bitmap, | and hash types.
Bao gồm các loại B-tree, | bitmap, | và hash.
Enhance query performance | but increase storage requirements | and slow down writes
Nâng cao hiệu suất truy vấn | nhưng làm tăng yêu cầu lưu trữ | và làm chậm các thao tác ghi
due to index maintenance.
do việc bảo trì chỉ mục.
Resources
- PostgreSQL - Indexes (official)
- What is a Database Index? (article)
- Use the Index, Luke! - A Guide to Database Performance for Developers (article)
- Database Indexing Explained (video)
References
- https://roadmap.sh/backend (Node: Database Indexes)