本文介绍了跨多个服务器联接表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想我们可以做database1.table1 join database2.table2 on等.连接同一服务器上不同数据库中的表. 是否可以在不同的sql服务器之间联接表?
I guess we can do database1.table1 join database2.table2 on etc. I.e. join tables in separate databases on the same server. Is it possible to join tables across different sql servers?
推荐答案,您可以使用 FEDERATED存储引擎.
The FEDERATED storage engine lets you access data from a remote MySQL database without using replication or cluster technology. Querying a local FEDERATED table automatically pulls the data from the remote (federated) tables. No data is stored on the local tables.该站点显示了一个很好的例子
更多推荐
跨多个服务器联接表
发布评论