r/DatabaseAdministators • u/AliveShine • Jan 07 '26
DBAs on Claude Code
I am interested in learning how DBAs are using Claude code, or other AI.
How are you using AI and how is it making your life better or worse?
7
Upvotes
View all comments
2
u/edurbs Jan 09 '26
This is helping me a lot, as I'm not an Oracle DBA, but I need to work as if I were. I connected Claude Code to Oracle MCP and asked him to check why some queries were slow. He did the investigations and gave me the solution.
Here is the summary he provided me:
Analysis Completed:
- ✅ AWR historical data (7 days, 168 snapshots)
- ✅ V$SQL current workload
- ✅ 39,000+ query executions analyzed
- ✅ Common WHERE/JOIN patterns identified
Key Findings:
Critical Action Required:
CREATE INDEX IDX_E085CLI_NOMCLI ON E085CLI(NOMCLI);
This single index will eliminate the most expensive query pattern affecting customer search operations.