Queries from V$BACKUP_PIECE_DETAILS or V$RMAN_STATUS Return Error ORA-01652 (Doc ID 2119607.1)

Last updated on DECEMBER 11, 2016

Applies to:

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

Symptoms

Querying V$BACKUP_PIECE_DETAILS results in ORA-01652: unable to extend temp segment 

SQL> set pagesize 0
set feedback off
select max(substr(handle,1,instr(handle,'/',-1,1))||'osfiles_'||sys_context('userenv','db_name')||'_'||substr(tag,-10)) from V$BACKUP_PIECE_DETAILS 
where tag not like 'TAG%';
SQL>
from V$BACKUP_PIECE_DETAILS
  *
ERROR at line 2:
ORA-01652: unable to extend temp segment by 256 in tablespace TEMP_1

SQL> select count(*) from V$BACKUP_PIECE_DETAILS;
select count(*) from V$BACKUP_PIECE_DETAILS
*
ERROR at line 1:
ORA-01652: unable to extend temp segment by 256 in tablespace TEMP_1

Changes

 No changes done in the environment.

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