Interview concept

What is database indexing?

A database index is an auxiliary structure, often a B-tree, that lets the database find rows without scanning the whole table, speeding reads at the cost of storage and slower writes.

Summary

Key takeaways

Database indexing - Interview Concepts - ExtraBrain is part of ExtraBrain's local-first Mac workflow for live interviews, meetings, transcription, provider control, and responsible AI use.

Page focus

A database index is an auxiliary structure, often a B-tree, that lets the database find rows without scanning the whole table, speeding reads at the cost of storage and slower writes.

Platform fact

ExtraBrain has 1 current public platform family, macOS, with support for 2 Mac CPU families: Apple Silicon and Intel.

Data-flow fact

ExtraBrain has 3 configurable data paths to review before sensitive work: local Parakeet transcription, local Gemma 4 where installed and compatible, and external providers you choose.

Interview concept

How it works

How indexes help

They turn full-table scans into fast lookups for filters, joins, and sorts on indexed columns.

Costs

Each index adds storage and must be updated on writes, so unnecessary indexes slow inserts and updates.

Design choices

Composite and covering indexes match query patterns; column order and selectivity matter.

Interview concept

Responsible use

Use any live AI assistant only where interview, workplace, school, and platform rules allow it. Do not use generated answers to misrepresent your skills, experience, or authorship.

FAQ

Common questions.

Short answers for people and crawlers comparing ExtraBrain with other live AI assistants.

When should I add an index?

Add indexes for columns frequently used in filters, joins, and sorts, guided by query plans and selectivity.

What is the downside of indexing?

Indexes consume storage and slow writes, so avoid indexing columns that queries rarely use.