An invoice per month would be nice instead of per supercharge for accounting reasons :-) @elonmusk
40
Kevin Thiels (/◕ヮ◕)/ retweeted
Obsessed with the new “make it more” trend on ChatGPT.
You generate an image of something, and then keep asking for it to be MORE.
For example - spicy ramen getting progressively spicier 🔥 (from u/dulipat)
Kevin Thiels (/◕ヮ◕)/ retweeted
𝗧𝗼𝗽 𝟮𝟬 𝗦𝗤𝗟 𝗾𝘂𝗲𝗿𝘆 𝗼𝗽𝘁𝗶𝗺𝗶𝘇𝗮𝘁𝗶𝗼𝗻 𝘁𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲𝘀
Here is the list of the top 20 SQL query optimization techniques I found noteworthy:
1. Create an index on huge tables (>1.000.000) rows
2. Use EXIST() instead of COUNT() to find an element in the table
3. SELECT fields instead of using SELECT *
4. Avoid Subqueries in WHERE Clause
5. Avoid SELECT DISTINCT where possible
6. Use WHERE Clause instead of HAVING
7. Create joins with INNER JOIN (not WHERE)
8. Use LIMIT to sample query results
9. Use UNION ALL instead of UNION wherever possible
10. Use UNION where instead of WHERE ... or ... query.
11. Run your query during off-peak hours
12. Avoid using OR in join queries
14. Choose GROUP BY over window functions
15. Use derived and temporary tables
16. Drop the index before loading bulk data
16. Use materialized views instead of views
17. Avoid != or <> (not equal) operator
18. Minimize the number of subqueries
19. Use INNER join as little as possible when you can get the same output using LEFT/RIGHT join.
20. For retrieving the same dataset, frequently try to use temporary sources.
Do you know what is 𝗤𝘂𝗲𝗿𝘆 𝗢𝗽𝘁𝗶𝗺𝗶𝘇𝗲𝗿? Its primary function is to determine 𝘁𝗵𝗲 𝗺𝗼𝘀𝘁 𝗲𝗳𝗳𝗶𝗰𝗶𝗲𝗻𝘁 𝘄𝗮𝘆 to execute a given SQL query by finding the best execution plan. The query optimizer works by taking the SQL query as input and analyzing it to determine how best to execute it. The first step is to parse the SQL query and create a syntax tree. The optimizer then analyzes the syntax tree to determine how to run the query.
Next, the optimizer generates 𝗮𝗹𝘁𝗲𝗿𝗻𝗮𝘁𝗶𝘃𝗲 𝗲𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻 𝗽𝗹𝗮𝗻𝘀, which are different ways of executing the same query. Each execution plan specifies the order in which the tables should be accessed, the join methods, and any filtering or sorting operations. The optimizer then assigns a 𝗰𝗼𝘀𝘁 to each execution plan based on the number of disk reads and the CPU time required to execute the query.
Finally, the optimizer 𝗰𝗵𝗼𝗼𝘀𝗲𝘀 𝘁𝗵𝗲 𝗲𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻 𝗽𝗹𝗮𝗻 with the lowest cost as the optimal execution plan for the query. This plan is then used to execute the query.
Check in the image the 𝗼𝗿𝗱𝗲𝗿 𝗶𝗻 𝘄𝗵𝗶𝗰𝗵 𝗦𝗤𝗟 𝗾𝘂𝗲𝗿𝗶𝗲𝘀 𝗿𝘂𝗻.
#technology #softwareengineering #programming #techworldwithmilan #sql
I just released a first version of package Behat Date Manipulation: packagist.org/packages/dazzl…
Kevin Thiels (/◕ヮ◕)/ retweeted
year 1: hoping and praying no-one asks you to do anything on the big scary command line
year 5: if I have to leave the safe haven of my terminal to use some GUI nonsense, someone's gonna pay
Kevin Thiels (/◕ヮ◕)/ retweeted
Welkom Rik!
👉 Marketing automation 🔥
👉 Creatief 🌟
👉 Analytics 📈
👉 2 stukken vlees bij de frituur 🍔 🍔 🍟
Have fun! 😎
Treasure hunters: Highlight events on the path towards the Sprint goal. #Agile #retrospective #scrum kevinthiels.be/2019/03/treas…
Kevin Thiels (/◕ヮ◕)/ retweeted
Tweeps help me out.. My brother (a designer) has been self-teaching himself for 1.5 year and is now looking for a job as a front-end developer. Can you please RT this? He's been working hard to get a new job! nilsgovaerts.be/ Thanks!
Kevin Thiels (/◕ヮ◕)/ retweeted
Black Friday #drush fire sale! 50% off on all plans! Happy holidays. drush.org/#pricing
Kevin Thiels (/◕ヮ◕)/ retweeted
We’re giving away special consoles to celebrate Season 15: Boon of the Horadrim, starting with a custom PS4 Pro!
To enter, simply retweet this post.
Learn more about Season 15:
🍃 blizz.ly/D3Season15
Kevin Thiels (/◕ヮ◕)/ retweeted
Go figure #BDD @agile_memes
Kevin Thiels (/◕ヮ◕)/ retweeted
Why Choose Agile? #agile #scrum #lean #coaching #agilecoach #advice #agiletips wp.me/p6hPSi-nG?utm_source=R…
Kevin Thiels (/◕ヮ◕)/ retweeted
We're pleased to be announcing our plans to migrate our developer tools to GitLab: drupal.org/drupalorg/blog/de…
Kevin Thiels (/◕ヮ◕)/ retweeted
We just tagged our first stable release, thanks to everyone who helped us get here! @StryKaizer @Nick_vh @ThomasMSeidl @marthinal @jurdevries @novitsh @mrbaileys
Check out this summer giveaway from #GamerLinkApp to win an epic gaming setup! gleam.io/gUOzP/gamerlink-sum…
1
Kevin Thiels (/◕ヮ◕)/ retweeted
Functional browser testing with @nightwatchjs now in Drupal core 🦉
lullabot.com/articles/nightw… – at London, England






















