About Pgloader
pgloader loads data into PostgreSQL using the COPY protocol while handling bad rows gracefully. A plain COPY aborts the whole table load when a single line is invalid. pgloader instead writes rejected records to a separate file and keeps loading the good ones, which makes large imports from messy data far less painful.
Beyond loading, it reformats data on the way in, for example converting MySQL zero dates into proper NULL values. It can read flat files such as CSV, IXF and dBase files, and it can read directly from other databases including MySQL, SQL Server and SQLite, so migrating a whole schema along with its data can be done with a single command. The tool is written in Common Lisp.
pgloader is open source, though its license shows as 'Other' in the repository metadata. It runs on your own machine or server as a command-line program, and there is no hosted version. It suits database administrators and developers moving to PostgreSQL or regularly importing external data.
Key features
- Bulk loading into PostgreSQL via COPY
- Rejected rows saved to a separate file
- Data reformatting during load
- Direct migration from MySQL, SQL Server and SQLite
- CSV, IXF and dBase file imports
- Single-command database migrations
Good fit for
- →Migrating a MySQL database to PostgreSQL
- →Importing large CSV files with dirty rows
- →Moving SQLite data into Postgres
- Tags
- postgresql
- migration
- etl
- mysql
- sqlite
- csv
- cli
Open-source alternatives to Pgloader
See all
Goose
Database Tools
A database migration tool. Supports SQL migrations and Go functions.
OSS★ 12k
Beekeeper Studio
Database Tools
Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more. Linux
OSSvs DataGrip★ 24kAdminer
Database Tools
Database management in a single PHP file
OSSvs DataGrip★ 7.9k
q
Database Tools
q - Run SQL directly on delimited files and multi-file sqlite databases
GPL-3.0★ 10k
Outerbase Studio
Database Tools
A lightweight Database GUI in your browser. It supports connecting to Postgres, MySQL, and
AGPL-3.0vs TablePlus★ 6k
Pgcli
Database Tools
Postgres CLI with autocompletion and syntax highlighting
BSD-3-Clause★ 13k
SaaS alternatives to Pgloader
See all
TablePlus
Database Tools
Native database client for PostgreSQL, MySQL, SQLite, Redis and more
SaaSValentina Studio
Database Tools
Database administration and query tool with a free edition for several database engines
SaaS
Base
Database Tools
macOS app for creating, browsing and editing SQLite databases
SaaS
DBCode
Database Tools
VS Code extension for browsing and querying databases
SaaS
dbForge Studio
Database Tools
Devart IDE suite for developing and managing MySQL, SQL Server, Oracle and PostgreSQL
SaaS
Navicat
Database Tools
Database administration and development client for many SQL and NoSQL systems
SaaS

