Slow mysql Query? Make your Msqyl Fast and faster!

  Рет қаралды 33,534

Learn Php with Matt

Learn Php with Matt

Күн бұрын

Пікірлер: 31
@metalalive2006
@metalalive2006 3 жыл бұрын
great-and-long video , thanks. This might save time for someone who already have basic knowledge of mysql ... 29:00 query a table of ~3m rows without index (order by `date` non-pk column) 29:26 using EXPLAIN to check the execution plan of the slow query 29:58 query the same table with index (order by pk column, which already has default index) 33:11 add secondary index for `date` (non-pk) column 34:09 query the same table again with the secondary index (order by `date` non-pk column) 38:35 Mysql configuration explanation
@dannyokec
@dannyokec 3 ай бұрын
You savedmy life🎉🎉. I had todelete tables before this
@emadabdulhannan244
@emadabdulhannan244 3 жыл бұрын
amazing thank you, I was struggling with a slow complicated big MySQL query, now it is super fast ❤️❤️❤️❤️❤️❤️
@Sj-yf2jg
@Sj-yf2jg 5 күн бұрын
Premium knowledge, I subscribed
@agussumawigena4565
@agussumawigena4565 3 жыл бұрын
this is the most useful optimizing mysql tutorial i think, many many thank you
@mikealibo
@mikealibo 5 жыл бұрын
i didn't finish yet the video. But i was starting to smile in my face because those scenarios that you create is also the same as me. Eventually i have also 6million data or even more in my database . And this video is very very usefull .
@edutronixsystems4943
@edutronixsystems4943 5 жыл бұрын
Also started smiling after first 10 minutes. Great video
@arjay_2002
@arjay_2002 4 жыл бұрын
this is amazing... background birds so relaaxing..
@bestdivisionhindi7799
@bestdivisionhindi7799 4 жыл бұрын
This is the best video for phpmyadmin optimization.... Love you bro... Hope you will continue your effort...
@sassoleo
@sassoleo 5 жыл бұрын
Another advantage of innodb tables vs isam is that innodb allows foreign keys
@dhrubavideos
@dhrubavideos 4 жыл бұрын
you are a very good instructor
@ganztv3106
@ganztv3106 4 жыл бұрын
Nice explanation Bro..2020 here and still watching..learned a lot here..keep it up..thanks
@varenneriocha8712
@varenneriocha8712 3 жыл бұрын
Same, in 2021!
@ayazahamed8254
@ayazahamed8254 3 жыл бұрын
Good Content and Well explained.
@FerozAhmedBD
@FerozAhmedBD 4 жыл бұрын
Thanks a lot Sir, You made my day better.
@jaysmainyt_channel1751
@jaysmainyt_channel1751 2 жыл бұрын
I want to learn more!!
@pavanganeshbhagathi1152
@pavanganeshbhagathi1152 3 жыл бұрын
really good
@vkmishra.singer
@vkmishra.singer 4 жыл бұрын
Nice vedio...hats off
@bugsbane
@bugsbane 3 жыл бұрын
@34:00 - what if you did a subselect with the inner select with the index - then full table scan on the results (assuming small result set)
@PA-ki9fy
@PA-ki9fy 3 жыл бұрын
Does memory table support foreign key integrations?
@soyal24
@soyal24 2 жыл бұрын
it works good but when xampp restart the data lost, how to fix this ???
@ParthaPMout
@ParthaPMout 4 жыл бұрын
Thanks mate ❤️
@prashantkapse3047
@prashantkapse3047 4 жыл бұрын
It's great sir thank you
@jagjotsinghwadali3535
@jagjotsinghwadali3535 3 жыл бұрын
I need a help regarding quering about reporting tables. Can you help in query optimization. I have to retrieve total number of data based on indian states and dates.
@sureshgrandhi3781
@sureshgrandhi3781 3 жыл бұрын
Can I get the configuration file which makes MySQL db to get the data very fast
@tiganusconstantinrazvan3946
@tiganusconstantinrazvan3946 3 жыл бұрын
yes and no ! the measuring method is never equal for the same script (if you hit f5=refresh key) so avoiding measuring 10 times or more then calculating the average to approximate the inexact result by using ab.exe (see one of my videos "my stuff") .I wrote the fastest php framework in the world in various form(classic,oop,anonymous functions+oop ,hundreds versions) and using mysql/mysqli/ even sqlite (but never pdo) even on php 8 i have over 80-120 executions /s with that cmd ab params you see in the video to a similar "hello world db select tables" and without using the database but only php from 150 to max 200 on windows 10 x64! (in Linux Ubuntu with db i got from 600 to 3200 ,the 3200 i got with ab measuring until running script then send headers). "The best results comes" when you will use dynamic constructs over public static functions and using mysqli (the union types aren't fast yet ,the old php 7 + opcache IN MY CASE doubling the results: i didn't make any video cause using opcache in my mind that is a cheating way)
@ajexpomarocWebmaroc
@ajexpomarocWebmaroc 4 жыл бұрын
Nice video i need a help plz i have big probleme whith my large database i wante your contact
@Oswee
@Oswee 4 жыл бұрын
Latvian accent?
@davis4010
@davis4010 3 жыл бұрын
Pašam arī klausoties likās kkas pazīstams balsī :)
SQL performance tuning and query optimization using execution plan
49:23
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 5 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 10 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 203 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 1,7 МЛН
Learn programimg PHP : Lesson 1 - Basics of php principles
1:12:09
Learn Php with Matt
Рет қаралды 78
10 Tips for MySQL Performance Tuning
24:12
MySQL
Рет қаралды 10 М.
MySQL: EXPLAIN Statement & Query Optimization with Practical Examples - Hindi
34:43
Learn SQL In 60 Minutes
56:24
Web Dev Simplified
Рет қаралды 2,2 МЛН
Achievers Tech Talk - Optimize Mysql Queries
1:33:48
Achievers Tech
Рет қаралды 6 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 5 МЛН