pgvector vs Qdrant

pgvector suits teams that already run Postgres and want vectors stored beside their relational data. Qdrant suits teams that need a dedicated vector search service with heavy payload filtering, sharding and quantization.

On this page

pgvector vs Qdrant: which fits your team

Choose pgvector when vectors should sit beside relational data in a Postgres server your team already operates, and choose Qdrant when vector search is its own service with heavy payload filtering, sharding or quantization needs. pgvector is a PostgreSQL extension under the PostgreSQL License that supports Postgres 13 and later, runs exact search by default and offers HNSW and IVFFlat indexes for approximate search. Qdrant is a separate Apache-2.0 engine with its own cluster model. Four things decide between them: how much Postgres expertise your team already has, how large your collections will grow and how heavily queries filter on metadata, what access control and audit evidence your reviewers will ask for, and who will run the cluster day to day.

Qdrant's strengths only matter if you need them. It offers sharding and replication, JSON payload filtering, dense, sparse and hybrid search, and built-in quantization that its README says can cut RAM usage by up to 97%. It also has firm infrastructure needs: block-level storage with a POSIX-compatible file system, with NFS and object storage such as S3 ruled out, and SSD or NVMe drives recommended. Security is something you configure yourself. The Qdrant security documentation states that self-deployed instances listen on all network interfaces with no authentication configured, so you must enable admin and read-only API keys, TLS and, for per-collection read or write permissions, JWT-based access control. JSON audit logging of authenticated API operations arrived in v1.17.0.

Run three checks before you commit. First, test your actual filter mix: if searches combine vector similarity with several metadata conditions over large collections, benchmark both engines on data sized like yours, since general claims cannot predict your plans. Second, check access control against what your reviewers will ask. Confirm with your Postgres administrators and security team how roles, grants and row-level policies would cover embedding tables, and confirm that Qdrant's per-collection JWT permissions and v1.17.0 audit logs produce the evidence your auditors expect. Third, ask for a written scope that names who runs upgrades, failover and backups. pgvector has no separate license fee, so its cost sits in the Postgres server and staff time. The open-source Qdrant engine is free to self-host, while Hybrid Cloud and Private Cloud are priced through sales, so get those terms from the Qdrant pricing page.

Which pgvector vs Qdrant scenarios favor each platform

This table matches common team situations to the platform that fits them better, with the reason and the condition under which that choice holds. Read each row as a starting point: the condition column shows what to confirm in your own environment before you decide. The main takeaway is that pgvector fits best when vectors live beside relational data and Postgres skills already exist, while Qdrant suits dedicated vector search with heavy filtering, sharding or a vendor-run option.

ScenarioBetter fitReasonCondition
Vectors must join transactional tablespgvectorVectors sit in the same Postgres database as the rows they join, so one query and one backup cover both.Joined data already lives in Postgres and the vector volume fits the server's memory and storage plan.
Team already runs PostgreSQLpgvectorReuses existing backup, monitoring, access roles and on-call skills without adding a new stateful service.Your Postgres team can size memory for HNSW indexes and embeddings stay within 2,000 dimensions for the vector type.
Large collections with heavy payload filteringQdrantQdrant documents JSON payload filtering and built-in quantization, which its README says can cut RAM use by up to 97%.Filters drive most queries and you benchmark both engines on your data, since the 97% figure is the project's own claim.
Multi-node scaling with replicationQdrantQdrant documents horizontal scaling with sharding and replication across nodes.Your cluster needs its own shard and replica management, and you confirm the Kubernetes option covers your upgrade plan.
Preference for managed cloudQdrant CloudQdrant Cloud has a free single-node tier and a Premium tier that adds SSO, private VPC links and a 99.9% uptime SLA.Holds if you accept a vendor-run service; if your provider's managed Postgres already offers pgvector, that path may suit better.
Networks with tight controlspgvectorpgvector runs inside a Postgres server you operate, so it inherits access controls and network rules your team already reviews.Holds if that Postgres server already meets your baseline, since Qdrant needs configuring before it is locked down.
Team with Kubernetes but little database operationsQdrantQdrant offers a vendor-run option, and its Helm chart runs on Kubernetes without a relational database to tune.Holds for Qdrant Cloud or Hybrid Cloud; the community Helm chart lacks zero-downtime upgrades and automatic shard rebalancing.

