# DeepSQL – A self-hostable DBA agent for Postgres and MySQL

Hi HN - I'm Venkat, founder of Stayflexi (YC), CMU CS grad and Ex-Oracle Query Engine team (patents in core databases) DeepSQL started as an internal tool to stop our own databases from becoming the bottleneck they were becoming (13,000+ hotels in production). It worked well enough that we're relea…

- **Page:** https://magpie.gallery/i/deepsql-a-self-hostable-dba-agent-for-postgres-and-a3pg
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** database, postgres, mysql, dba, self-hosted

## Source

Web · venkat971: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

- **Original:** https://news.ycombinator.com/item?id=48980286

> Hi HN - I'm Venkat, founder of Stayflexi (YC), CMU CS grad and Ex-Oracle Query Engine team (patents in core databases) DeepSQL started as an internal tool to stop our own databases from becoming the bottleneck they were becoming (13,000+ hotels in production). It worked well enough that we're releasing it. DeepSQL is an AI agent that operates a database the way a senior DBA and Data Engineer would 1. Fixes slow queries (we cutdown DB spend by 4x) 2. Fixes DB bloat (blocks unnecessary schema changes, in vibecoded setup) 2. BI dashboards(we removed spend on tableau, retool and appsmith) 3. Security (We could redact access to sensitive, PII data to our employees) while engaging everyone in the org to interact with our database How it works 1. Deepsql learns your data and relationships from your code base, rules and query logs 2. Deepsql agent has 20 background jobs that continuously monitor the schema changes, bottlenecks, and come up with solutions before the problem arises. (Schema bloat issues are irreversible) 3. Deepsql Brain has CLI and MCP surfaces that can directly work with Claude / Codex and Cursor. 4. Deepsql digest delivers the daily database health report. 5. Your team can connect to deepsql with their favourate surface areas - Web UI, CLI, MCP or Slack. One line install: curl -fsSL https://install.deepsql.ai/install.sh | bash For community support: https://discord.gg/duEJq7AeeG Or just email me for expert level setup guidance venkat@deepsql.ai https://deepsql.ai/

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
