mysql - Using an index when searching by two columns -


i have large table from fetch data. data received using comparison of 2 columns, , b. there should not many rows match a.

i want add index better performance. question need set index on both , b or enough set index on a?

you can refer link better indexing.

http://www.programmerinterview.com/index.php/database-sql/what-is-an-index/


Comments

Popular posts from this blog

c++ - OpenMP unpredictable overhead -

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

javascript - Wordpress slider, not displayed 100% width -