pgvector vs Qdrant architecture and what it asks you to run

Both options store vectors, but they ask for different things from your infrastructure. pgvector adds work to a Postgres server you operate, while Qdrant is a separate service with its own deployment paths, storage needs and security settings. The four cards below cover where the vectors live, how you deploy each, what storage and resilience require and how access is controlled.

Where vectors live

pgvector adds a vector type to Postgres, so embeddings sit in the same table as the rows they describe and queries run in SQL with ordinary filters. Exact search is the default, and HNSW or IVFFlat indexes add approximate search as tables grow. Qdrant is a separate engine with collections and JSON payload filtering, so your application talks to a second system and must keep the two in step. Decide which model fits your team before you design the schema.

pgvector README

Deployment paths open to each

Qdrant documents three production paths: managed Qdrant Cloud, the community Kubernetes Helm chart, and the enterprise Kubernetes operator offered as part of Qdrant Private Cloud. The Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, so confirm how your team will handle both if you choose it. pgvector has no install path of its own: you enable it on a Postgres server you operate or on a hosted Postgres provider that its README lists. Check that your Postgres version is 13 or later and that your provider offers the extension.

Qdrant installation docs

Storage, scaling and backup

Qdrant cannot run on NFS or S3. It needs block storage with a POSIX-compatible file system, and SSD or NVMe drives are recommended. It scales horizontally through sharding and replication, which you size and monitor as a cluster. pgvector takes on the storage, replication and backup model of the Postgres server it runs in, so index builds and memory use become Postgres capacity questions. Confirm that your existing backup, point-in-time recovery and restore testing cover the vector tables and their indexes.

Qdrant distributed deployment

Access control and identity

A self-deployed Qdrant instance listens on all network interfaces with no authentication configured, so the first steps are admin and read-only API keys, TLS and restricted network exposure. Per-collection read and write permissions through JWT arrived in v1.9.0 and JSON audit logging in v1.17.0, so confirm your version supports both. SSO appears in the Premium cloud tier, so confirm which identity options apply to a self-hosted deployment. pgvector inherits the roles, grants and authentication methods of the Postgres server, so confirm in your environment how vector tables are granted and who can read them.

Qdrant security docs

How the choice flows from data location to deployment

The path starts with one question: must the vectors commit in the same transactions as relational rows? A yes, combined with an existing Postgres operation, leads to pgvector, where the first step is confirming the Postgres server's access controls. Otherwise the path moves to collection size and filter load. Modest workloads can still start on pgvector, while large, filter-heavy collections lead to Qdrant. Whether a single node is enough sets the deployment shape. Before any Qdrant instance is exposed, configure api_key and TLS, because self-deployed instances are not secure by default.

Decision path from transactional needs to the first operational step for each database.

pgvector vs Qdrant feature by feature

This table compares pgvector and Qdrant on license, deployment, search, scaling, security and hosting. Where one product's public documentation is silent on a point, the cell says what to confirm with the vendor instead of guessing. The main takeaway: pgvector fits teams already running PostgreSQL, while Qdrant fits teams that need a dedicated vector engine with built-in API key, JWT and audit controls.

