
Database Optimization: Six Strategies That Cut Query Time by 60%
Profiling, indexes, ORM refactors, materialized views, connection pooling, and cache — a practical PostgreSQL and MySQL guide.

Tag
All blog posts with this tag.

Profiling, indexes, ORM refactors, materialized views, connection pooling, and cache — a practical PostgreSQL and MySQL guide.

Jobs table, row locks, JSONB payloads, LISTEN/NOTIFY, and goroutine workers — no Redis if Postgres is already in your stack.

DBOS and Obelisk: local SQLite plus Litestream to S3 for workflow state; Postgres when you need HA and shared scale.

Metrics Layer / Headless BI as an executable contract for metrics—not a data catalog—and why LLMs should not invent SQL on their own.

Chroma, Pinecone, Qdrant, Weaviate—not QPS charts, but packaging, API stability, and the path from dev to production.

The tsk case: finite state transducers in Rust, shared Finnish suffixes, and why SQLite FTS was only a stepping stone.