I'm designing a site based around movies, and I have a search box with the Google style Ajax suggestion built in. It pulls the movie title from a database called "movies" as users type. The SQL search query uses "like %$title%" so it's searching on both the front and back end of the entered text, so typing "The" will also return "Indiana Jones And The Temple Of Doom", not sure if that's significant. The database "movies" also has tons of other data in it besides just the title, such as movie_id, year, genre, synopsis, etc. etc.
Would it be faster to create a second table called "movie_titles" that was nothing but the titles for the Ajax to search through, or would it not really make a noticeable difference in speed?
Would it be faster to create a second table called "movie_titles" that was nothing but the titles for the Ajax to search through, or would it not really make a noticeable difference in speed?