CapabilitypgvectorQdrant
License and latest releasePostgreSQL License; latest release 0.8.7, published October 1, 2026Apache-2.0; latest release v1.19.2, published October 5, 2026
Deployment unitPostgreSQL extension inside a Postgres server you operateStandalone engine you self-host; secure it before first use, since by default it listens on all interfaces with no authentication
Index types, dimensions and distance functionsHNSW and IVFFlat plus exact search; 2,000 dims indexed (halfvec 4,000); L2, inner product, cosine, L1, Hamming, JaccardConfirm index types, dimension limits and distance metrics with Qdrant
Dense, sparse and hybrid searchDense vectors and a sparsevec type; confirm how hybrid ranking is built for your queriesDense, sparse and hybrid search built in
Filtering and scalingSQL predicates on the same tables; confirm filtered search speed and how scaling works for your Postgres setupJSON payload filtering on vectors; horizontal scaling with sharding and replication
Quantization and storage requirementsHalf-precision halfvec and bit types; confirm storage sizing for your indexesBuilt-in quantization, which the project says cuts RAM use by up to 97%; needs block storage and cannot run on network file systems
TLS, API keys and per-collection JWT accessInherits TLS and login controls from your PostgreSQL server; confirm TLS setup and per-table rolesAdmin and read-only API keys; TLS for REST and gRPC since v1.2.0; per-collection JWT since v1.9.0
Audit loggingNot provided by the extension itself; confirm logging through PostgreSQL configurationJSON audit logging of authenticated API operations since v1.17.0
Hosted optionsListed on hosted Postgres providers the project links; confirm vector support on eachPer Qdrant's pricing page, a free single-node tier with 0.5 vCPU, 1 GB RAM and 4 GB disk; Hybrid and Private Cloud priced by sales

What the pgvector license and Qdrant editions include

pgvector is an open-source extension for PostgreSQL, licensed under the PostgreSQL License. Its LICENSE file carries notices for the PostgreSQL Global Development Group and the Regents of the University of California, along with the permissive grant to use, copy, modify and distribute the code. GitHub does not detect this license automatically, so open the LICENSE file yourself and do not rely on the repository label.

  • Free to self-host: the extension carries no license fee. You pay for the Postgres servers, storage, backups and the staff who run them.
  • Version to pin: the README install steps clone tag v0.8.7 and state that the extension supports Postgres 13 and later.
  • Priced through sales: nothing in the license itself. Any support contract comes from a separate vendor, and hosted Postgres providers that offer pgvector set their own terms and prices.
  • Scope of the grant: the license covers pgvector only, not the Postgres server, your operating system or any managed database service around it.
  • Index limits: the vector type can be indexed up to 2,000 dimensions and halfvec up to 4,000 dimensions, so confirm your embedding size fits these limits before you choose an index type.

Check the LICENSE file at the exact tag you deploy, and confirm the terms of any hosted Postgres service with its provider before you compare costs.

What drives the running cost of each

Neither option charges a license fee for the software itself, so running cost comes from the servers, people and support around each one. The cards separate who is paid for what, which costs are one-time and which recur, and what to request in a written quote. Ask every vendor and integrator to price the same written scope before you compare totals.

Infrastructure and storage

pgvector adds cost only through the Postgres cluster you already operate, so the extra spend is memory, CPU and disk on that server. Qdrant runs as its own service and needs SSD or NVMe block storage with a POSIX-compatible file system, because it cannot run on NFS or S3. Compute and disk recur every month, while sizing tests on your own vector count and dimensions are the main one-time work, so ask each quote for the storage class, instance sizing and replica count it assumes.

Qdrant installation docs

Skills and day-two staffing

pgvector staffing mostly means the Postgres skills your team already has, covering backups, replication and extension upgrades on Postgres 13 and later. Qdrant adds a second system to run, and self-deployed instances listen on all interfaces with no authentication configured by default, so someone must own access setup. Initial API key and TLS configuration is one-time work, while monitoring and on-call recur, so ask each quote who configures access, who owns on-call and whether operator training is included.

Qdrant security docs

Support and uptime commitments

Qdrant Cloud publishes uptime commitments: a 99.5% SLA on the usage-priced Standard tier and a 99.9% SLA on Premium, which requires a minimum spend and adds SSO and private VPC links. pgvector is an extension under the PostgreSQL License, so it comes with no vendor uptime commitment, and availability depends on the Postgres service you run or buy. Ask each quote for response times, service credits and who handles incident escalation, since those terms decide your exposure.

Qdrant pricing page

Upgrades and enterprise editions

