Database open time is really high

These are two different log messages. Can you share the same first log message between the branches that shows the elapsed time?

Badger does random seeks within the files, so it’s not the same performance as a sequential read like cat.