You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: archive/en/about-federatedx/+comments/feed/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
-
<rssxmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/feed/</link><description></description><atom:linkhref="https://mariadb.com/kb/en/about-federatedx/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Thu, 27 Feb 2025 01:02:28 +0000</lastBuildDate><item><title>Re: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/6318</link><description><p>Thanks a lot. Just what I needed.</p>
2
+
<rssxmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/feed/</link><description></description><atom:linkhref="https://mariadb.com/kb/en/about-federatedx/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 28 Feb 2025 01:03:37 +0000</lastBuildDate><item><title>Re: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/6318</link><description><p>Thanks a lot. Just what I needed.</p>
3
3
</description><dc:creatorxmlns:dc="http://purl.org/dc/elements/1.1/">Bjarne Svanberg</dc:creator><guid>https://mariadb.com/kb/en/about-federatedx/+comments/6318</guid></item><item><title>Re: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/6317</link><description><p>You can view existing servers by querying the <a href="/kb/en/mysqlservers-table/">mysql.servers</a> table. You can delete servers with the <a href="/kb/en/drop-server/">DROP SERVER</a> statement.</p>
4
4
</description><dc:creatorxmlns:dc="http://purl.org/dc/elements/1.1/">Ian Gilfillan</dc:creator><guid>https://mariadb.com/kb/en/about-federatedx/+comments/6317</guid></item><item><title>Re: About FederatedX</title><link>https://mariadb.com/kb/en/about-federatedx/+comments/6316</link><description><p>I have added a server with the "create server" syntax shown in <a href="/kb/en/about-federatedx/#how-do-i-create-a-federated-server">How do I create a federated server</a>.</p>
5
5
<p>How do I <strong>list</strong> any created servers and how do I <strong>delete</strong> a server I have created accidentally?</p>
The FederatedX Storage Engine is a storage engine that works with both MariaDB and MySQL. Where other storage engines are built as interfaces to lower-level file-based data stores, FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MySQL RDBMS. The plan is of course to be able to use other RDBMS systems as a data source. There is an existing project Federated ODBC which was able to use PostgreSQL as a remote data source, and it is this type of functionality which will be brought to FederatedX in subsequent versions.
345
+
The FederatedX Storage Engine is a storage engine that works with both MariaDB and MySQL. Where other storage engines are built as interfaces to lower-level file-based data stores, FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MariaDB or MySQL RDBMS. The plan is of course to be able to use other RDBMS systems as a data source. There is an existing project Federated ODBC which was able to use PostgreSQL as a remote data source, and it is this type of functionality which will be brought to FederatedX in subsequent versions.
Then the FederatedX table is created specifying the newly created Federated server.
456
460
The following statements creates a federated table, <<fixed>>federated.t1<</fixed>> against the table <<fixed>>db1.t1<</fixed>> on the remote server.
<h2class="anchored_heading" id="what-is-the-federatedx-storage-engine">What is the FederatedX storage engine?</h2>
479
-
<p>The FederatedX Storage Engine is a storage engine that works with both MariaDB and MySQL. Where other storage engines are built as interfaces to lower-level file-based data stores, FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MySQL RDBMS. The plan is of course to be able to use other RDBMS systems as a data source. There is an existing project Federated ODBC which was able to use PostgreSQL as a remote data source, and it is this type of functionality which will be brought to FederatedX in subsequent versions.</p>
503
+
<p>The FederatedX Storage Engine is a storage engine that works with both MariaDB and MySQL. Where other storage engines are built as interfaces to lower-level file-based data stores, FederatedX uses libmysql to talk to the data source, the data source being a remote RDBMS. Currently, since FederatedX only uses libmysql, it can only talk to another MariaDB or MySQL RDBMS. The plan is of course to be able to use other RDBMS systems as a data source. There is an existing project Federated ODBC which was able to use PostgreSQL as a remote data source, and it is this type of functionality which will be brought to FederatedX in subsequent versions.</p>
<p>The history of FederatedX is derived from the History of Federated. Cisco needed a MySQL storage engine that would allow them to consolidate remote tables on some sort of routing device, being able to interact with these remote tables as if they were local to the device, but not actually on the device, since the routing device had only so much storage space. The first prototype of the Federated Storage Engine was developed by JD (need to check on this- Brian Aker can verify) using the HANDLER interface. Brian handed the code to Patrick Galbraith and explained how it needed to work, and with Brian and Monty's tutelage and Patrick had a working Federated Storage Engine with MySQL 5.0. Eventually, Federated was released to the public in a MySQL 5.0 release. </p>
482
506
<p>When MySQL 5.1 became the production release of MySQL, Federated had more features and enhancements added to it, namely:</p>
</pre><p>Then the FederatedX table is created specifying the newly created Federated server.
573
+
</pre><divclass="mariadb_from_10_11_12 mariadb from_10_11_12 product"><h5class="product_title">MariaDB starting with <ahref="/kb/en/mariadb-101112-release-notes/">10.11.12</a></h5><p>You can also use 'mariadb' as a wrapper.</p>
574
+
</div><p>Then the FederatedX table is created specifying the newly created Federated server.
550
575
The following statements creates a federated table, <codeclass="highlight fixed" style="white-space:pre-wrap">federated.t1</code> against the table <codeclass="highlight fixed" style="white-space:pre-wrap">db1.t1</code> on the remote server.</p>
</pre><p>All subsequent calls to any FederatedX table using the 'server_one' will now be against tables in <codeclass="highlight fixed" style="white-space:pre-wrap">db2</code>! Guess what? You no longer have to perform an alter table in order to point one or more FederatedX tables to a new server!</p>
@@ -626,7 +651,7 @@ <h2 class="anchored_heading" id="how-do-you-use-federatedx">How do you use Feder
</pre><p>Then, on the server that will be connecting to the foreign host (client), you create a federated table without specifying the table structure:</p>
</pre><p>In this case the table structure must match exactly the table on the foreign server.</p>
650
675
<h3class="anchored_heading" id="how-to-see-the-storage-engine-in-action">How to see the storage engine in action</h3>
651
676
<p>When developing this handler, I compiled the FederatedX database with debugging:</p>
@@ -678,7 +703,7 @@ <h2 class="anchored_heading" id="how-do-i-create-a-federated-server">How do I cr
678
703
<p>A federated server is a way to have a foreign data source defined-- with all connection parameters-- so that you don't have to specify explicitly the connection parameters in a string.</p>
679
704
<p>For instance, if you wanted to connect to a table, <codeclass="highlight fixed" style="white-space:pre-wrap">first_db.test_table</code>, using this definition: </p>
<rssxmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Error 1045: Access denied for user (using password)</title><link>https://mariadb.com/kb/en/e1045/+comments/feed/</link><description></description><atom:linkhref="https://mariadb.com/kb/en/e1045/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Thu, 27 Feb 2025 01:04:28 +0000</lastBuildDate></channel></rss>
2
+
<rssxmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>MariaDB Knowledge Base Comments for: Error 1045: Access denied for user (using password)</title><link>https://mariadb.com/kb/en/e1045/+comments/feed/</link><description></description><atom:linkhref="https://mariadb.com/kb/en/e1045/+comments/feed/" rel="self"></atom:link><language>en-us</language><lastBuildDate>Fri, 28 Feb 2025 01:02:53 +0000</lastBuildDate></channel></rss>
0 commit comments