Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Playbook Backend Engineering Db Perf?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/aniruddhaadak80-playbook-backend-engineering-db-perf)
---
name: playbook-backend-engineering-db-perf
description: "Cut p95 query times on a growing table set before the next traffic spike."
---
# Playbook: Fix database performance under load
> Cut p95 query times on a growing table set before the next traffic spike.
**Track:** 🗺️ Backend Engineering · **Domain:** Journey Playbooks · **Level:** journey · **~175 min**
**Who this is for:** Backend Engineers, API Developers, Platform Engineers, Full-Stack Developers
## When to Use This Skill
Cut p95 query times on a growing table set before the next traffic spike.
Use it whenever a matching task appears in conversation — the agent loads these instructions on demand.
## Journey Steps
1. Step 1 — Optimize the slow queries actually hurting you: start with "Pull top-10 queries by total time from pg_stat_statements or slow log"
2. Step 2 — Layer caching with explicit invalidation: start with "Classify data: immutable (cache forever), mutable-TTL, never-cache (money)"
3. Step 3 — Design schemas for change (PostgreSQL): start with "Identify entities and relationships; write 10 queries you must answer well"
4. Step 4 — Design schemas for change (MongoDB): start with "Identify entities and relationships; write 10 queries you must answer well"
5. Step 5 — Design schemas for change (MySQL): start with "Identify entities and relationships; write 10 queries you must answer well"
6. How it fits together: Measure → index → cache, in that order. Caching a bad query hides it until invalidation day.
### Referenced Skills
- `databases-query-optimization`
- `caching-queues-cache-strategy-layers`
- `databases-schema-design-basics-postgres`
- `databases-schema-design-basics-mongodb`
- `databases-schema-design-basics-mysql`
## Commands
**Install all referenced skills**
```bash
npx skills add aniruddhaadak80/skills --skill databases-query-optimization && npx skills add aniruddhaadak80/skills --skill caching-queues-cache-strategy-layers && npx skills add aniruddhaadak80/skills --skill databases-schema-design-basics-postgres && npx skills add aniruddhaadak80/skills --skill databases-schema-design-basics-mongodb && npx skills add aniruddhaadak80/skills --skill databases-schema-design-basics-mysql
```
---
Part of [aniruddhaadak80/skills](https://github.com/aniruddhaadak80/skills) · Browse all at https://skills.sh/aniruddhaadak80/skills