Một mục tập trung dữ liệu trong kho dữ liệu GitHub của TopGit: dimitri/pgloader, 6.5k sao, nhóm Data, Common Lisp. Migrate to PostgreSQL in a single command!
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
pgloader is a data loading tool for PostgreSQL, using the COPY command.
Its main advantage over just using COPY or \copy, and over using a
Foreign Data Wrapper, is its transaction behaviour, where pgloader
will keep a separate file of rejected data, but continue trying to
copy good data in your database.
The default PostgreSQL behaviour is transactional, which means that
any erroneous line in the input data (file or remote database) will
stop the entire bulk load for the table.
pgloader also implements data reformatting, a typical example of that
being the transformation of MySQL datestamps 0000-00-00 and
0000-00-00 00:00:00 to PostgreSQL NULL value (because our calendar
never had a year zero).
Version 4 — Clojure/JVM rewrite
pgloader v4 is a full rewrite in Clojure, distributed as a single
self-contained JAR requiring Java 21 or later. It is a drop-in
replacement for v3 and accepts the same .load file syntax and
command-line flags.
Key improvements over v3:
Single JAR — no native dependencies, no SBCL, no shared libraries
JDBC connection strings — use jdbc:mysql://, jdbc:postgresql://,
jdbc:sqlserver:// etc. everywhere; driver-specific parameters pass
through unchanged
Java heap — no more Common Lisp heap exhaustion on large migrations;
tune with standard -Xmx JVM flag
SSL via URI — use ?sslmode=require / ?sslmode=disable in the
connection string instead of --no-ssl-cert-verification
Documentation
Full documentation is available at
https://pgloader.readthedocs.io/.
$ java -jar pgloader.jar --help
pgloader [ option ... ] SOURCE TARGET
--help Show usage and exit.
--version Display pgloader version and exit.
--quiet Be quiet.
--verbose Be verbose.
--debug Display debug level information.
--client-min-messages Filter logs seen at the console (default: info)
--log-min-messages Filter logs seen in the logfile (default: info)
--logfile Filename where to send the logs.
--summary Filename where to copy the summary.
--root-dir Output root directory (default: /tmp/pgloader/).
--list-encodings List pgloader known encodings and exit.
--dry-run Check connections only, don't load anything.
--on-error-stop Stop on first error instead of continuing.
Usage
You can either give a command file to pgloader or run it all from the
command line, see the
pgloader quick start
for more details.
TopGit chưa ghi nhận license cho dimitri/pgloader. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
dimitri/pgloader có trang demo không?
Dự án có trang chủ ở http://pgloader.io. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
dimitri/pgloader còn đang phát triển không?
Commit gần nhất trên dimitri/pgloader là 29 ngày trước (theo timestamp GitHub). Repo có 608 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc thêm về dimitri/pgloader ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/dimitri/pgloader là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về pgloader?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về pgloader.