Hi, I am trying to fetch data from an on-prem SQL DB and ingest the data to snowflake.
I had reached out for help in another thread. But I am also thinking about using airbyte for the same. Usually we run python scripts on kubernates on AWS to connect to source system DB and ingest into snowflake directly.
Looking for scalable options with airbyte. Can it be run on kubernates similarly? Need to fetch around 15 tables and hence looking for parallelized and scalable solutions. Haven’t used airbyte before. Thanks.
straight db to db data moving is kind nono in modern systems . just do python (or bash or wahat ever) which dumps data from sql server to s3 so that it matches your requirements ( full copy/incremental/cdc) and consume files in straight in snowflake using copy command to stage data. or configure snowpipe to listen events and let it stage data when new file is written to bucket
Then it up to you , how you run your db to s3 script. maybe airbyte to run each table in own job or something else. Usually one or two jobs are more than sufficient max out SQL server and max out downloader. One good trick is to use python to pull 100k row , then have job to streams that batch to s3 file while gzipping it same time , while at same time you try to fetch next 100k results ( this is better to be done with fetchmany() .. real “chalenge” here is to write code that can fetch data from db and send that data in csv gzipped format to s3. That said parquet when complete files are observed are faster, no idea can you streams parque files, i did not test that.
if you are not in aws then replace s3 with your preferred object storage
Hey there.
I’ve setup airbyte at work but to perform CDC from Postgres to an S3 bucket, which then gets ingested into snowflake.
About 30 db’s with around 600 tables each.
I do not recommend airbyte.
Were having to run it on a 32gb ram machine with 16gb swap to keep it happy.
The moment a sync fails there’s a risk the whole ec2 instance will lock up when trying to repeform the initial sync.
I’ve got 3 bugs open with the developers which havnt been actioned in over a year.
I’m attempting an upgrade of airbyte now, they’ve changed how updates are performed and now the service is dead until I rebuild it and reconfigure all of the connections/db syncs.
It might be fine for your use case, but I wish I did it another way now.
Are you still having issues or have they been resolved? I’m looking at them for just our first party dbs because I assumed the SQL connectors were so stable.