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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes