What pgloader does
Automated schema conversion and high-performance loading
pgloader connects directly to the source database, converts the schema to PostgreSQL conventions, and loads all data in a single command. It handles real-world edge cases — encoding issues, type mismatches, constraint ordering — so you don't have to.
Why it matters
Manual migrations are error-prone and slow
- Schema differences between databases require careful translation
- Data type mismatches cause silent corruption if not handled correctly
- Large datasets need parallel loading to be practical
- pgloader automates the tedious parts and reports exactly what it changed
Supported sources
Migrate from wherever your data lives
- MySQL and MariaDB
- SQLite
- MS SQL Server
- CSV, Fixed-width, and dBase files
- PostgreSQL (for restructuring or copying)
Key capabilities
Production-grade data loading
- Automatic schema and type conversion
- Parallel loading with concurrent workers
- Error reporting with per-row rejection logs
- Scriptable with a dedicated command language
- Docker image available