Freedom251 › Data Federation Software
PGSpider

What PGSpider is
PGSpider is a SQL cluster engine for querying distributed data through Foreign Data Wrappers. It can combine similarly structured tables from multiple sources into a Multi-Tenant virtual table that can be queried with one SQL statement. Queries and result fetching run across child nodes in parallel, and WHERE clauses and aggregation functions can be pushed down to those nodes. Multi-Tenant tables support AVG, STDDEV, and VARIANCE, along with INSERT, UPDATE, DELETE, and bulk INSERT using a batch_size option. The README demonstrates PostgreSQL and SQLite and names PostgreSQL, MySQL, Oracle, GridDB, PGSpider, InfluxDB v2.0, and Amazon S3 Parquet storage in its migration list. PGSpider uses PostgreSQL-like operation and documents client use with libpq and psql. It is free and open source, with an included license permitting use, copying, modification, and distribution without a fee. It is self-hosted on Linux; the documented deployment route involves building from source and installing to /usr/local/pgspider. Some modification patterns are unsupported, and the README recommends auto-commit for modifications because data may not be readable within a transaction and non-auto-commit changes may be inconsistent. Its tree-structure feature is described as beta and not tested enough.
Who it suits
PGSpider suits teams running Linux who want to query distributed data through SQL and Foreign Data Wrappers. It may fit users comfortable building and installing software from source.
What it does well
- Combines similarly structured sources into a virtual table.
- Runs child-node queries and result fetching in parallel.
- Supports pushed-down filters and aggregation functions.
- License permits use, copying, modification, and distribution.
What to know first
- Deployment is documented as a source build.
- Some modification patterns are unsupported.
- Modifications are recommended in auto-commit mode.
- Tree-structure feature is beta and under-tested.
Limits
Modification does not support RETURNING, WITH CHECK OPTION, ON CONFLICT, or foreign-partition COPY and modification. The README recommends auto-commit because modified data may not be readable within a transaction and non-auto-commit changes may be inconsistent; the tree-structure feature is in beta.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| PGSpider | Use, copy, modify, and distribute under the included license | Free |
As github.com lists them, read 4 Oct 2026. The maker's own page has the final word.
Getting started
- Open the PGSpider project website on GitHub
- Build PGSpider from source as documented
- Install it to /usr/local/pgspider
- Use a PostgreSQL-like client such as libpq or psql
Verdict
PGSpider brings distributed sources into a SQL workflow and supports parallel queries and several modification operations. Its documented setup and transaction caveats matter for teams planning deployment.
Questions
How much does PGSpider cost?
The PGSpider plan is free. Its included license permits use, copying, modification, and distribution without a fee.
Which data sources does PGSpider name?
Its migration list names PostgreSQL, MySQL, Oracle, GridDB, PGSpider, InfluxDB v2.0, and Amazon S3 Parquet storage. The README also demonstrates PostgreSQL and SQLite.
Can PGSpider query multiple sources with one statement?
Yes. It can present similarly structured source tables as one Multi-Tenant virtual table queried with a single SQL statement.
Which clients can use PGSpider?
The project documents PostgreSQL-like operation and use with libpq and psql.
Is PGSpider self-hosted?
Yes. Its listed deployment model is self-hosted, and the documented installation route builds from source and installs to /usr/local/pgspider.
What are the limits on modifications?
RETURNING, WITH CHECK OPTION, ON CONFLICT, and foreign-partition COPY and modification are unsupported. The README recommends auto-commit for modifications.
Facts from PGSpider's own pages
- Client compatibility
- PGSpider uses PostgreSQL-like operation and documents use with client applications such as libpq and psql. · github.com, 4 Oct 2026
- Cloud transfer
- Data Compression Transfer sends compressed data through a Cloud Function and requires a pgspider_fdw relay server with endpoint and relay options. · github.com, 4 Oct 2026
- Data modification
- Multi-Tenant tables support INSERT, UPDATE, and DELETE, as well as bulk INSERT using a batch_size option. · github.com, 4 Oct 2026
- Data sources
- The README demonstrates PostgreSQL and SQLite and lists PostgreSQL, MySQL, Oracle, GridDB, PGSpider, InfluxDB v2.0, and Amazon S3 Parquet storage for migration. · github.com, 4 Oct 2026
- Deployment
- The README documents building from source and installing to /usr/local/pgspider. · github.com, 4 Oct 2026
- License
- The included license permits use, copying, modification, and distribution without a fee, and disclaims warranties and an obligation to provide support or updates. · github.com, 4 Oct 2026
- Modification limitation
- RETURNING, WITH CHECK OPTION, and ON CONFLICT are unsupported with modification, and foreign-partition COPY and modification are unsupported. · github.com, 4 Oct 2026
- Parallel queries
- PGSpider runs queries and fetches results from child nodes in parallel. · github.com, 4 Oct 2026
- Purpose
- PGSpider is a SQL cluster engine for distributed big data that accesses data sources through Foreign Data Wrappers. · github.com, 4 Oct 2026
- Pushdown
- It pushes WHERE clauses and aggregation functions down to child nodes, and supports AVG, STDDEV, and VARIANCE on Multi-Tenant tables. · github.com, 4 Oct 2026
- Transaction limitation
- The README recommends running modifications in auto-commit mode because modified data may not be readable within a transaction and non-auto-commit changes may be inconsistent. · github.com, 4 Oct 2026
- Tree feature status
- The README says the tree-structure feature is not tested enough and is in beta. · github.com, 4 Oct 2026
- Virtual tables
- It can present similarly structured tables from multiple data sources as one Multi-Tenant virtual table queried with a single SQL statement. · github.com, 4 Oct 2026
Where PGSpider stands on Freedom251
- Data Federation Software#9 of 24