# What is IVF-PQ? Definition and meaning

Partitions vectors into clusters and compresses them with product quantization to save memory.

## Definition

**IVF-PQ**: Partitions vectors into clusters and compresses them with product quantization to save memory.

In short: Inverted file index with product quantization.

## When it is used

Large-scale search where memory is the constraint.

## Where it fits

IVF-PQ belongs to **Vector indexes** in the [Generative AI and LLMs](/topics/generative-ai-llms) topic. These are the other terms in the same group:

- **[ScaNN](/glossary/scann)**: A library that uses anisotropic quantization to give accurate maximum-inner-product search.
- **[DiskANN](/glossary/diskann)**: A graph-based index designed to serve very large vector collections from disk with low memory.

## Learn more

The full guide to **[IVF-PQ](/tools/ivf-pq)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [Isolation forest](/glossary/isolation-forest) · Next term: [JAX](/glossary/jax)
