MySQL Forums
Forum List  »  Newbie

Re: query performance
Posted by: Nick Roper
Date: August 10, 2004 10:11AM

Hi,

It would take some time to analyse and optimise the query, but one immediate observation is the use of :

AND artnr LIKE '%303%' OR artikel.name LIKE '%303%'

this is going to have an impact as the optimiser can't use indexes on strings that cantain an initial % character.

--
Nick Roper

Options: ReplyQuote


Subject
Written By
Posted
August 10, 2004 10:04AM
Re: query performance
August 10, 2004 10:11AM
August 10, 2004 10:17AM


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.