StackPractices

Tag: indexing

Browse 8 practical software engineering resources tagged with "indexing". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving indexing. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.

Database Indexing

Indexes are data structures that speed up queries at the cost of write performance and storage. Choosing the right indexes is one of the highest-impact database optimizations.

The resources below cover B-tree, hash, composite, partial, covering, and full-text indexes. Each guide explains how to design indexes for read-heavy and write-heavy workloads.

Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.

Optimize Queries with Database Indexing

How to create, analyze, and maintain indexes to speed up database queries and avoid common indexing...

Database Query Tuning Checklist

Checklist for systematic SQL query optimization: EXPLAIN plan analysis, index strategy, N+1 query...

Full-Text Search — Implement Search That Actually Works

A practical guide to full-text search: PostgreSQL tsvector, Elasticsearch indexing, query design,...

Complete Guide to MongoDB Indexing

Master MongoDB indexing. Covers single field, compound, text, geospatial, TTL, wildcard, hashed...

Complete Guide to PostgreSQL Tuning

Optimize PostgreSQL for high throughput. Covers configuration tuning, indexing strategies, query...

Complete Guide to SQL Query Optimization

Optimize SQL queries. Covers EXPLAIN plan analysis, index strategies, join optimization, N+1 query...

Database Design Guide

A practical guide to designing relational databases with normalization, indexing, and relationship...

SQL Performance Tuning — Indexes, Queries, and Explain Plans

A practical guide to optimizing SQL queries: indexing strategies, query rewriting, EXPLAIN plan...