MySQL Forums
Forum List  »  Newbie

Re: Where and Case sensitivity
Posted by: Joey JJ
Date: August 04, 2014 06:55PM

Thanks Rick,
I don't think I had fully understood utf8_unicode_ci then, I assumed that it removed the ability to store case sensitive strings.
I suppose this is why this is the Newbie section - but then I didn't test this assumption either!

If I could just expand on two points to hopefully gain some more guidance?

1. The temporary table (t_CurrentKeywords) exists because there will eventually be
millions of rows in the initial Extracted table (ExtractedWordsToMatch).
However these will be inserted ~1-2,000 per time.
So would you suggest that I perhaps Index ExtractedWordsToMatch.word prior to insert and then skip out the whole Temp table?

2. The extracted words will contain many duplicates. I was using DISTINCT to remove these, so I guess that makes the WHERE EXISTS function redundant anyway.
Would the JOIN work faster still without the distinct?
I don't want the matching to be case sensitive, so I'll use utf8_unicode_ci. I just want the text returned in the format as was set in OfficialWordList.word


Thanks again

Joey

Options: ReplyQuote


Subject
Written By
Posted
August 02, 2014 02:33AM
August 02, 2014 01:11PM
August 04, 2014 12:31AM
August 04, 2014 01:17PM
Re: Where and Case sensitivity
August 04, 2014 06:55PM
August 05, 2014 12:21AM
August 06, 2014 02:12AM
August 06, 2014 06:50PM
August 07, 2014 05:00AM


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.