facebook pixel
My query took 2 minutes. I added ONE line. Now it's 0.3 seconds. ๐Ÿš€ Me: "Why is this so slow?" Senior Dev: "Do you have an index?" Me: "A what now?" The Problem: SELECT * FROM orders WHERE customer_id = 12345; -- โฑ๏ธ 127 seconds The Fix: CREATE INDEX idx_customer ON orders(customer_id); -- โฑ๏ธ 0.3 seconds The Rule: Index columns in your WHERE clause. That's it. 400x faster. What obvious thing did you learn embarrassingly late? ๐Ÿ‘‡ #SQL #DataEngineeringtamil #DataEngineering
https://www.instagram.com/p/DU8i_ZxkmsW
Posted on Instagram ยท

ย 230

ย 2

    Suggested Credits

    Credits on Gondola describe each credited role and may be incomplete. A brand or featured person is not necessarily the creator.

    Tags, Events, and Projects