r/SQLServer • u/oleg_mssql • Mar 30 '26
Discussion Using AI for indexing
Has anyone used AI (copilot or ChatGPT) for query tuning or index suggestions in real workloads?
0
Upvotes
r/SQLServer • u/oleg_mssql • Mar 30 '26
Has anyone used AI (copilot or ChatGPT) for query tuning or index suggestions in real workloads?
View all comments
1
u/Dats_Russia Mar 30 '26
My two cents and two cautions:
Assuming good design and query writing practices you don’t need the perfect index, you just need a good enough index. Indexing is very important but it’s important that indexes aren’t the silver bullet to solve all problems. Indexing can help mitigate bad design by making queries faster but it won’t fix bad queries or bad table design.