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.
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?
How do you prevent your customer data being used for training?
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