I have a database design in which I have aprox. 5 entities that can be filtered. Currently these tables all have their own filter table, e.g. the product table has a productfilter table and the customer has a customerfilter table.
I have done some research since performance (as in speed to query the db) is the most important quality attribute, I am wondering whether having a single filter table and connecting the entities that rely on it with junction tables is a better option?
Important side note the filters would only ever be joined from the Customer or Product entities when using the junction tables.
Edit:
1: Without junction tables
2: With junction tables