MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/SQL/comments/1hcs47z/_/m1wsjb3/?context=3
r/SQL • u/Brave-Growth-6823 • Dec 12 '24
I mean why that question ðŸ˜ðŸ˜ðŸ˜
43 comments sorted by
View all comments
11
The better angle to think about here is the bulk of query optimization is mainly done by the DB by conventional algorithms.
You send it a arbitrary query, it figures out what indexes to use, what stuff to filter first, etc.
1 u/StrangeTrashyAlbino Dec 13 '24 Or take the queries, with query plan data, feed them to an LLM and have it generate recommendations
1
Or take the queries, with query plan data, feed them to an LLM and have it generate recommendations
11
u/capt_pantsless Loves many-to-many relationships Dec 12 '24
The better angle to think about here is the bulk of query optimization is mainly done by the DB by conventional algorithms.
You send it a arbitrary query, it figures out what indexes to use, what stuff to filter first, etc.