Use GIN to index bit strings
-
31-10-2019 - |
質問
I'm trying to extend PostgreSQL to index bit strings up to 1000 bits. (These bit strings are created by quantization of high-dimensional vectors, so for each dimension up to 4 bits are assigned). Insertions are rather infrequent, whereas searches are the mostly used operation. In a search, I would like to get all the rows that exactly match the bit string.
It looks like a perfect job for GIN (in combination with my own data type), or what do you think?
正しい解決策はありません
所属していません dba.stackexchange