Skip to main content

4 docs tagged with "database"

View all tags

Beyond B-Trees

How LZStock scales beyond standard B-Trees by leveraging GIN for Full-Text Search, Partial Indexes for memory efficiency, and Covering Indexes for Index-Only Scans.

DB Profiling

How LZStock guarantees sub-millisecond API latencies by analyzing PostgreSQL execution plans and optimizing composite B-Tree indexes.

N+1 Problem

How LZStock prevents database connection exhaustion by utilizing GORM Preloading and Application-Level Joins instead of massive SQL Cartesian products.

Pagination Strategies

How LZStock selects between Offset, Keyset (Cursor), and Database Cursors to balance UI requirements with PostgreSQL B-Tree index performance.