logoalt Hacker News

iambatemantoday at 4:44 PM3 repliesview on HN

Giving an LLM write access is insane but I gave LLM’s read-only access to our database and it’s been a huge productivity win.

Executives who wouldn’t take the time to build a report are happy to ask an AI agent to do so.


Replies

SOLAR_FIELDStoday at 5:07 PM

I would hope that you're running this on a replica so that the massive table scan doesn't choke writes to the main db. Even then it's possible to bring the replica down and depending on the technology still create a problem (WAL backup for instance)

Another way to bring prod down even with read is depending on your atomicity settings, try starting a transaction and don’t commit or abort it, just leave it dangling. That’s a cute one

kgeisttoday at 4:52 PM

How do you validate that the reports are correct? What if an executive makes a wrong business decision because the LLM wrote a wrong SQL query?

show 4 replies
mdavid626today at 6:44 PM

How do you prevent your customer data being used for training?

show 1 reply