slow-database-interviewer

Diagnose slow database queries through simulated DBA interview scenarios.

94|22|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/PrepLabsAI/InterviewMentor --skill slow-database-interviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slow-database-interviewer
Source: https://github.com/PrepLabsAI/InterviewMentor/tree/main/agents/debugging/slow-database-interviewer
Command: npx skills add https://github.com/PrepLabsAI/InterviewMentor --skill slow-database-interviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a realistic DBA interviewer persona to help learners practice diagnosing and debugging slow database performance, focusing on query plans, indexing, statistics, and lock contention.

Core Features & Use Cases

  • Simulated interview scenarios covering phase-based debugging from symptom to prevention.
  • Emphasizes diagnostic rigor, root-cause analysis, and prevention strategies for production-grade systems.
  • Use cases include analyzing EXPLAIN ANALYZE outputs, detecting stale statistics, identifying missing indexes post-migration, and handling lock contention scenarios.

Quick Start

Begin a mock interview by presenting the initial slow query symptom and walk the candidate through Phase 1.

Frequently Asked Questions about slow-database-interviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I practice debugging slow database queries for production scenarios?

To practice debugging slow database queries, you can use a simulated DBA interview environment that enforces step-by-step diagnostic methods for analyzing query plans, indexing strategies, and lock contention in production-like systems.

What is the best way to analyze EXPLAIN ANALYZE outputs for slow Postgres queries?

Analyzing EXPLAIN ANALYZE outputs requires a structured diagnostic approach to detect stale statistics, identify missing indexes post-migration, and evaluate tradeoffs of proposed fixes to resolve slow Postgres queries.

How does a phase-based diagnostic method work for database performance issues?

A phase-based diagnostic method works by walking through sequential stages from initial slow query symptom identification to root-cause analysis and prevention, ensuring diagnostic rigor for production-grade database performance issues.

Can I use this approach to handle database lock contention scenarios?

Yes, you can simulate and handle database lock contention scenarios by practicing diagnostic interviews that focus on identifying root causes and evaluating prevention strategies across large tables.

Does this method cover indexing strategies and statistics for large tables?

Yes, this method covers indexing strategies and statistics for large tables by enforcing rigorous diagnostics to detect stale statistics and identify missing indexes post-migration while explaining the tradeoffs of fixes.

What prevention measures are emphasized for slow query debugging?

Prevention measures for slow query debugging emphasize root-cause analysis and prevention strategies for production-grade systems, ensuring you understand tradeoffs of fixes to avoid recurring performance degradation.