I have 2 tables with the same column (table A for a kind of product, table B for another type..) with 10k of rows per tables
I have 2 questions:
q1) How can I have the best performance in a SELECT query? with SELECT UNION ... or it's better to have a single table, with another column (type) and write a query like: SELECT ... WHERE... AND type='A' ?
q2) in the table I have a column named "object", and the medium lenght of the content in the rows is 160 character How can I have the best performance in a SELECT query? With a columntype VARCHAR (index) or with a TEXT ?
Thank You for suggestion and sorry for my english !