NOINLINE getDB since it uses unsafePerformIO.