Database Error Messages

Release
toggle
  • 23ai
Updated
Jun 24, 2024

OCI-03821

Barrier DDL statements cannot be executed across a Sharding Replication Unit in the current execution context.

Cause

A data definition language (DDL) statement was issued across a Sharding Replication Unit, but the execution context does not support this DDL statement. This error occurs when the Oracle Database system's synchronous DDL feature is enabled, but the session is not connected using a dedicated server connection. All subsequent attempts at barrier DDL will also be rejected.


Action

Either connect using a dedicated server connection, or, as SYSDBA, disable synchronous DDL and retry the DDL statement.