QuestionQ45

VerifiedTuning SQL Statements

Which two statements are true about collecting optimizer statistics?

Choose two
Explanation

DBMS_STATS.GATHER_DATABASE_STATS gathers object statistics in the current container. Thus, running it in a read/write PDB gathers statistics for that PDB, whereas running it in CDB$ROOT gathers root statistics only; the CDB root does not trigger statistics gathering in PDBs.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!