Hacker News new | past | comments | ask | show | jobs | submit login

Isn't there a way to make the database very slow by a complicated but generic query. Thinking about e.g. oracle's connect by + dual

If this is the case, removing sleep doesnt help you. Just run a slow query




Yeah, MySQL has recursive queries.

https://dev.mysql.com/doc/refman/8.0/en/with.html#common-tab...

Though one can set a limit on query run time via max_execution_time.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: