sql >> Base de Datos >  >> RDS >> Database

RMAN falla con RMAN-06900 RMAN-06901 ORA-04031

Al intentar iniciar sesión con RMAN, se produce el siguiente error:


# 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

Seguimiento del archivo:


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 da un mensaje de advertencia de RMAN-6900, RMAN-6901 cuando la salida es demasiado grande para iniciar sesión en v$rman_output ver.

Solución

Reinicie la instancia de la base de datos. Después de reiniciar la instancia v$rman_output se borrará.

V$RMAN_SALIDA muestra mensajes/resultados devueltos por RMAN. Esta es una vista en memoria y no se registra en el archivo de control.


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