Limiting the Execution Time of a Query

preview_player
Показать описание
How can you limit the execution time of a query from inside the query? 🤔
Рекомендации по теме
Комментарии
Автор

Compilers reading and interpreting a comment is as scary as your ISP going through and broadcasting your search history

k_gold
Автор

Man, so useful videos. I am your almost real friend now!

ArtemKhodos
Автор

Bro just followed u 2h ago i learned ton of stuff 😂

xtz_
Автор

Will it return the selection so far if it has any or will it just error out?

StiekemeHenk
Автор

Does this option override the cnf max execution option ?

Rapid-eraser
Автор

there was an old saying read that f*king manual, which I rarely do.
instructing optimizer is fantastic that i never heard of.
may you include which versions those are valid?

erkintek
Автор

Didn't quite get the last part... "If you know it is going to run forever you can use it to lengthen the max_execution_time"

adarshchacko
Автор

What is the use i don't understand will it throw error if it cross max execution limit?

clashclan
Автор

MySQL is able to read and parse my comments? Awesome and deadline.

thedelanyo
Автор

Great video, this instruction as the name says is to limit the MAX_EXECUTION_TIME, and usually is used to cancel the execution of the query. As you may predict that if the query takes more than X milliseconds, then is not worth to continue and should be canceled.
Not to improve your database readings, like when you mentioned that your query takes 300ms to be completed on a normal scenario, in the same scenario if you apply that instruction you will not get results back, so why would you do that? :D

MrNiceGuy
Автор

MySQL is unable to respect the limit under very high concurrent load and queries can run for much longer.
A great feature for killing badly written queries or where the optimiser has mad a poor query plan.

johnnicholls
Автор

can anyone please recommend best mysql client for mac os which is free ?

TariqSajid
Автор

Is this limit the results? For example:
the result after 3 second is 100k, but using this, we only receive 10k?

wachdai
Автор

Huh? ... but what does the command do exactly 🤔?

rujor
Автор

Hey Bro Really Loved your channel, I would like to discuss something with you, Are you up to it?

chwritex
Автор

I also have friend(s) like you but let me finish reading rust documentation first

shafiq_ramli
Автор

I came across this bit of rare magic, lol

chrishunter
Автор

Hello, what about other MySQL products, which are not free?

aurelian
Автор

Wow, what a terrible design decision for a comment to affect the query.

FunkyELF