The community Helm chart for Qdrant lacks zero-downtime upgrades and automatic shard rebalancing, both of which belong to the enterprise Kubernetes operator offered with Qdrant Private Cloud. Qdrant Hybrid Cloud and Private Cloud are both priced through Qdrant sales, so no published figure exists to plan from, and the quote should name the edition it covers. pgvector upgrades follow your Postgres maintenance schedule, with v0.8.7 released on October 1, 2026, so ask what downtime each plan assumes and whether shard rebalancing is part of the edition you buy.

Qdrant distributed deployment

Moving from pgvector to Qdrant, or back, in order

This sequence moves the same vectors, IDs and metadata between pgvector and Qdrant while checking that search results hold up before any traffic moves. It works in either direction and ends with a retired source store and a documented rollback. Each step closes with a check the team can record, so security and compliance owners can review the move.

  1. Inventory collections, dimensions and distance metric

    The platform owner lists every pgvector table with a vector column, or every Qdrant collection, and records its name, embedding model, vector dimensions, distance metric, payload fields and index type. Dimensions and metric must match the embedding model's output and the distance function the application uses, because a mismatch returns results that look plausible but are wrong. pgvector indexes the vector type up to 2,000 dimensions, so confirm that no column needs more. Done when the application owner signs off the inventory and every collection has a named owner.

  2. Map IDs and metadata fields

    Decide how each source primary key becomes a Qdrant point ID and which columns become payload fields. Confirm the ID types the target version accepts before writing any migration code. Keep the original key in the payload so every result can be traced back to its source row. Vectors, IDs and metadata transfer with the data; indexes, filters and access rules do not. Done when a sample of rows round-trips into a test collection with identical IDs and field values.

  3. Choose target collection settings

    Set the Qdrant collection parameters from the inventory: vector size, distance metric, sharding and replication, quantization, on-disk storage and payload indexes for every field used in filters. Qdrant needs block-level storage on a POSIX-compatible file system and does not run on NFS or S3, so confirm the volume type before provisioning. Choose the deployment path with the same care: the community Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing. Done when the settings are written into the deployment record and reviewed by the platform team.

  4. Reload vectors from the source of truth

    Load Qdrant from the system of record, meaning the document store or application database that produced the embeddings. Copying only the pgvector table carries forward any stale or deleted rows. If the embedding model or dimensions change, the reload includes re-embedding, which adds compute and time. Ask the integrator to state these costs in the written scope. Done when point counts per collection match source row counts and a spot check of stored vectors matches the source.

  5. Translate SQL filters into payload filters

    List every WHERE clause the application sends with vector queries, including tenant, date, status and permission conditions, and write its Qdrant payload filter equivalent. Illustrative example: a clause that matches one tenant_id and one status becomes a must condition on those two payload fields. Ownership and tenancy filters carry the most risk, so test them with users who should see no results. Done when every production filter has a written translation and a test that returns the expected rows.

  6. Run both stores and compare results

    Send the same fixed test set of queries to pgvector and Qdrant in parallel, with identical filters and top-k values, and log the returned IDs. Approximate indexes can return slightly different neighbors, so measure overlap in the top results and review each miss with the application owner. Record the overlap threshold the team accepts before the test starts. Done when every collection meets the agreed threshold and the differences are documented.

  7. Cut over with a tested rollback path

    Switch the application's read path to Qdrant behind a configuration flag, and keep writes going to both stores for an agreed window. Configure API keys and TLS before any traffic moves, because a default self-deployed Qdrant instance listens on all network interfaces without authentication. Confirm per-collection permissions and audit logging for the version in use. Done when a test user can reach only permitted collections and the rollback flag has been exercised successfully.

  8. Retire the old store after verification

    When the agreed window closes, stop writes to the old store, take a final backup and remove the vector columns and indexes only after the rollback period ends. Qdrant snapshots are the documented backup path, and the team should confirm how they behave for the version in use before relying on them. Backup schedules, monitoring, alerting and access control are rebuilt for the new store and do not carry over automatically. Done when the backup restore has been tested and the runbook names an owner for each rebuilt item. See the Qdrant snapshots documentation for the backup steps.

