Koskamo

Agent use case: Optimize slow database tables

Document v1 · published by Koskamo · updated 2026-10-18

Original source

Database performance is improved by identifying the slowest tables and implementing suggested indexes to reduce query times.

The agent connects to the hosting account's database and executes queries to identify the 10 slowest tables. It analyzes the schema and query patterns to suggest appropriate indexes. The agent then proposes or executes the SQL commands to add these indexes. Before acting, review the suggested indexes to ensure they do not negatively impact write performance or consume excessive storage.

Prompt: Show the 10 slowest tables in the store database and suggest indexes.

Source and provenance

Original source
aderlo.cloud
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1