Back
S3 Vectors Wrapper

S3 Vectors Wrapper

Overview

Amazon S3 Vectors is the first cloud object storage with native support for storing and querying vectors at scale. It delivers purpose-built, cost-optimized vector storage for AI agents, RAG, inference, and semantic search, supporting up to 2 billion vectors per index with sub-100ms query latency and up to 90% cost reduction compared to dedicated vector databases.

The S3 Vectors Wrapper brings your vector indexes into Postgres as queryable foreign tables. Insert, query, and delete vectors with plain SQL, perform approximate nearest neighbor (ANN) similarity search using the <=> operator, and filter results by metadata. Works with Supabase Vault for secure credential management and uses the same two-secret pattern as the S3 and Iceberg wrappers.

Supported Operations

ObjectSelectInsertUpdateDelete
Vector Indexes

Supported Data Types

Postgres TypeS3 Vectors Type
textString
booleanBoolean
smallintInt16
integerInt32
bigintInt64
realFloat32
double precisionFloat64
jsonbJSON object
s3vecFloat32 array (vector)

Resources

Details

DeveloperSupabase
DocumentationLearn

Third-party integrations and docs are managed by Supabase partners.

Get started with S3 Vectors Wrapper and Supabase.