I have a wide table with 210 columns (This might be a bad structure but all data is needed every time). There is a primary type index for the primary key.
Now when I do select * from my single table without any condition. It results in a full table scan.
It says the following:
no useable indexes were found for the table
This also means the search range is so broad that the index is useless.
What could I do to avoid this full table scan?
Note: I need all the information every time so breaking the table will result in less performance..!
I am new to MySQL. So help would be appreciated. Thanks..!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…