My Oracle Support Banner

ORA-20000: All versioned table must have a 'VERSIONED' status before upgrading. (Doc ID 1945571.1)

Last updated on NOVEMBER 17, 2014

Applies to:

Workspace Manager - Version 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

During db upgrade from 11.1.0.7 to 11.2.0.4 via DBUA, an error was encountered while in the process of upgrading Oracle Workspace Manager (OWM):

ORA-20000: All versioned table must have a 'VERSIONED' status before upgrading.

 
Ignoring this error allows the upgrade to complete but leaves OWM at the pre-upgrade version, 11.1.0.7.

Querying wmsys.wm$versioned_tables lists a table that is not in VERSIONED state.  However, prior to the upgrade, all relevant tables were in VERSIONED state.

SQL> select table_name, owner, disabling_ver
  2  from wmsys.wm$versioned_tables
  3  where disabling_ver!='VERSIONED';

TABLE_NAME      OWNER         DISABLING_VER
--------------- ------------- -------------
PSAP            OWMTEST       AVTDDL

SQL> select * from dba_WM_VT_ERRORS where table_name='PSAP'

OWNER     TABLE_NAME STATE  SQL_STR
--------- ---------- ------ ----------------------------------------------------
OWMTEST   PSAP       AVTDDL Begin execute immediate 'DROP INDEX PSAP_IDX' ; End;

Querying dba_objects shows no such object exists:

SQL> select owner, object_name, object_type, status
  2  from dba_objects where object_name = 'PSAP_IDX';
 
no rows selected.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.