You can't write to a FEDERATED table period ever under any circumstances! You must make a direct DB connection to the server running the database that you have created the FEDERATED table connection to.
I would be pretty angry if you could write to a FEDERATED table now. It has never allowed it for many many years. It would also make the 10 years worth of code I have written a complete waste of my time if that were true.
It is quite handy to use in the instance of making a centralized user database for 100 websites! i.e. A Social Network which is what I use it for...
I have used it since before anyone knew the ENGINE existed. It was there without documentation when I started using it and I had to experiment to even figure out what it could be used for. The ENGINE was always there and had little or no documentation for many years.
The only federated DB tables that I use or have, share network user information. All of my external websites still have to make a database connection to the main server when someone signs up as a new user.
You need two database connectors to use FEDERATED the right way!. One for UPDATE and INSERT etc and the other DB would be for all local queries and JOINS etc.
My network uses two external databases and one local for each website. I use three database connectors.
local connects to Music Hub and Network Hub with separate connectors for all UPDATE and INSERT and everything else JOIN etc just uses the local DB connector!
I hope this helps you understand it a little better :)
I am using MySQL 5.6 and PHP 5.
You have to ask yourself for almost five years, why was there little or no documentation on what it was used for? most people did not even know it existed...
It is used mainly to import query results into your local database! Even with full write access, you would never be able to write to a FEDERATED table! It is not allowed for security reasons and it would be very very slow as you said.
You may correct me if I am wrong but please know that I have been using FEDERATED since before they told anyone it existed.
It takes about 30 seconds to enable FEDERATED and about 30 seconds to reboot the server. In the instance that you are using a VPS, you might not be allowed to have FEDERATED enabled.
Edit your my.cnf file and restart the server...
FEDERATED is no longer slow by the way... Never was when used in the manner I just explained...
Even if I could write to a FEDERATED Table I would not do it. You are FEDERATING two servers by adding a federated table to your local website.
This will slow down depending on how many HOPS away you are from the remote MySQL server. Also be sure and add your IP to the remote server under their cPanel.
IF the websites reside all on the same server and are just separate user accounts and websites with separate IP's there should be Zero Lag.
McLeod and Heimbigner were among the first to define a federated database system in the mid-1980s.