---
title: "Compression"
description: "Uncompressed vectors can be large. Compressed vectors lose some information, but they use fewer resources and can be very cost effective."
url: https://docs.weaviate.io/weaviate/configuration/compression
---

# Compression

Uncompressed vectors can be large. Compressed vectors lose some information, but they use fewer resources and can be very cost effective.

## Vector quantization

To balance resource costs and system performance, consider one of these options:

- **[Rotational Quantization (RQ)](https://docs.weaviate.io/weaviate/configuration/compression/rq-compression)** (*recommended*)
- **[Product Quantization (PQ)](https://docs.weaviate.io/weaviate/configuration/compression/pq-compression)**
- **[Binary Quantization (BQ)](https://docs.weaviate.io/weaviate/configuration/compression/bq-compression)**
- **[Scalar Quantization (SQ)](https://docs.weaviate.io/weaviate/configuration/compression/sq-compression)**

You can also [disable quantization](https://docs.weaviate.io/weaviate/configuration/compression/uncompressed) for a collection.

> [!NOTE]
>
> **Compression by Default**
>
> Starting with `v1.33`, you can set a default quantization for new collections using the [`DEFAULT_QUANTIZATION`](https://docs.weaviate.io/deploy/configuration/env-vars#DEFAULT_QUANTIZATION) environment variable. This variable is not set by default, meaning no quantization is applied unless you explicitly configure it. When set (e.g., to 8-bit [RQ quantization](https://docs.weaviate.io/weaviate/configuration/compression/rq-compression)), all newly created collections will use that quantization setting. Note that once set on a collection, quantization can't be disabled. Default quantization won't be applied to a collection if the index type isn't supported (for example PQ and SQ aren't supported for the flat index).

## Multi-vector encoding

Aside from quantization, Weaviate also offers encodings for multi-vector embeddings:

- **[MUVERA encoding](https://docs.weaviate.io/weaviate/configuration/compression/multi-vectors)**
