yaaay
10-09-2007, 05:04 AM
...columns are not used? I have these two tables:
books_large(Title, ISBN, Author, useless_field1, useless_field2, ..., useless_field20)
books_small(Title, ISBN, Author)
They both have the same books (let's say, all the books from a given bookstore), but books_large has a lot of useless fields like "short_description", "number_of_pages" or "average_rating". My question is the following:
Does this query: "SELECT Title,ISBN,Author FROM my_table WHERE MATCH Title AGAINST ('some keywords')" perform better in books_small than in books_large?
Aren't databases built in a way that it doesn't make a difference? Please tell me what you know and tell me how sure you are about your answer. Thanks a lot.
books_large(Title, ISBN, Author, useless_field1, useless_field2, ..., useless_field20)
books_small(Title, ISBN, Author)
They both have the same books (let's say, all the books from a given bookstore), but books_large has a lot of useless fields like "short_description", "number_of_pages" or "average_rating". My question is the following:
Does this query: "SELECT Title,ISBN,Author FROM my_table WHERE MATCH Title AGAINST ('some keywords')" perform better in books_small than in books_large?
Aren't databases built in a way that it doesn't make a difference? Please tell me what you know and tell me how sure you are about your answer. Thanks a lot.