|
In MYSQL prior to Ver 5 VARCHAR columns with a length greater than 255 are converted to the smallest text column type that will hold the data.
So VARCHAR(300) may well be converted to a TEXT type anyway.
For the "keywords" data, it would be a better idea to use a "normalised" structure to avoid massive duplication and wasted storage.
using an inverted index data storage as the model, you would have one table holding all the keywords and an ID number and a table holding the document IDs and the keyword IDs that go with the document.
You would then have a JOIN query to pull up the keywords for any given document.
It also makes it simple to do the reverse, and pull up all documents that are linked to a particular keyword.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|