作者
digoal
日期
2018-04-14
标签
PostgreSQL , pgloader , text , csv , mysql , sqlserver , dbf , ixf , ddl , copy
背景
pgloader是一款开源的迁移软件,命令行操作。
支持从文本、mysql, sqlite, sqlserver迁移到PostgreSQL. 包含DDL的自动迁移。
同时在数据写入PG的过程中,支持COPY协议写入(支持记录错误行),支持并行创建索引。
功能以及导入效率都是很赞的。
https://pgloader.io/
https://pgloader.io/about/
pgLoader has two modes of operation. It can either load data from files, such as CSV or Fixed-File Format; or migrate a whole database to PostgreSQL.
pgLoader supports several RDBMS solutions as a migration source, and fetches information from the catalog tables over a connection to then create an equivalent schema in PostgreSQL. This means that you can migrate to PostgreSQL in a single command-line!
Supported operations include:
- Migrate from MySQL to PostgreSQL
- Migrate from SQLite to PostgreSQL
- Migrate from MS SQL Server® to PostgreSQL
You can also migrate from database files in the DBF and IXF formats, where pgLoader can inspect the target table format for you automatically in the file headers.
ROADMAP
More sources for migrations are possible, such as Oracle™, Sybase™ or IBM Db2, see the pgloader Road Map document for details.
https://pgloader.io/roadmap/
PostgreSQL 许愿链接
您的愿望将传达给PG kernel hacker、数据库厂商等, 帮助提高数据库产品质量和功能, 说不定下一个PG版本就有您提出的功能点. 针对非常好的提议,奖励限量版PG文化衫、纪念品、贴纸、PG热门书籍等,奖品丰富,快来许愿。开不开森.