Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Database optimization subagent v1.0.0

Use this resource to speed up queries and indexing in a database

New

  • 257 downloads
  • 87 likes
  • 39 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install database-optimizer-subagent

First time: connect the CLI with

npx --yes palatekit@latest login

This subagent analyzes execution plans with EXPLAIN ANALYZE, rewrites queries, designs indexes, resolves N+1 issues and suggests partitioning or caching. The main agent calls it for slow database behavior or scaling problems.

Mostly picked by

Updated November 2, 2026

Card for “Database optimization subagent”

Details

Install guides
Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • The subagent file (in English): optimization method and indexing rules
  • Rewritten queries and proposed indexes, with their rationale

Good fit for

  • A page that runs dozens of queries per view
  • A large table whose filters are slow

Not for

    Tags

    • database
    • optimization
    • indexes
    • queries

    About

    You say

    “This order list takes too long to load, analyze the query and propose an index.”

    Card for “Database optimization subagent”

    Subagent published by wshobson under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Copy the file into .claude/agents/ (project) or ~/.claude/agents/ (all your projects)
    2. Ask your agent to speed up queries and indexing in a database, or call the subagent by name
    3. Review its work

    Content preview

    Files

    • database-optimizer-subagent.md10 KB
    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB

    Origin and licence

    Listed unmodified

    Author
    wshobson
    Source
    github.com/wshobson/agents/blob/0874a27b17a22e2b7c2e2bcd725768e0803cad06/plugins/database-cloud-optimization/agents/database-optimizer.md
    Licence
    MIT

    Notice

    « database-cloud-optimization-database-optimizer » (wshobson, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.