Q6 PostgreSQL Domain 2 · 25–30% of exam

What does the pgvector HALFVEC type provide compared to VECTOR?

  1. A Support for binary quantized vectors
  2. B Half-precision (16-bit float) storage, halving memory use for embeddings (correct answer)
  3. C Integer quantization
  4. D Sparse vector support

Shortcut: HALFVEC stores embeddings as 16-bit floats (FP16) instead of 32-bit, halving storage and memory requirements with minimal impact on similarity search quality.