Create a maintenance user and DDL user for replication

The maintenance user is a valid Oracle user that the Replication Server uses to apply commands to the standby Oracle database.

NoteThe maintenance user should not be the same as the DCO Admin Account Name used in configuring DCO.

StepsTo create a maintenance user in Oracle

  1. Using SQLPLUS (in the standby database), enter:

     create user maintuser identified by password ;
    
  2. Grant permissions to the maintenance user, who must have the highest privilege of all users who have data or work that will be replicated:

StepsTo create a DDL user in Oracle

  1. Create a DDL (in the standby database) user in Oracle:

    create user DDLuser identified by password;
    

    NoteThe value for the ddl_username must not be the same as the value of the maintenance user defined in Replication Server for the standby connection.

  2. Grant permissions to the DDL user, who must have privileges to perform DDL activities that can include create user, create, alter, drop procedures, indexes, tables and any DDL command issued on the correct database.

NoteThis user ID must have authority in the standby database to issue ALTER SESSION SET CURRENT_SCHEMA= user for any user who can create DDL in the primary database.