My Oracle Support Banner

IMPDP - ORA-31685 (Insufficient Privileges) on Object type MATERIALIZED_VIEW:"SYSMAN"."MGMT_ECM_MD_ALL_TBL_COLUMNS" (Doc ID 1563217.1)

Last updated on MAY 18, 2021

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 12.1.0.2 [Release 10.1 to 12.1]
Oracle Database - Standard Edition - Version 10.1.0.2 to 12.1.0.2 [Release 10.1 to 12.1]
Oracle Database - Personal Edition - Version 10.1.0.2 to 12.1.0.2 [Release 10.1 to 12.1]
Enterprise Manager for Oracle Database - Version 10.1.0.2 to 12.1.0.6.0 [Release 10.1 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.


NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.
Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Symptoms

1. You want to migrate your Enterprise Manager repository and follow the steps outlined in document:
<Note 1302281.1> - 11g Grid Control: Steps for Migrating the 11g Grid Control Repository from One Database to Another


2. During the Import Data Pump job, following error is reported on Materialized View (mview)  SYSMAN.MGMT_ECM_MD_ALL_TBL_COLUMNS because of insufficient privileges:

$ impdp <LOGIN>/<PASSWORD> directory=<DIRECTORY_NAME> dumpfile=<DUMP_NAME>.dmp logfile=<LOG_NAME>.log SCHEMAS=sysman CLUSTER=no

Import: Release 11.2.0.3.0 - Production on Mon Jun 17 15:02:12 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Master table "<LOGIN_SCHEMA>"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "<LOGIN_SCHEMA>"."SYS_IMPORT_SCHEMA_01": <LOGIN>/********  directory=<DIRECTORY_NAME> dumpfile=<DUMP_NAME>.dmp logfile=<LOG_NAME>.log SCHEMAS=sysman CLUSTER=no
...
Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
ORA-31685: Object type MATERIALIZED_VIEW:"SYSMAN"."MGMT_ECM_MD_ALL_TBL_COLUMNS" failed due to insufficient privileges. Failing sql is:
CREATE MATERIALIZED VIEW "SYSMAN"."MGMT_ECM_MD_ALL_TBL_COLUMNS" ("METADATA_ID", "TARGET_TYPE", "SNAPSHOT_TYPE", ...
...

 

Changes

 

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
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.