Neither, really. You can qualify a table with the database name to operate on tables in
multiple databases on the same host.
Federated is a way of accessing a table's data from a remote instance of mysql.
From: winterbeef@stripped [mailto:winterbeef@stripped] On Behalf Of Wellington Fan
Sent: Friday, October 08, 2010 9:52 AM
Subject: Federated Tables versus Views
What should I consider when trying to choose between a Federated table and a
View when I have one table's data that I'd like to be available in other
databases on the same host.
My view definition would be something like:
Are there performance gains to be had, one against the other? Security
concerns? Replication gotchas?
This message contains confidential information and is intended only for the individual
named. If you are not the named addressee, you are notified that reviewing,
disseminating, disclosing, copying or distributing this e-mail is strictly prohibited.
Please notify the sender immediately by e-mail if you have received this e-mail by
mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed
to be secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not
accept liability for any loss or damage caused by viruses or errors or omissions in the
contents of this message, which arise as a result of e-mail transmission. [FriendFinder
Networks, Inc., 220 Humbolt court, Sunnyvale, CA 94089, USA, FriendFinder.com