pg_bulkload
pg_bulkload is a high speed data loading utility for PostgreSQL
pg_bulkload : pg_bulkload is a high speed data loading utility for PostgreSQL
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 9830 | pg_bulkload | pg_bulkload | 3.1.23 |
ETL | BSD-3-Clause | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-- | Yes | Yes | No | Yes | no | no |
| Relationships | |
|---|---|
| See Also | 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
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 3.1.23 |
18 17 16 15 14 | pg_bulkload |
- |
| RPM | PGDG | 3.1.23 |
18 17 16 15 14 | pg_bulkload_$v |
- |
| DEB | PIGSTY | 3.1.23 |
18 17 16 15 14 | postgresql-$v-pg-bulkload |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| el8.aarch64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| el9.x86_64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| el9.aarch64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| el10.x86_64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| el10.aarch64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| d12.x86_64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| d12.aarch64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| d13.x86_64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| d13.aarch64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| u22.x86_64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| u22.aarch64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| u24.x86_64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| u24.aarch64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| u26.x86_64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
| u26.aarch64 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 | PIGSTY 3.1.23 |
Source
github.com/ossc-db/pg_bulkload
pg_bulkload-VERSION3_1_23.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
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