Where pgvector and Qdrant projects usually run long

pgvector projects usually run long because schema and index decisions get made before anyone has measured the data. The vector column fixes its dimension, so the embedding model you choose sets the column type, and switching models later means re-embedding every row and altering the table. Start with exact search, which pgvector supports by default, and measure whether it meets your latency needs at your row count before adding an index. If you add one, choose between HNSW and IVFFlat, then tune the index parameters on a query set drawn from your own documents, measuring recall and latency together. Watch the dimension ceiling too: the vector type can be indexed up to 2,000 dimensions, while the halfvec type can be indexed up to 4,000 dimensions. Check your model's output size against those limits before creating the table.

Qdrant projects usually run long on cluster topology, which has to be settled before the first collection holds production data. The README describes horizontal scaling through sharding and replication, so decide the node count, the shard layout for each collection and the replication factor now, then test how the cluster behaves when one node is lost. Storage is the second decision. Qdrant needs block-level storage with a POSIX-compatible file system and cannot run on network file systems such as NFS or on object storage such as S3, so plan for local SSD or NVMe volumes. Ask your platform team to confirm the storage class behind each node before loading data, because changing it later means moving collections across hardware.

Secure the instance before any network path reaches it. By default, every self-deployed Qdrant instance listens on all network interfaces with no authentication configured, so anything that can route to the node can call the API. Create an admin API key and a read-only key, and enable TLS for REST and gRPC, both supported since v1.2.0. The Qdrant security documentation covers the setup. Use the JWT-based access control added in v1.9.0 when different services need per-collection read or write permissions, and confirm your deployed version includes the JSON audit logging added in v1.17.0. Then choose the deployment path: managed Qdrant Cloud, the community-supported Helm chart, or the enterprise Kubernetes operator that is part of Qdrant Private Cloud. The Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, so get written confirmation from the maintainer or vendor of whichever path you pick about the features you need.

pgvector vs Qdrant questions buyers ask before hiring help

What does it cost to run pgvector versus Qdrant yourself?

Both engines are free to self-host, so your recurring bill is infrastructure, staff time and any paid support, not a software license. Qdrant's open-source engine is Apache-2.0 licensed, and pgvector is under the PostgreSQL License. For pgvector, the main cost drivers are the Postgres servers you already operate, the memory needed for HNSW indexes on large vector columns, and backup storage. For Qdrant, the drivers are the nodes needed for sharding and replication, SSD or NVMe block storage, and RAM, where built-in quantization can reduce memory use (the Qdrant README claims up to 97%). Setup labor is one-time, while hardware, storage, backups and operating time recur. Qdrant Cloud, Hybrid Cloud and Private Cloud are priced through sales, so ask for a quote that lists node count, storage, backups and support as separate lines.

How long does a pgvector or Qdrant implementation take?

The timeline follows from the written scope, and no duration applies until that scope is agreed. The main factors are how many tables or collections hold vectors, the embedding dimensions (pgvector indexes vector columns up to 2,000 dimensions and halfvec up to 4,000), how many data sources must sync, and whether the Postgres or Qdrant cluster already exists. A Qdrant build adds decisions on sharding, replication, storage class and the production path, whether managed, community Helm chart or enterprise operator. The Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, which can change the work. DeployOpen runs fixed-scope engagements, with scope, deliverables and timelines agreed in writing before work starts. Ask for a timeline tied to named deliverables and to the access and environment dependencies that you control.

What does the internal team need to provide for this work?

Your team provides access, decisions and sign-off, and someone must own the database or cluster after go-live. Expect to supply cloud or data center access, network rules, source data and its owners, and identity contacts for SSO and role mapping. For pgvector, a DBA or platform owner should manage Postgres upgrades, extension versions (the pgvector README says it supports Postgres 13 and later) and restore tests. For Qdrant, an owner should manage block-level storage, since it cannot run on NFS or S3, along with API key and JWT access rules and the upgrade path. Name these owners in the written scope, and ask DeployOpen to document the runbooks it hands over so the knowledge stays in your team.

