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

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

python - More Issues with overlapping labels in Tkinter -