데이터시각화101: 언제 어떤 차트를 사용해야 할까
https://t.co/hVwtycdCFJ
데이터 시각화의 주요 목적들을 여섯 가지로 나누고, 각 목적에 맞는 다양한 시각화 유형을 정리해 보았습니다
비교에서부터 흐름에 이르기까지, 각 시각화 목적에 따른 차트 사용법에 대해 자세히 살펴보도록 하겠습니다
𝗧𝗼𝗽 𝟮𝟬 𝗦𝗤𝗟 𝗾𝘂𝗲𝗿𝘆 𝗼𝗽𝘁𝗶𝗺𝗶𝘇𝗮𝘁𝗶𝗼𝗻 𝘁𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲𝘀
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
𝗔𝗣𝗜 𝗥𝗮𝘁𝗲 𝗟𝗶𝗺𝗶𝘁𝗶𝗻𝗴. 📝
When you're exposing an API service.
Chances are high that your service experiences a sudden burst in traffic.
This can degrade your system performance, and potentially lead to service outage.
How do you tackle this ?
🧵
개발자가 알아두면 좋은 기술 블로그 운영 팁 5가지
https://t.co/2iP28cd3BB
제 주변의 동료들이나 시니어 개발자들은 이미 기술 블로그를 운영하고 있거나, 운영하는 것을 적극 추천하는 편입니다.
개발자에게 블로그란 어떤 의미고, 무슨 이점이 있길래 이렇게 권하는 걸까요?
#개발자#블로그
백엔드 개발자를 위한 스프링 부트 테스트
https://t.co/o1JIun1M52
테스트 코드는 작성한 코드가 의도대로 잘 동작하고 예상치 못한 문제가 없는지 확인할 목적으로 작성하는 코드입니다.
테스트 코드는 유지 보수에도 매우 좋다는 장점이 있기 때문에 공부해 보시길 추천합니다.
#스프링부트
❌ Wrapping every function with useCallback is not only a sign of premature optimization but it also can hurt performance. (memory allocation)
✅ Instead delay the useCallback hook until you find a performance issue related to function definition change between re-renders↓
Tired of writing CSS from scratch? 😴
CSS generators can help you create beautiful elements in seconds.
Here are 12 awesome ones you should check out (all free) 👇🧵
제가 만들었던.. "웹 프로젝트 체크리스트"에 대해 배포를 합니다!
이전에는 디엠을 통해 받았지만, 영감을 받으셨으면 하고 배포 드립니다..
저두.. 참고할게 없어서 힘들었거든요 ㅠ_ㅠ
다가 오는 날 행복하시길 바라며 저는 공부하러!
링크: https://t.co/gd7nAyYHjq
슬랙이 UI를 갈아엎는 이유
https://t.co/nboKX6e6oA
슬랙은 지난 8월, UI 리뉴얼을 발표했다. 그동안 버튼 위치가 바뀌거나 UI가 조정되는 업데이트가 있긴 했지만, 이번처럼 크게 갈아엎는 것은 처음이다.
수많은 IT 실무자의 커뮤니케이션 도구 슬랙이 과연 어떤 식으로 변신했는지 살펴보자.