Don't open database or view group if not needed If we're not in the allowed time window for a compaction, don't open the database or a view group because it will be pointless.