Fixed #23745 -- Improved migrate speed

Of course, commit c7ea633 will not be eventually included, it only serves to measure performance.
The problem with requiring `-v 3` is that `create_test_db` is substracting 1 to verbosity when calling `migrate` and `runtests.py` doesn't accept verbosity greater than 3.