MySQL Forums
Forum List  »  Portuguese

Melhor maneira de pesquisa.
Posted by: Tiago Neves
Date: August 02, 2008 06:50PM

Ola,

Existe diferencia na maneira de pesquisa da WHERE? Por exemplo:

Se tenho um índice, devo forçar primeiramente a busca deste? Por exemplo:

...WHERE ((`TalIndice`='Procuranoindice') AND `Campo2`='blabla AND Campo3='Blabla')

Isso Faz diferença?

Porque teoricamente ele vai conseguir achar o índice primeiro e depois o resto o que traria uma resposta mais rápida, ou o Serviço ja trabalha procurando primeiramente os indices???

Um grande abraço.

Tiago

Options: ReplyQuote


Subject
Views
Written By
Posted
Melhor maneira de pesquisa.
4437
August 02, 2008 06:50PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.