Ao tentar fazer login no RMAN ocorre o seguinte erro:
# rman target / Recovery Manager: Release 12.1.0.2.0 - Production on Thu May 6 10:32:55 2021 Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved. connected to target database: PDEQ00 (DBID=2094282814) RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows ORACLE error from target database: ORA-04031: unable to allocate 36424 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","krbmror")
Log do Alert:
Errors in file /u01/app/oracle/diag/rdbms/PDEQ00/PDEQ001/trace/PDEQ001_j000_73817.trc: ORA-04031: unable to allocate 12312 bytes of shared memory ("shared pool","unknown object","KKSSP^126","kglseshtTable") Process J000 died, see its trace file
Arquivo de trace:
AUTO MEM: PGA get fail 69 for 30, 54, 1, 16777216, 939524096, 503316480, 30, 1442840576, 5 ksucri: Session creation failed with error = 4031, step = 1 Unexpected error 4031 in job slave process ORA-04031: unable to allocate 12312 bytes of shared memory ("shared pool","unknown object","KKSSP^126","kglseshtTable")
Causa
O RMAN fornece uma mensagem de aviso RMAN-6900 e RMAN-6901 quando a saída é muito grande para registrar na view v$rman_output.
Solução
Reinicie a instância do banco de dados. Após a reinicialização da instância a view v$rman_output será apagado.
V$RMAN_OUTPUT exibe mensagens/saídas retornadas pelo RMAN. Esta é uma view in-memory e não é gravada no control file.
# rman target / Recovery Manager: Release 12.1.0.2.0 - Production on Thu May 6 11:08:16 2021 Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved. connected to target database: PDEQ00 (DBID=2094282814) RMAN>
Referência