Database
 sql >> Base de Dados >  >> RDS >> Database

RMAN falha com RMAN-06900 RMAN-06901 ORA-04031


Ao tentar fazer login com o 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")




Alerta:

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


Rastreamento de arquivo:

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


RMAN dá mensagem de aviso de RMAN-6900, RMAN-6901 quando a saída é muito grande para logar no v$rman_output visualizar.

Solução


Reinicie a instância do banco de dados. Após a reinicialização da instância v$rman_output será limpo.

V$RMAN_OUTPUT exibe mensagens/saída retornadas pelo RMAN. Esta é uma visualização na memória e não é gravada no arquivo de controle.



# 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>