[英]mysql db with parent child relation
Can somebody help me with a archietecture design? 有人可以帮助我进行架构设计吗?
Problem statement is I have a many local db which gets populated with data. 问题陈述是我有很多本地数据库,其中填充了数据。 Now this data needs to be collected to a central db for further processing.
现在,需要将这些数据收集到中央数据库以进行进一步处理。
Its like there is one parent and multiple childs. 就像有一个父母和多个孩子。 Child do not need to sync with the parent but parent needs to take data from the child for further processing.
子级不需要与父级同步,但是父级需要从子级获取数据以进行进一步处理。
I am using mysql db. 我正在使用mysql db。 Is there any tool which can help me out with this?
有什么工具可以帮助我吗?
Adding to this my childs db are on seperate server and my parent db is on seperate server 添加到我的孩子数据库是在单独的服务器上,而我的父数据库是在单独的服务器上
There are few key points 关键点很少
UPDATE: 更新:
if you have different table on different server then use Use FEDERATED Tables 如果您在不同的服务器上有不同的表,则使用Use FEDERATED Tables
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.