Skip to content
Back to skills

Mysql Patterns

ASecurity

MySQL patterns: InnoDB indexing, online schema changes, isolation levels, replication lag and query tuning.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentssqldatabasebackend

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill mysql-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mysql Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mysql Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-mysql-patterns/badge)](https://www.skillsdirectory.com/skills/karthikrshet-mysql-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mysql-patterns
description: "MySQL patterns: InnoDB indexing, online schema changes, isolation levels, replication lag and query tuning."
tags: [database]
---

# Mysql Patterns

## When to use

- MySQL or MariaDB backends

## Procedure

1. Design composite indexes for real queries
2. Use online DDL or gh-ost/pt-osc for large tables
3. Understand REPEATABLE READ gap locks
4. Read from replicas only where lag is acceptable
5. Use EXPLAIN ANALYZE (8.0+)

## Checklist

- [ ] utf8mb4 everywhere
- [ ] Slow query log reviewed

## Anti-patterns

- ALTER TABLE on huge tables during peak

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.