Have you ever needed to copy your indexes from one platform to another without restoring a backup?
Run this script on the source database. You have one option which is to force the background option.
var always_background = true;
// Warning: This is primarily generated as a proof of concept for the sake of argument and has not been tested. | |
/* This program is free software. It comes without any warranty, to | |
* the extent permitted by applicable law. You can redistribute it | |
* and/or modify it under the terms of the WTFPL, Version 2, | |
* as published by Sam Hocevar. See http://www.wtfpl.net/ */ | |
/** | |
* Processes an array through multiple stages with concurrency limits. | |
* @param array - The input array to process. |