Log how long it takes to open the database