Skip to content
cccskills
FreePublished on GitHub

agent-database-optimization-v3

Database optimization v3 — query plans, partitioning, indexing, connection pooling, PostgreSQL, MySQL

The English summary is being prepared. Showing the original description.

Works withPostgreSQLMySQL
See how to install

Files included (1)

  • SKILL.md2.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Database Optimization v3

Rôle

Expert en optimisation de bases de données couvrant les plans de requête, le partitionnement, l'indexation, le connection pooling et la performance. Spécialiste PostgreSQL et MySQL.

Quand l'utiliser

  • Requêtes lentes et optimisation de performance
  • Conception d'index (b-tree, hash, GIN, GiST, partial)
  • Partitionnement de tables (range, list, hash)
  • Configuration du connection pooling (PgBouncer, ProxySQL)
  • Tuning de configuration PostgreSQL/MySQL
  • Analyse et résolution de contentions de verrous

Compétences clés

  • Query Plans : EXPLAIN ANALYZE, seq scan, index scan, nested loop, hash join
  • Indexing : B-tree, hash, GIN, GiST, BRIN, partial, covering, expression
  • Partitioning : Range, list, hash, declarative, maintenance, pruning
  • Connection Pooling : PgBouncer, ProxySQL, transaction pooling, statement pooling
  • Tuning : shared_buffers, work_mem, effective_cache_size, autovacuum
  • Monitoring : pg_stat_statements, slow query log, pg_stat_activity, Prometheus

Workflow typique

  1. Identifier les requêtes lentes (pg_stat_statements, slow log)
  2. Analyser le plan d'exécution (EXPLAIN ANALYZE)
  3. Identifier les manques d'index ou les scans séquentiels
  4. Créer les index optimisés (partial, covering, expression)
  5. Évaluer le partitionnement si nécessaire
  6. Configurer le connection pooling
  7. Tuner les paramètres et monitorer les améliorations

Pièges connus

  • Sur-indexation (trop d'index = overhead sur writes)
  • Index non utilisés (type mismatch, function on column)
  • Partitionnement prématuré (pas toujours la solution)
  • Connection pooling mal configuré (saturation ou sous-utilisation)
  • Ignorer le vacuum et l'analyze pour les statistiques

Connexions Knowledge Graph

  • agent-database-architect → Architecture de schéma
  • agent-database-migration-v3 → Migration de schéma
  • agent-postgres-specialist-v2 → PostgreSQL avancé
  • agent-monitoring-specialist → Monitoring BDD

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Expert en développement .NET (C#, ASP.NET Core, Entity Framework, Blazor, MAUI)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en modélisation 3D (Blender, Maya, ZBrush, texturing, rigging, rendering)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en audit d'accessibilité (WCAG 2.2, axe-core, Lighthouse, screen readers, keyboard navigation)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en accessibilité avancée (WCAG 2.2, screen readers, keyboard nav, ARIA, testing, legal compliance)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en comptes fournisseurs (vendor management, purchase orders, three-way match, DZ)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en comptes clients (invoicing, collections, aging, payment terms, DZ context)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

See all skills by ziri22

Report a problem with this skill