pg_bulkload
pg_bulkload is a high speed data loading utility for PostgreSQL
Repository
ossc-db/pg_bulkload
https://github.com/ossc-db/pg_bulkload
Source
pg_bulkload-VERSION3_1_23.tar.gz
pg_bulkload-VERSION3_1_23.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_bulkload | 3.1.23 | ETL | BSD-3-Clause | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 9830 | pg_bulkload | Yes | Yes | No | Yes | No | No | - |
| Related | file_fdw aws_s3 pg_parquet pg_lake pg_ducklake pg_fact_loader pg_csv omni_csv pg_duckdb duckdb_fdw |
|---|
pg18 fixed by vonng
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 3.1.23 | 1817161514 | pg_bulkload | - |
| RPM | PGDG | 3.1.23 | 1817161514 | pg_bulkload_$v | - |
| DEB | PIGSTY | 3.1.23 | 1817161514 | postgresql-$v-pg-bulkload | - |
Build
You can build the RPM / DEB packages for pg_bulkload using pig build:
Install
You can install pg_bulkload directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
pg_bulkload: pg_bulkload is a high speed data loading utility for PostgreSQL
A high-speed data loading tool for PostgreSQL that bypasses shared buffers for massive data loads, with built-in ETL features for input validation and data transformation.
Basic Usage
Load data using a control file:
Output:
Control File Example
Loading Modes
- DIRECT: Bypasses shared buffers, writes directly to data files (fastest)
- PARALLEL: Uses multiple processes for loading
- CSV/BINARY/FIXED: Supports various input formats
SQL Interface
Key Features
- Bypasses PostgreSQL shared buffers for maximum throughput
- Input data validation with configurable error thresholds
- Duplicate key handling (keep new, keep old, or reject)
- CSV, fixed-length, and binary input formats
- Skip rows, filter functions for data transformation
- Parallel loading support
Documentation
Full documentation: http://ossc-db.github.io/pg_bulkload/index.html
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)