One big question that you did not address is that for application A, you need read-only access to data or if it needs read-write access.
The immediate concept that comes to mind when reading your requirements is sharding . In MySQL, this can be accomplished using partitioning . In this case, before moving on to sections, make sure that you read their pros and cons . There are times when partitioning can slow down if your indexes are not well selected or your partitioning scheme is not well designed.
If your needs are read-only, this should be a fairly simple solution. You can use MySQL in the βMaster Slaveβ context and use application A on the slave. If you need to read and write, it becomes much more difficult.
Depending on your needs for recording, you can divide your readings into your subordinate, and your records into masters, but this greatly complicates the structure of the code (you need to deal with several connections to several dbs). The advantage of this type of layout is that you do not need to have a complex database infrastructure.
On the other hand, you can save your code as is and use Master-Master replication in MySQL. Although Oracle is not officially supported, many people have been successful in this. A quick Google search will find a huge list of blogs, howtos, etc. for you. Just keep in mind that your code must be correctly written to support this (for example: you cannot use auto-growth fields for a PC, etc.).
If you have money to spend money, you can look at some of the more commercial offers. Oracle and SQL Server support this.
You can also use block-based data replication, such as DRDB (and Mysql DRDB) to handle replication between your nodes, but the problem you will always encounter is what happens if your connection between the two nodes fails.
The biggest problem you will encounter is to handle conflicting updates in two separate database nodes. If your data is geographically dependent, this may not be a problem for you.
In short, this is a difficult (or inexpensive) problem to solve.