ORA-16000 when trying to insert explain plan in remote database from READ-ONLY database (Doc ID 1618413.1)

Last updated on NOVEMBER 10, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

Customer is on READ-ONLY database (Active DataGuard) and want to capture explain plan and insert into remote database (READ-WRITE mode) over dblink.

SQL>explain plan into PLAN_TABLE@DBLPLDR for select * from dba01.tbac_dev_menus;


and getting error

ORA-16000: database open for read-only access

 

We see parse error in the trace

 

  

 

Changes

 N/A

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