Does the PieCloudDB database provide the functionality to directly load data from external databases?
Can I connect to an external database without any intermediary steps or data transformations and import the data directly into the PieCloudDB database?
PieCloudDB database can directly load data from external databases. Taking Oracle database as an example:
1.Configure the oracle_fdw dependency on PieCloudDB.
The above files should be extracted and placed in the /home/openpie/instantclient_12_2/ directory on all nodes of PieCloudDB. The openpie user's .bash_profile on the operating system should be configured with the following environment variables, which should be set on all nodes.
2.Create fdw in PieCloudDB
3.Create an external service in PieCloudDB
4.Create user mapping
5.Create foreign table
6.query table data in Oracle through a foreign table in PieCloudDB