ORA-16585: operation cannot be performed on a primary database Cause: The database specified for the operation was a primary database, or the operation was attempted on a primary database. Action: Check the database type and retry the operation. If the command must be executed on a standby database, connect to a standby database and retry the operation.