index 'enabled' fields good idea?

Posted by sibidiba on Stack Overflow See other posts from Stack Overflow or by sibidiba
Published on 2010-05-28T17:08:27Z Indexed on 2010/05/28 17:12 UTC
Read the original article Hit count: 306

Content of a website is stored in a MySQL database. 99% of the content will be enabled, but some (users, posts etc.) will be disabled. Most of the queries end as WHERE (...) AND enabled

Is it a good idea to create an index on the field 'enabled'?

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about database-design