During installation, you set up whether archive logs should be deleted. Archive logs must be kept until all rows from the log have been replicated.
If you have Connect CDC delete the archive logs, the Change Selector automatically determines when archived logs are no longer needed for replication. The user must have the privileges necessary to delete an archive log file for this action to take place.
If you choose to retain archive logs, they are deleted outside of Connect CDC and you must ensure that archive logs required for replication are not deleted. Deleting logs before Connect CDC has read them can result in data loss. If you use the Oracle Recovery Manager utility to delete archive logs, commands that delete all archive logs, such as the following, may cause conflicts with Connect CDC.
BACKUP ARCHIVELOG ALL DELETE INPUT;