dbm: Add {new enumerating, IsMem, zero WAL handling}