- How to Generate and Load Embeddings
- Vector Search Quickstart
- How to Create a PostgreSQL Vector Database Cluster
- DigitalOcean Managed PostgreSQL Vector How-Tos
- Getting Started with PostgreSQL Vector Search
- How to Enable pgvector
- How to Use pgvectorscale with PostgreSQL Vector Search
- How to Create a Vector Index
- How to Query with Hybrid Search
- Best Practices for Advanced PostgreSQL Vector Workloads
DigitalOcean Managed PostgreSQL for Vector Search
Generated on 19 Aug 2026
DigitalOcean Managed PostgreSQL for vector search uses the same managed PostgreSQL engine available under Managed Databases, with the pgvector and pgvectorscale extensions for storing and querying vector embeddings alongside relational data.
Quickstart guides for using DigitalOcean Managed PostgreSQL with pgvector as a vector database.
How to enable pgvector, load embeddings, index and tune vector search, and build advanced workloads with pgvectorscale.
Core PostgreSQL vector search concepts, including pgvector, pgvectorscale, embeddings, vector indexes, distance operators, and hybrid search.
DigitalOcean Managed PostgreSQL for vector search is the same managed PostgreSQL engine available under Managed Databases, with support for vector workloads through PostgreSQL extensions.
Use PostgreSQL for vector search when you want to store embeddings alongside relational data, query vectors with SQL, and keep one database as your source of truth.
PostgreSQL vector databases support:
vector: The pgvector extension forvector,halfvec, andsparseveccolumns, exact search, HNSW indexes, and IVFFlat indexes. Available on PostgreSQL 13 and later.vectorscale: The pgvectorscale extension for StreamingDiskANN and Statistical Binary Quantization for larger, disk-resident vector workloads. Available on PostgreSQL 14 and later.
Enable each extension per database with CREATE EXTENSION.
When to Choose PostgreSQL
Choose PostgreSQL for vector workloads when you need:
- Vectors with relational data: Combine vector similarity search with SQL filters, joins, and transactions.
- One database: Store source data, metadata, and embeddings together without syncing to a separate vector store.
- PostgreSQL tooling: Use existing migrations, backups, replication, observability, and access-control patterns.
- Small to medium vector datasets: Use pgvector HNSW or IVFFlat indexes for common vector search workloads.
For larger search-focused workloads, consider OpenSearch or Weaviate. For hybrid keyword and vector search as a first-class search workflow, consider OpenSearch.
What Is Included
PostgreSQL vector databases include the following vector search capabilities:
- pgvector
vectorextension: Available on PostgreSQL 13 and later. - pgvectorscale
vectorscaleextension: Available on PostgreSQL 14 and later. - HNSW and IVFFlat indexes: Supported through pgvector.
- StreamingDiskANN and SBQ: Supported through
vectorscale. - Hybrid full-text and vector search: Supported with
tsvector, GIN indexes, and vector indexes. - In-database embedding generation: Not supported. Generate embeddings in your application or ingest pipeline, then insert them into PostgreSQL.
PostgreSQL doesn’t generate embeddings. Generate embeddings in your application or ingest pipeline, then insert the resulting vectors into PostgreSQL.
Use Existing PostgreSQL Clusters
PostgreSQL clusters created through Vector Databases and Managed Databases use the same managed PostgreSQL engine. If you already have a compatible Managed PostgreSQL cluster, enable vector search with:
CREATE EXTENSION vector;Latest Updates
3 August 2026
-
PostgreSQL Advanced Edition clusters now support
sslmode=verify-fullfor full TLS certificate verification. For setup, see How to Connect to PostgreSQL Database Clusters and Increase TLS Verification withsslmode.
15 July 2026
-
Managed databases are available in Kansas City (
mkc1) with limited plan availability. Premium AMD plans and General Purpose MongoDB clusters are not available in this region. See the regional availability matrix for current coverage by engine.
10 July 2026
-
PostgreSQL Standard Edition clusters now support
sslmode=verify-fullfor full TLS certificate verification. For setup, see How to Connect to PostgreSQL Database Clusters and Increase TLS Verification withsslmode.
For more information, see the full release notes.