Put indexes on a table with lots of BOOL/TINYINT?

Posted by John Tyler on Stack Overflow See other posts from Stack Overflow or by John Tyler
Published on 2010-06-13T23:03:19Z Indexed on 2010/06/13 23:12 UTC
Read the original article Hit count: 241

Filed under:
|
|

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.

© Stack Overflow or respective owner

Related posts about sql

Related posts about mysql