Before revision:  A common approach is to rely on Product Quantization that allows storing large vector databases in memory and also allows efficient distance computations.
After revision:  A common approach is to rely on Product Quantization , which allows the storage of large vector databases in memory and also allows efficient distance computations.