Skip to content

S3

S3 object storage through pgsilo, Silo’s PostgreSQL backend, with an SQL API.

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.

Status
MVP in progress. The goal is an experimental backend shipped inside a Silo release; there will be no standalone pgsilo binary. Schema version 14. Nothing is published yet.
Ports
S3 and STS on 9000; Console on 9001
Gateway
Silo server (Go) with a PostgreSQL ObjectLayer; start it with SILO_PG_DSN instead of disk paths
Database
schemas silo (private), silo_api (11 public functions), silo_bucket (one ACL relation per bucket); PostgreSQL 16 or later
Kernel patch
none; runs on stock PostgreSQL
Licence
Silo server: AGPL-3.0-or-later

How S3 maps onto PostgreSQL

  • Object bodies are bytea segments 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_objects and eight more functions work inside a caller’s transaction (Read Committed). Callers are identified by session_user.

Try it

BEGIN;
SELECT * FROM silo_api.put_object('attachments', 'invoice/2026-001.txt',
                                  convert_to('paid', 'UTF8'), 'text/plain');
COMMIT;

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 503 SlowDown.
  • 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.