database

Generates database interview questions covering InnoDB internals, SQL optimization, replication, and distributed databases.

23|1|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/yuecao365/OfferCome --skill database-yuecao365
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: database
Source: https://github.com/yuecao365/OfferCome/tree/main/src/lib/mock-interviews/skills/database
Command: npx skills add https://github.com/yuecao365/OfferCome --skill database-yuecao365

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Interviewers and mock-interview systems need structured, scenario-based database questions that test real production experience rather than memorized concepts, and this Skill provides a complete question-generation playbook for database roles. ## Core Features & Use Cases - Topic Ladders: Covers B+ trees and InnoDB storage, transactions and MVCC, locking and deadlocks, redo/undo/binlog, SQL optimization, replication, high availability, backup and recovery, online DDL and sharding, distributed databases, LSM engines, and NoSQL selection. - Role-Specific Tracks: Separates question sets for database kernel developers, DBAs, and backend engineers, with distinct expectations for source-code depth versus operational incident handling. - Resume Hooks: Maps resume keywords like MySQL, Redis, TiDB, or sharding experience to targeted follow-up probes about real troubleshooting and design trade-offs. - Use Case: When a candidate's resume mentions MySQL read-write splitting, generate a mock interview that probes replication lag diagnosis, semi-sync degradation, and failover data-loss handling. ## Quick Start Generate a database mock interview for a candidate whose resume mentions MySQL indexing and transaction experience, focusing on slow query diagnosis and deadlock troubleshooting.

Frequently Asked Questions about database

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

FAQPage Schema
How do I generate database interview questions for a mock interview?▼

Provide the candidate's resume or target role, and the Skill produces scenario-based questions across topics like InnoDB internals, transactions, locking, and SQL optimization. Each topic includes a difficulty ladder, sample questions, and expected answer signals.

What database topics does this interview question set cover?▼

It covers B+ trees and InnoDB storage, MVCC and isolation levels, locks and deadlocks, redo/undo/binlog, SQL optimization, replication, high availability, backup and recovery, online DDL and sharding, distributed databases like TiDB, LSM engines, and Redis or NoSQL selection.

Does it differentiate between DBA and database kernel developer interviews?▼

Yes, the Skill explicitly separates tracks. Kernel developer questions probe source-level design trade-offs, optimizer internals, and data structures, while DBA questions focus on change procedures, incident timelines, backup drills, and data safety.

Can it tailor questions based on a candidate's resume?▼

Yes, it includes resume hooks that map keywords like MySQL, Redis, TiDB, sharding, or DBA experience to targeted follow-up probes about real troubleshooting, migration validation, and failure handling.

What makes a good database interview question versus a bad one?▼

Good questions present production scenarios requiring diagnosis with specific tools like execution plans or INNODB STATUS, such as a replica lag spike or undo tablespace growth. Bad questions ask for memorized definitions like listing the four isolation levels.