Phil Eaton 5/1/2020

Writing a SQL database from scratch in Go: 3. indexes

Read Original

This technical article details the process of adding index support to a SQL database written in Go. It covers implementing PRIMARY KEY constraints during table creation, choosing a tree data structure for indexing, and optimizing SELECT queries by leveraging indexes for faster lookups instead of linear scans.

Writing a SQL database from scratch in Go: 3. indexes

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week