restore db select for allBenchmark script