-
1. Re: Insert data to MySQL tabla using Teiid
van.halbert Sep 27, 2017 7:44 AM (in response to ivon.stocco)Hi Ivon,
Yes, Teiid can automatically load the data into Mysql using the external materialization feature. Here is an external materialization example [1], which depends on the data-federation example [2] for its data. The materialization, in this example, is configured to reload the h2 table every 60 seconds, but that's configurable. Take a look at the portofolio-mat-vdb.xml as to how its configured. Full details on using external materialization can be found here [3].
Another option for automating the load, you could use cron job to submit the sql to perform the "select into".
[1] teiid-quickstarts/vdb-materialization at master · teiid/teiid-quickstarts · GitHub
[2] teiid-quickstarts/vdb-datafederation at master · teiid/teiid-quickstarts · GitHub
[3] External Materialization · Teiid Documentation
Please reach out if you have any questions.
Van
-
2. Re: Insert data to MySQL tabla using Teiid
ivon.stocco Nov 8, 2017 10:48 AM (in response to van.halbert)Thanks for your reply, Van Halbert.