Confirm the pgvector release your host ships, choose index and vector types for your memory budget, test filtered queries against the planner at production size, and pin releases before upgrades. Each step cites pgvector's README and CHANGELOG, the hosts' own pages and public accounts from teams running it.
When you need this
- A RAG or search feature is moving to production on Postgres.
- Filtered vector queries have slowed as data grew.
- The team is choosing a managed Postgres host for pgvector.
Evaluation criteria
Host release
Which pgvector release does your host ship, and how fast does it update?
Look forCloud SQL lists 0.8.5 on PostgreSQL 13 and later. Azure needs the extension on the allowlist, and one team on Azure was held on 0.8.2 with an HNSW vacuum bug fixed in 0.8.3.
Index type and memory
Does the index build fit your memory?
Look forHNSW builds slower and uses more memory than IVFFlat, and builds faster when the graph fits in maintenance_work_mem. One practitioner reports 10+ GB of RAM for an HNSW build on a few million vectors.
Vector type
Can you store at half precision?
Look forhalfvec takes 2 * dimensions + 8 bytes against 4 * dimensions + 8 for vector. One benchmark's HNSW index fell from 38 GB to 19 GB with halfvec, and another developer saw no change in results.
Filtered plans
Does the planner use your index when filters apply?
Look forRun EXPLAIN on production-sized data. Enable iterative index scans from 0.8.0 and use partial indexes for low-cardinality filters. Mem0's indexes recorded 0 scans under tenant filters.
Upgrades
Are images and releases pinned?
Look forPin the Docker tag: a floating pg17 tag moved from 0.8.2 to 0.8.4 and broke one team's CI index build. Read the CHANGELOG before each upgrade.
Questions to ask vendors
- Which pgvector release does our host run today?
- Do our filtered queries use the index at production size?
- How much memory does an index rebuild need on our largest table?
- Who pins and upgrades the pgvector image?
Red flags
- Filtered queries never checked with EXPLAIN.
- A floating Docker tag in production or CI.
- maintenance_work_mem left at the default for large index builds.
- A managed host two releases behind on HNSW fixes.
Products in this piece
Sources
- Official documentation
- 4
- Public source
- 5
- pgvector on GitHub: README
- pgvector on GitHub: CHANGELOG
- Google Cloud: Cloud SQL for PostgreSQL extensions
- Microsoft Learn: pgvector on Azure Database for PostgreSQL flexible server
- Mem0 blog: How we cut vector search latency by 70x (Jul 30, 2026)
- digdir/genki issue #186: pgvector 0.8.2 on Azure and HNSW vacuum (Oct 29, 2026)
- pgvector issue #995: index build memory after 0.8.4 (Jul 1, 2026)
- pgvector issue #967: halfvec index size and compiler versions (Mar 9, 2026)
- pgvector issue #916: planner choices under a 1% filter (Oct 26, 2025)