Hi,
We are not sure how exactly is Oracle behaving since 12c on multitenat architecture if we just set alter database force logging
at CDB level and not at PDB level, per Oracle definitions:
We understand all versions should be behaving as it states for 19c, which we understand it is if you set force logging at cdb level, all pdb will be on force logging mode even if they are not since CDB takes precedence (but we are not sure)
19c and 20:
CDB-wide force logging mode takes precedence over any other setting.
12r1,12r2,18:
CDB-wide force logging mode takes precedence over PDB-level force nologging mode.
We understand all should have 19c behaviour but we need to be sure.
19c states:
https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/ALTER-PLUGGABLE-DATABASE.html#GUID-A29491AD-8F0F-4E52-9D94-57FC3FF8FBC7 CDB-wide force logging mode takes precedence over any other setting.
PDB-level force logging mode and force nologging mode take precedence over and are independent of any LOGGING, NOLOGGING, or FORCE LOGGING settings you specify for individual tablespaces in the PDB and any LOGGING or NOLOGGING settings you specify for individual database objects in the PDB.
18c states:
CDB-wide force logging mode supersedes PDB-level force nologging mode.
PDB-level force nologging mode takes precedence over and is independent of any LOGGING or FORCE LOGGING settings you specify for individual tablespaces in the PDB and any LOGGING settings you specify for individual database objects in the PDB.
12.2:
https://docs.oracle.com/en/database/oracle/oracle-database/12.2/sqlrf/ALTER-PLUGGABLE-DATABASE.html#GUID-A29491AD-8F0F-4E52-9D94-57FC3FF8FBC7 CDB-wide force logging mode takes precedence over PDB-level force nologging mode.
PDB-level force logging mode and force nologging mode take precedence over and are independent of any LOGGING, NOLOGGING, or FORCE LOGGING settings you specify for individual tablespaces in the PDB and any LOGGING or NOLOGGING settings you specify for individual database objects in the PDB.
12.1:
https://docs.oracle.com/database/121/SQLRF/statements_2008.htm#SQLRF55667 CDB-wide force logging mode takes precedence over PDB-level force nologging mode.
PDB-level force logging mode and force nologging mode take precedence over and are independent of any LOGGING, NOLOGGING, or FORCE LOGGING settings you specify for individual tablespaces in the PDB and any LOGGING or NOLOGGING settings you specify for individual database objects in the PDB.