S3
S3 clients and SDKs talk to Silo, PGSTY’s fork of the MinIO server, which keeps its S3, SigV4, IAM and Console front end. With the pgsilo backend, Silo stores everything in PostgreSQL: object bodies, metadata, versions, multipart state, bucket configuration and IAM. The gateways are stateless, and an SQL API can read and write the same objects inside a PostgreSQL transaction.
How S3 maps onto PostgreSQL
- Object bodies are
byteasegments of 8 MiB by default. Objects are limited to 256 MiB by default, or up to 1 GiB when set at initialization. - Metadata, versions, delete markers and multipart uploads are rows, so a write either commits completely or not at all.
- IAM users, groups, policies and service accounts live in the database, with a 5-second lease for cached IAM state.
- SQL API:
silo_api.put_object,get_object,list_objectsand eight more functions work inside a caller’s transaction (Read Committed). Callers are identified bysession_user.
Try it
The object is then readable over S3 as attachments/invoice/2026-001.txt.
Limits
- A gateway uses 32 PostgreSQL connections by default. Above 32 concurrent requests, the current candidate
(
1d387725c) queues requests for up to 5 s and then answers HTTP 503SlowDown. - PgBouncer in transaction-pooling mode is not supported.
- SQL transactions, native authorization, STS, lifecycle, Object Lock, quota, annotations and ZIP extraction, and standby gateways are all Preview features.
- Not supported: SSE-KMS or an external KMS, replication, tiering, erasure coding, automatic high availability.
Alternatives
pgs3 serves path-style S3 from PostgreSQL background workers, in process. It is
an early alpha (v0.1.1) without TLS, IAM or lifecycle. Mimus will pick one of the two as its default S3
implementation.
Source and credit
pgsilo is developed by PGSTY and Silo contributors; general Silo documentation is at
silo.pgsty.com. Silo derives from the MinIO project, © 2015–2025 MinIO, Inc. Silo and
Mimus are not affiliated with or endorsed by MinIO, Inc. The MINIO_* variables and /minio/ paths remain for
compatibility only.
Pages in this section adapt the pgsilo companion documentation, © PGSTY & SILO Contributors, CC BY 4.0; see Licence and attribution.
Prepare a database, start Silo with the PostgreSQL backend, and create a bucket and an object.
SQL access, SDKs, versioning, encryption, annotations and multi-step S3 workflows.
Supported S3 APIs, feature tiers, unsupported features and known differences.
Stateless gateways, the PostgreSQL ObjectLayer, schemas, and the read and write paths.
Configuration, SQL API, S3 API, authorization, annotations, ZIP and storage.
Install, run highly available, back up, upgrade, monitor and troubleshoot.
The alternative that serves S3 from PostgreSQL background workers, compared with pgsilo.
MVP goal, release checklist, 2026-11-08 baseline and fixes, known issues and the history of local deliveries.
Why pgsilo exists and the decisions that shaped it.