开发者

Can I join between two MySQL tables stores on separate machines?

开发者 https://www.devze.com 2022-12-31 04:29 出处:网络
I have a relatively light query that needs information from a local MySQL table along开发者_运维问答 with another MySQL table which is stored on a physically separate machine (on the same network).I\'

I have a relatively light query that needs information from a local MySQL table along开发者_运维问答 with another MySQL table which is stored on a physically separate machine (on the same network). I'm keen to avoid setting up replication just to facilitate this light query that only needs executed once a day.

Is there any way that I can join with a table on a remote machine using one query? Or run a SELECT INTO into a local table.


Notes

  • I'm using C# & .NET 4.


This can be done by using the FEDERATED storage engine for the remote table. Find out more.

0

精彩评论

暂无评论...
验证码 换一张
取 消