Limitations Of The Federated Storage Engine - Oracle 5.0 Reference Manual

Table of Contents

Advertisement

(Before MySQL 5.0.13, use
The basic structure of this table should match that of the remote table, except that the
option should be
the
FEDERATED
The
FEDERATED
The remote host information indicates the remote server to which your local server connects, and
the database and table information indicates which remote table to use as the data source. In this
example, the remote server is indicated to be running as
a MySQL server running on the remote host and listening to port 9306.
The general format of the connection string in the
scheme://user_name[:password]@host_name[:port_num]/db_name/tbl_name
Only
mysql
optional.
Sample connection strings:
CONNECTION='mysql://username:password@hostname:port/database/tablename'
CONNECTION='mysql://username@hostname/database/tablename'
CONNECTION='mysql://username:password@hostname/database/tablename'
The use of
CONNECTION
future. Keep this in mind for applications that use
need modification if the format for specifying connection information changes.
Because any password given in the connection string is stored as plain text, it can be seen by any user
who can use
table in the
TABLES
14.7.3. Limitations of the
The following items indicate features that the
• The remote server must be a MySQL server.
• The remote table that a
through the
• It is possible for one
loop.
• There is no support for transactions.
• A
FEDERATED
remotely, it is the remote table that supports the indexes. Care should be taken when creating a
FEDERATED
supported. For example, creating a
columns will fail. The following definition in
BLOB
Limitations of the
COMMENT
and the
FEDERATED
engine how to connect to the remote server.
Note
You can improve the performance of a
the table on the host. The optimization will occur because the query sent to the
remote server will include the contents of the
the remote server and subsequently executed locally. This reduces the network
traffic that would otherwise request the entire table from the server for local
processing.
engine creates only the
is supported as the
scheme
for specifying the connection string is nonoptimal and is likely to change in
SHOW CREATE TABLE
INFORMATION_SCHEMA
FEDERATED
FEDERATED
table.
FEDERATED
FEDERATED
table does not support indexes per se. Because access to the table is handled
table since the index definition from an equivalent
Storage Engine
FEDERATED
rather than CONNECTION.)
table option is a connection string that indicates to
CONNECTION
FEDERATED
test_table.frm
remote_host
CONNECTION
value at this point; the password and port number are
FEDERATED
or
SHOW TABLE STATUS
database.
Storage Engine
storage engine does and does not support:
FEDERATED
table points to must exist before you try to access the table
table to point to another, but you must be careful not to create a
table with an index prefix on VARCHAR,
FEDERATED
MyISAM
1315
table by adding indexes to
clause and will be sent to
WHERE
file in the
federated
on port 9306, so there must be
option is as follows:
tables. Such applications are likely to
for the
FEDERATED
or other table may not be
MyISAM
is valid:
table
ENGINE
database.
table, or query the
or
TEXT

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Mysql 5.0

Table of Contents