testing - How to Intentionally Create a Long-Running MySQL Query -
i know odd question ask, i'd find out if there mysql query can create without having millions of rows in database consume resources , run long time. ultimate goal test application in cases of resource contention , make sure methods handling failure (specifically server timeout) correct.
if there way can test without creating , executing high-resource query, i'd appreciate hearing well.
i assume use benchmark()
this, although isn't scope of it.
select benchmark(9999999999, md5('when end?'));
Comments
Post a Comment