V$SESSION_LONGOPS.TOTALWORK shows incorrect value during RMAN backup on standby database. (Doc ID 1638684.1)

Last updated on MARCH 27, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.1 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

You can see the progress of RMAN backup by the following query "V$SESSION_LONGOPS" .
However,on Physical Standby database,%_COMPLETE shows incorrect value.

The entry was removed when %_COMPLETE reached to 50!

SELECT sysdate,SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK,
ROUND(SOFAR/TOTALWORK*100,2) "%_COMPLETE"
FROM V$SESSION_LONGOPS
WHERE OPNAME LIKE 'RMAN%'
AND OPNAME NOT LIKE '%aggregate%'
AND TOTALWORK != 0
AND SOFAR <> TOTALWORK
/

Example: 

  

Or

RMAN backup fails with the following message.
-----
RMAN-3009: failure of backup command on XXXX channel at 12/18/2013 00:43:32
ORA-19502: write error on file "XXXX_1_1", block number 385 (blocksize=8192)
ORA-27030: skgfwrt: sbtwrite2 returned error
ORA-19511: Error received from media manager layer, error text:
ANS1311E (RC11) Server out of data storage space
-----

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms