pluggable database 不允许执行日志切换语句,执行的话会报这个错误,需要再cdb下执行alter system switch logfile
PURPOSE This is a brief reference note to show the meaning of database error "ORA-65040". It includes the error text,"Cause" and "Action" from message files for each database version from 9.2 onwards,along with search links and details of any database bug issues related to the error. SCOPE This note is intended for general audience as a starting point to check the meaning of "ORA-65040". It does not give detailed information about the error and does not give error message text for versions below 9.2 . DETAILS Error Text,Cause and Action from Message File/s for ORA-65040 Versions 12.1 Error: ORA-65040 operation not allowed from within a pluggable database --------------------------------------------------------------------------- Cause: An operation was attempted that can only be performed in the root container. Action: Switch to the root container to perform the operation. Search Links for ORA-65040