Put indexes on a table with lots of BOOL/TINYINT?
- by John Tyler
An old mentor once told me to place indexes on most things you use a WHERE clause for.
Should I put an index on BOOL/TINYINT's? There is a significant amount of them in the table I am working with, and often results are filtered by anywhere from 1-20 of these boolean conditions.