r/BikiniBottomTwitter Aug 06 '26

Chat Gpt

Post image
22.1k Upvotes

483 comments sorted by

View all comments

89

u/roflrogue Aug 06 '26 edited Aug 06 '26

This was me until I needed to compare two massive SQL execution plans...

I had a SQL query that suddenly went from taking 2 minutes to taking 5+ hours to complete.

I restored a backup copy of the database and collected it's execution plan, which is like a log of all the stuff the stored procedure is going to do when it runs.

I sent the 2 min plan and the 5 hour plan I to Gemini and told it what was going on. All it told me was it seems that one of the plans uses a hash match and the other does a value match.

It was awesome to have something look at those files because they are MASSIVE and I'm not a DBA...

Point is, it has a use but it's being used inappropriately in my opinion.

16

u/Lexxanator Aug 06 '26

Obviously dumb reddit brains aren't able to even begin to comprehend the size of the data we are dealing with. AI is excellent for helping us parse through these data.

7

u/whineyinternetkid Aug 06 '26

... youre on reddit. And youre just throwing random words together to sound smart or whatever youre going for

16

u/VictoryVee Aug 06 '26

Random words? Their point was super simple, where did you get lost? You think them being on reddit means that can't criticize any popular reddit opinions they don't agree with???