database read-only mode