Walex (@DanielWalterPC1) header
Walex (@DanielWalterPC1) profile picture

Tecnico en Telecomunicaciones, Maker empedernido y operador senior de redes #cisco

Cataluña, España
Joined October 2016
What happens to the student's first app, or the privacy tool built by a volunteer? Google's mandatory registration blocks them all by default unless they play by Google's rules. keepandroidopen.org/es/ #KeepAndroidOpen
1
13
Eran un español, un estadounidense y un australiano, que no se juntaron para un chiste sino para ofrecernos un momento sublime de magia musical. No se lo pierdan; emociona de veras.
377
3,602
353
10,960
746,904
How life would be without any electricity
1,135
5,332
1,002
63,525
17,599,590
sudo apt install food # <--😂🤓🥘 cyberciti.biz/faq/ubuntu-lts…
26
125
4
926
34,332
No todo el mundo lo entenderá...
216
869
64
7,485
244,901
𝗧𝗼𝗽 𝟮𝟬 𝗦𝗤𝗟 𝗾𝘂𝗲𝗿𝘆 𝗼𝗽𝘁𝗶𝗺𝗶𝘇𝗮𝘁𝗶𝗼𝗻 𝘁𝗲𝗰𝗵𝗻𝗶𝗾𝘂𝗲𝘀 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. Frequently try to use temporary sources to retrieve the same dataset. 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 takes the SQL query as input and analyzes 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
18
659
10
2,985
249,802
Cuando el humor no es lo tuyo #programacion
1
24
142
6,714
thank you @FFmpeg 😍
48
865
42
7,896
319,772
En Uiverse tienes una colección GRATIS de más de 3000 elementos de interfaz. Es opensource y están listos para copiar y pegar en vuestros proyectos en CSS o Tailwind. 🤘🏻 uiverse.io/
3
112
1
439
27,857
Testing a VR Drone controlled camera.
252
4,042
292
38,515
7,678,939
¿Recuerdas cuándo te uniste a X? ¡Yo sí! #MiAniversarioDeX
1
2
19
La programación es un arte que requiere las herramientas adecuadas para construir algo bonito 🎨 Aprende más sobre la programación orientada a objetos en Python aquí 👇 bit.ly/3eHc5am vía @kinsta_es
2
14
Abro debate 😏
500
2,180
129
8,419
1,994,542
Replying to @MoninaWow
El curso se llama Python Ofensivo, primero hay una gran parte de introducción a Python y luego otra bastante extensa de hacking con Python. youtu.be/wLwACtSK8lk
1
1
5
516
Os lo vendo avisando hace años... Linux se va a comer una parte muy grande del pastel de IoT, y lo que ahora se lleva "Arduino" y similares Quieres un consejo? Aprende ESP32, y sobre, todo Linux, JS + HTML y Python
I can't believe this is a #debian computer!
15
58
1
309
31,815
12 sitios web GENIALES que probablemente no sabías que existían (hasta ahora)🧵👇 :
49
1,913
25
4,595
594,515
🚀 ¿Necesitas iconos para tu proyecto? - Más de 180.000 iconos open source - Selecciona el estilo y el color preferido - Puedes copiar directamente el código SVG 👉 buff.ly/3Q4y6Uh 👈
5
136
2
464
40,214