Searching for suiting index - Mailing list pgsql-general

From Janek Sendrowski
Subject Searching for suiting index
Date
Msg-id trinity-d47d9fd0-e385-4df9-8218-c0c590a9e891-1385934067806@3capp-webde-bs38
Whole thread Raw
List pgsql-general
Hi,
 
I store around 300 bits the row in my table. Every bit is a boolean values on its own.
I want to do a similarity search by comparing each bit and get every row which has a certain number of equal bits.
What kind of index could be useful for scenario?
Could it make sense to calculate a kind of hashvalue for each row to filter the rows dirty at first.
 
Thank you for your help
Janek Sendrowski


pgsql-general by date:

Previous
From: Tjibbe
Date:
Subject: Re: Fwd: row_to_json() with numerical indices in stead of associative indices
Next
From: Spiros Ioannou
Date:
Subject: While only running pg_dump, postgresql performs writes inside base/ directory. How can we stop this?