Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
126 views
in Technique[技术] by (71.8m points)

python - Best practice for copying table from one database to another using AirFlow

We gonna deploy AirFlow for ETL management.

What is the best practice for copying a whole table from one database (Oracle or DB2) to another (PostgreSQL)?

I was thinking using 1) ORM SQLAlchemy or 2) Pandas pandas.read_sql_table() and DataFrame.to_sql(). Or is there even better way?

Thank you.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

62 comments

56.7k users

...