Exporting SQL Data and Ingesting into Helix
This guide will walk you through the process of exporting your SQL data, uploading it to a website, and then to Amazon S3. Finally, the data will be ingested into a Helix instance and written to a graph database. This process currently supports PostgreSQL.Steps
-
SSH into the Instance
First, SSH into the instance that has access to your PostgreSQL database.
Ensure this instance can access the database you want to ingest.
-
Install Helix CLI
Install the Helix CLI using the following command:
-
Export Data from PostgreSQL
The Helix CLI does not currently include a SQL ingestion command.
Export your data with
pg_dumpso it can be uploaded in the Helix Console:- Replace
<username>,<password>,<host>,<port>, and<dbname>with your PostgreSQL credentials and connection details.
- Replace
- Upload Data to S3 After exporting your data, go to the Helix Console and upload the file.
- Helix Instance Pulls Data Once it has been uploaded, the Helix instance will pull the data and write it to the graph database.
Future Enhancements
- Vector Support: Support for vectors will be added soon, enhancing the capabilities of data ingestion and processing.