跨多个服务器联接表

编程入门 行业动态 更新时间:2024-10-26 08:24:27
本文介绍了跨多个服务器联接表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想我们可以做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.

该站点显示了一个很好的例子

更多推荐

跨多个服务器联接表

本文发布于:2023-10-24 13:26:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1524073.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   服务器

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!