Can a team that already runs Postgres operate pgvector alone?

For modest workloads, often yes, but confirm the vector-specific work before assuming it. pgvector runs inside a Postgres server your organization operates, so backups, replication, roles and monitoring stay in tools your database team already uses. The gaps are specific to vectors. Exact search is the default, HNSW and IVFFlat indexes are approximate and need tuning and memory planning, and index builds on large tables can be heavy. Check whether your team has tested index rebuilds, query plans for filtered vector queries and extension upgrades on a copy of production data. If you later add Qdrant, you add a second system with its own sharding, replication and API key model. Ask for a scope covering the pgvector setup, handover and a test of it if your team wants outside support.

Does Qdrant SSO require the Premium tier for self-hosted setups?

The public pricing page ties SSO to the Premium tier of Qdrant Cloud, which carries a minimum spend, so do not assume the same entitlement applies to a self-hosted engine. The open-source engine supports admin and read-only API keys, TLS for REST and gRPC, and JWT-based per-collection read or write permissions, and those controls are separate from SSO federation with your identity provider. Before you design around SSO, ask Qdrant in writing which tier, deployment model (open source, Hybrid Cloud, Private Cloud or Cloud) and license terms include SSO, and how it is delivered. Also confirm the baseline settings, because self-deployed instances listen on all network interfaces with no authentication by default. Network restriction and key configuration are part of the setup either way.

How should a Qdrant or pgvector deployment be tested before go-live?

Test recall, latency, access control, backup restore and upgrade behavior against your own data before any user depends on it. For pgvector, run exact and approximate queries on the same sample, compare recall at the index settings you plan to use, and check filtered queries that combine vector distance with ordinary SQL predicates. For Qdrant, confirm that the unauthenticated default is closed, that read-only keys or JWT scopes block write calls, that TLS is enabled, and that a snapshot restores onto a clean node. If you run replicas, test failover, and send audit logs to your monitoring stack. Ask for the test plan in the written scope, with pass criteria, a retest after fixes and the configuration review included.

Is moving from pgvector to Qdrant, or back, reversible?

Usually yes, but the effort depends on how vectors, payloads and query code are exported, re-embedded and validated. Vectors and metadata can be exported from Postgres and loaded into Qdrant, and the reverse works if you keep the source table and embedding pipeline intact. Keep the source of truth for documents in its original system, so you can regenerate vectors if the embedding model or index settings change. Qdrant documents snapshots for backup and restore, and you should test that process before relying on it for a move. The effort often sits in rewriting payload filter logic, replacing SQL joins that run against pgvector, and reindexing time. Ask for the migration steps and a rollback plan in the written scope before work starts.

How DeployOpen helps choose, implement or migrate

DeployOpen is a Chainscore Labs company that plans, implements, integrates, hardens, backs up and documents self-hosted open-source platforms inside your own infrastructure. For pgvector vs Qdrant, that means helping you decide where vector search belongs in your Postgres estate or a dedicated engine, then building and handing over the chosen option under written scope.

How we scope

  • Written scope that names the pgvector or Qdrant deployment, data sets, users and integrations in scope.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Decision inputs we confirm first: existing Postgres estate, expected vector volume, query patterns, filtering needs and team skills.

How we build

  • Install and configure pgvector on a Postgres server you operate, or deploy Qdrant on block storage you control.
  • Set access controls: Qdrant API keys, TLS and per-collection permissions, or Postgres roles and network rules for pgvector.
  • Connect the application and embedding pipeline to the chosen store, with functional tests against your own data.

How we hand over

  • Documentation of the deployed architecture, configuration, access model, backup and upgrade procedure for your team.
  • Backup set up and documented, including Postgres dumps for pgvector or Qdrant snapshots for the vector engine.
  • Migration notes if you later move between the two, covering export format, index rebuild and downtime, confirmed on your data.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrade planning starts from the versions you run, compared with releases such as pgvector 0.8.7 and Qdrant 1.19.2.
  • Security testing of the deployed setup can be added, covering access, exposed interfaces and API behavior.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.