You can write to two different DBs and read from just one of them if you want. For that you have to create a separate entity manager for each particular connection. Look at this answer.
Inject the ManagerRegistry to your services and/or controllers to avoid injecting both managers. Like this:
public function __construct(ManagerRegistry $managerRegistry)
{
$mySqlEm = $managerRegistry->getManager('default');
$oracleEm = $managerRegistry->getManager('oracle');
}
Keep in mind what that are synchronous operations and your app will be slower. I suggest you to investigate the mysql/oracle replication for your purposes, maybe something like this.
UPD As Cerad mentioned this approach won't solve the issue because requires separate entities for each manager.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…