I need advise on how to speed up queries from a large table (MySQL 5.5 INNODB). I believe the problem is my primary key consists of strings and sorting the data is taking a long time and my queries don't return in a reasonable time. I am using only primary keys that are indexed in the conditions of my query. The table is currently ~5 million lines and ~50 colunms which are primarily strings and timestamps (it's metadata for all of the other tables). Will an auto index integer primary key help or changing the database engine?
↧