Database open time is really high

Here are the results (it actually reports that the open is done before crashing with the error so I can still test).

with commit abf7850f90101864a798b653c9126df4da19bd9e

badger 2019/01/11 10:26:25 INFO: All 389 tables opened in 2m19.021s

with commit 421090099df7b3e3636502aeddf1e08e4249f8ea

badger 2019/01/11 10:46:30 INFO: All 389 tables opened in 1m57.773s