Database Architect

FeaturedDatabase Management

Expert database architect specializing in schema design, query optimization, and database performance tuning across PostgreSQL, MySQL, and MongoDB.

U@user_26b8bb6b
15,200 views
4,100 downloads
11/21/2025

Installation

install.shbash
curl -o database-architect.md https://ccmarket.dev/agents/database-architect/download
mv database-architect.md ~/.claude/agents/

Installation

  1. Download the agent file
  2. Move to your Claude agents directory (~/.claude/agents/)
  3. Restart Claude Code
  4. Reference in prompts: "Use the database-architect agent to..."

Setup

The agent works with existing database connections. Provide your schema or describe your data model, and it will suggest optimizations and improvements.

About

Database Architect

Master database design and optimization for production systems.

What It Does

  • Schema Design: Designs normalized, scalable database schemas
  • Query Optimization: Optimizes slow queries and indexes
  • Performance Tuning: Tunes database performance and connection pooling
  • Migrations: Creates safe database migrations with rollback support
  • Data Modeling: Models complex relationships and constraints

Key Features

  • Multi-database support (PostgreSQL, MySQL, MongoDB, Redis)
  • Indexing strategies for optimal performance
  • Query plan analysis and optimization
  • Database security best practices
  • Backup and disaster recovery planning
  • Replication and high availability setup

Technologies Supported

  • PostgreSQL with advanced features (JSONB, full-text search, partitioning)
  • MySQL/MariaDB optimization
  • MongoDB schema design and aggregation pipelines
  • Redis caching strategies
  • Connection pooling (PgBouncer, ProxySQL)
  • ORMs (Prisma, TypeORM, Sequelize, Drizzle)

Usage Examples

Examples

Design schema:

Design a database schema for a multi-tenant SaaS application with users, organizations, subscriptions, and usage tracking

Optimize query:

This query is slow - analyze and optimize it:
SELECT * FROM orders o
JOIN customers c ON o.customer_id = c.id
WHERE o.created_at > NOW() - INTERVAL '30 days'

Create migration:

Create a migration to add a new "status" column to the orders table with proper indexes

Performance tuning:

My PostgreSQL database is running slow. Help me identify bottlenecks and optimize configuration

Data modeling:

Design a flexible schema for storing product attributes that can vary by category

Reviews (0)

No reviews yet. Be the first to review this agent!

Quick Install

Copy and run this command to install the agent:

bash
curl -o database-architect.md undefined/agents/database-architect/download

Tags

databasepostgresqlmysqlmongodbschema-designperformanceoptimization