数据同步工具
用全量方式, 将指定表从一个数据库抽取到另外一个数据
sqlalchemy
支持的数据库都支持
[X] Postgresql
[X] MySQL
[X] Oracle
[X] SQLite
[X] Hive
通过 PyHive
[X] Postgresql
[X] MySQL
pg 链接URL
# psycopg2
engine = create_engine('postgresql+psycopg2://scott:tiger@localhost/mydatabase')
MySQL链接URL
# mysql-connector
engine = create_engine("mysql+mysqlconnector://user:pswd@host:port/db")