I have identical table on master and slave. Both have many columns with price among them. Is there any possibility to set individual values for price column in slave so that replication won't overwrites them?
Our system works in many countries that have individual prices, but we would also like to share some common data from the central database.
I though up some solutions:
- Extract all country specific columns to other tables that won't be replicated. This would require a lot of changes in our source code.
- Create some proxy database with only common shared columns that will replicate from master and then set it as master to country based database with full column definition. It looks ugly to me.
Is there something better? I would appreciate any help.