Live data from Hacker News

Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

deepsql.ai

21–30 of 39 posts

Re: Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

#21

Earlier quoted context omitted.

Deepsql doesn't require any predefined rules + stats, nor you need a DBA to operate it. It's an autonomous agent, that learns your business context, schema, join relationships and creates a mental map of everything (just like a DBA who joined your team). This we call it deepsql brain init stage. Once the init is done, it will then look at all slow queries workload, comes up with comprehensive suggestions of indexes,…

I think most of the slow queries can be identified and fixed by simple rules with a proper tool. Like https://docs.percona.com/percona-toolkit/pt-query-digest.htm... . Have you done any benchmark about the accuracy of your tool?

We have cross checked with industry standard tools like pganalyze. Most them analyze the workloads in isolation. There are no continuous evaluations and context carry forward across the runs.

DeepSQL does continuous evaluation of queries, we maintain performance life cycle of a query by customer.

A dashboard query for customer A might run for 2s, but for customer B it would take 50s. Here data clustering is the problem, skewness of distinct join keys … various factors. If query fix has to happen by looking at that query alone, one would make wrong decision (probably creating index). But a holistic decision would be partitioning here.

Re: Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

#22
post #20

inside install.sh file i found this: printf " ${DIM}This install is using DeepSQL's shared managed Azure OpenAI key, so your${RESET}\n" printf " ${DIM}schema and queries are processed through DeepSQL's shared LLM resource.${RESET}\n" also, it requires docker.

Hi, yes. Right now we are bundling our key to maintain the consistency of DeepSQL agent performance. We will lift this key bundling very soon, for enterprise deployment we might allow BYOK (bring your own key)

Yes, this requires docker. Here is more technical documentation on prerequisites and suggested setup (including AWS CFT)

https://docs.deepsql.ai/quickstart/

Re: Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

#23
post #20

inside install.sh file i found this: printf " ${DIM}This install is using DeepSQL's shared managed Azure OpenAI key, so your${RESET}\n" printf " ${DIM}schema and queries are processed through DeepSQL's shared LLM resource.${RESET}\n" also, it requires docker.

Hi, yes. Right now we are bundling our key to maintain the consistency of DeepSQL agent performance. We will lift this key bundling very soon, for enterprise deployment we might allow BYOK (bring your own key) Yes, this requires docker. Here is more technical documentation on prerequisites and suggested setup (including AWS CFT) https://docs.deepsql.ai/quickstart/

Does that mean my schema and data are sent to your OpenAI agents?

Re: Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

#26

The landing page doesn't show a link to your GitHub. Despite mentioning "self-hostable", I genuinely thought it was closed-sourced. I doubt first-time users will trust a random tool and grant it database-level access with a curl command.

now: https://github.com/DeepSQLAI/deepsql-self-host

Re: Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

#28

How is it different from Claude Code with access to Oracle docs?

Claude would not do the frequent schema drift changes, data relationships, block the query execution due to PII leak, cardinality calculations of key columns… 20 other parameters that effectively works like a well trained DBA. It’s all about harnessing the agent. And our harness can work with Claude or other coding agents to perform efficient DBA tasks.

Eg: our security harness blocks sensitive data from being queried, and this can be enforced at the user level. It takes effort to build and maintain such harnesses around claude at the org level.

Re: Show HN: DeepSQL – A self-hostable DBA agent for Postgres and MySQL

#30
post #20

inside install.sh file i found this: printf " ${DIM}This install is using DeepSQL's shared managed Azure OpenAI key, so your${RESET}\n" printf " ${DIM}schema and queries are processed through DeepSQL's shared LLM resource.${RESET}\n" also, it requires docker.

Hi, yes. Right now we are bundling our key to maintain the consistency of DeepSQL agent performance. We will lift this key bundling very soon, for enterprise deployment we might allow BYOK (bring your own key) Yes, this requires docker. Here is more technical documentation on prerequisites and suggested setup (including AWS CFT) https://docs.deepsql.ai/quickstart/

It just means they don't have real DBAs among them. :-0) Just vibe coders.
Post reply on HN