简体   繁体   English

在Linux上将数据从SQL Server传输到PostgreSQL

[英]Transfer data from SQL Server to PostgreSQL on Linux

What is the best way to transfer the data from SQL Server database on Windows to a PostgreSQL database on Linux? 将数据从Windows上的SQL Server数据库传输到Linux上的PostgreSQL数据库的最佳方法是什么?

The current SQL Server database there are about 500,000 rows per table, and about 80 tables all together. 当前的SQL Server数据库中每个表大约有500,000行,并且总共大约有80个表。

Thanks! 谢谢!

I'm not familiar enough with sql-server to assert this is the best way, but if you just need the data, you could try using odbc and a foreign data wrapper: 我对sql-server不太熟悉,无法断言这是最好的方法,但是如果您只需要数据,则可以尝试使用odbc和外部数据包装器:

http://wiki.postgresql.org/wiki/Foreign_data_wrappers http://wiki.postgresql.org/wiki/Foreign_data_wrappers

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM