Skip to content
zwenNOTES AFTER HOURS.
SearchTopics
← All topics

Category

Databases

5 articles

Notes filed under this category.

Categories

After Hours31Databases5DevOps & Infrastructure8Linux & Systems17Programming4Tools & Workflow4Web & Networking8

TOPIC / CATEGORY

Notes in Databases

5 articles

Wednesday, Mar 19, 2025

Use EXPLAIN ANALYZE Without Surprises

Read a real PostgreSQL query plan while limiting runtime risk and remembering that ANALYZE executes the statement.

2 min read
Wednesday, Mar 12, 2025

One Slow MySQL Query and the Index It Wanted

Read MySQL 8 EXPLAIN output for one slow query, choose composite index column order, make the index covering, and retire unused indexes safely by making them invisible first.

9 min read
Thursday, Oct 24, 2024

RDB, AOF, Both, or Neither: Redis Persistence on a Small Server

Decide whether a small Redis needs RDB snapshots, an append-only file, both, or no persistence, check that saves are really happening, and prove a restore with a throwaway instance.

6 min read
Wednesday, Apr 10, 2024

PostgreSQL Memory Settings on a Small VPS

Check and size sharedbuffers, effectivecachesize, workmem, maintenanceworkmem, and maxconnections on a small server, apply them with the right reload or restart, and confirm the effect.

8 min read
Saturday, Oct 28, 2023

Redis maxmemory and Eviction on a Small Server

Set a Redis memory limit, choose an eviction policy that matches what the keys are for, and use INFO to tell whether Redis is evicting keys or refusing writes.

5 min read

© 2026 zwen

AboutPrivacyRSS