{"slug": "show-hn-deepsql-a-self-hostable-ai-dba-agent-for-postgres-and-mysql", "title": "Show HN: DeepSQL – A self-hostable AI DBA agent for Postgres and MySQL", "summary": "DeepSQL, a self-hostable AI DBA agent for Postgres and MySQL, monitors workloads, optimizes slow queries, and ships BI dashboards to cut database costs by 38%. The tool installs in one line and self-hosts in 15 minutes, with top customers ingesting a combined 17.35M rows/day. DeepSQL runs on any Linux box, EC2, or container in the user's VPC, using read-only credentials and keeping data within the infrastructure.", "body_md": "DeepSQL monitors workloads, optimizes slow queries, and ships BI dashboards to cut database costs by 38%.\n\nOne-line install · Self-host in 15 minutes\n\nTop 5 customers by rows ingested into `sales_report_aggregation`\n\nover the last 7 days:\n\n| Customer | Rows / day | Δ vs prior wk |\n|---|---|---|\n| Aurora Hospitality (30469) | 4.82M | +18% |\n| Nordic Stays Group (28104) | 3.91M | +12% |\n| Coastline Resorts (31287) | 3.44M | +9% |\n| Meridian Hotels (29553) | 2.87M | +6% |\n| Lumen Suites (30988) | 2.31M | +21% |\n\nCombined **17.35M rows/day** — 62% of total ingestion volume.\n\nSelf-hosted end-to-end. Your data, your credentials, your VPC.\n\nRun this on any Linux box, EC2, or container in your VPC. Installs the DeepSQL agent, CLI, and MCP server on the machine.\n\nAdd database connections, teach it your company's knowledge, and feed it your slow query logs. DeepSQL indexes your schema and starts learning your workload immediately.\n\nPostgres or MySQL — read replica, VPC-peered. Read-only credentials, no data leaves your infra.\n\nTeach DeepSQL your business rules in plain English — MRR, active-hotel, currency conventions.\n\nPoint at pg_stat_statements or MySQL slow log. DeepSQL clusters, ranks, and starts recommending.\n\nChat with the built-in DeepSQL agent in your browser, or connect Claude, Codex, and Cursor to your DeepSQL instance over MCP or CLI.\n\nOne-line install. Self-host in 15 minutes. Role-based access, query policies, and audit logs built in.\n\nDeep dives on cutting Aurora costs, replacing Tableau, and why your observability bill is a lie. Written for senior DBAs and data engineers.", "url": "https://wpnews.pro/news/show-hn-deepsql-a-self-hostable-ai-dba-agent-for-postgres-and-mysql", "canonical_source": "https://deepsql.ai/", "published_at": "2026-07-20 15:32:20+00:00", "updated_at": "2026-07-22 17:06:44.475166+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-infrastructure", "artificial-intelligence"], "entities": ["DeepSQL", "Postgres", "MySQL", "Aurora Hospitality", "Nordic Stays Group", "Coastline Resorts", "Meridian Hotels", "Lumen Suites"], "alternates": {"html": "https://wpnews.pro/news/show-hn-deepsql-a-self-hostable-ai-dba-agent-for-postgres-and-mysql", "markdown": "https://wpnews.pro/news/show-hn-deepsql-a-self-hostable-ai-dba-agent-for-postgres-and-mysql.md", "text": "https://wpnews.pro/news/show-hn-deepsql-a-self-hostable-ai-dba-agent-for-postgres-and-mysql.txt", "jsonld": "https://wpnews.pro/news/show-hn-deepsql-a-self-hostable-ai-dba-agent-for-postgres-and-mysql.jsonld"}}